Query time 0.00256
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "382.81"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "66.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": [
"object_id"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 66,
"rows_produced_per_join": 66,
"filtered": "100.00",
"index_condition": "((`webmarco`.`cscart_images_links`.`object_type` = 'product') and (`webmarco`.`cscart_images_links`.`type` = 'M') and (`webmarco`.`cscart_images_links`.`object_id` in (432460,432472,432475,432478,432481,432484,432487,432490,432493,432462,432463,432541,432542,432547,432550,432543,432544,432589,432590,432595,432593,432594,432333,432346,432350,432351,432352,432449,432515,432518,432521,432522,432523,432419,432524,432668,432669,432670,432671,432642,432645,432643,432644,432652,432660,432661,432662,432353,432356,432358,432355,432320,432332,432688,432689,432694,432695,432251,432259,432262,432265,432266,432673,432677,432679,432683)))",
"cost_info": {
"read_cost": "145.21",
"eval_cost": "13.20",
"prefix_cost": "158.41",
"data_read_per_join": "6K"
},
"used_columns": [
"pair_id",
"object_id",
"object_type",
"image_id",
"detailed_id",
"type",
"position"
]
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"image_id"
],
"key_length": "4",
"ref": [
"webmarco.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 66,
"filtered": "100.00",
"cost_info": {
"read_cost": "66.00",
"eval_cost": "13.20",
"prefix_cost": "237.61",
"data_read_per_join": "50K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res"
]
}
},
{
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"lang_code",
"object_holder"
],
"key_length": "108",
"ref": [
"webmarco.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 66,
"filtered": "100.00",
"cost_info": {
"read_cost": "66.00",
"eval_cost": "13.20",
"prefix_cost": "316.81",
"data_read_per_join": "39K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
]
}
}
]
}
}
}
Result
image_id |
image_path |
image_x |
image_y |
is_high_res |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
0 |
Untitled_design__7_.png |
600 |
600 |
N |
3872602 |
432251 |
product |
1543917 |
M |
0 |
|
1543917 |
0 |
Untitled_design__9_.png |
600 |
600 |
N |
3872743 |
432320 |
product |
1543946 |
M |
0 |
|
1543946 |
0 |
Untitled_design__9_.png |
600 |
600 |
N |
3872779 |
432332 |
product |
1543946 |
M |
0 |
|
1543946 |
0 |
Untitled_design__11_.png |
600 |
600 |
N |
3872780 |
432333 |
product |
1543948 |
M |
0 |
|
1543948 |
0 |
Untitled_design__11_.png |
600 |
600 |
N |
3872825 |
432346 |
product |
1543948 |
M |
0 |
|
1543948 |
0 |
Untitled_design__11_.png |
600 |
600 |
N |
3872829 |
432350 |
product |
1543948 |
M |
0 |
|
1543948 |
0 |
Untitled_design__11_.png |
600 |
600 |
N |
3872830 |
432351 |
product |
1543948 |
M |
0 |
|
1543948 |
0 |
Untitled_design__11_.png |
600 |
600 |
N |
3872831 |
432352 |
product |
1543948 |
M |
0 |
|
1543948 |
0 |
Untitled_design__13_.png |
600 |
600 |
N |
3872832 |
432353 |
product |
1543953 |
M |
0 |
|
1543953 |
0 |
Untitled_design__14_.png |
600 |
600 |
N |
3872838 |
432356 |
product |
1543954 |
M |
0 |
|
1543954 |
0 |
Untitled_design__13_.png |
600 |
600 |
N |
3872842 |
432355 |
product |
1543953 |
M |
0 |
|
1543953 |
0 |
Untitled_design__13_.png |
600 |
600 |
N |
3872845 |
432358 |
product |
1543953 |
M |
0 |
|
1543953 |
0 |
Untitled_design__20_.png |
600 |
600 |
N |
3872973 |
432419 |
product |
1543970 |
M |
0 |
|
1543970 |
0 |
Untitled_design__22_.png |
600 |
600 |
N |
3873036 |
432449 |
product |
1543973 |
M |
0 |
|
1543973 |
0 |
Untitled_design__23_.png |
600 |
600 |
N |
3873065 |
432460 |
product |
1543978 |
M |
0 |
|
1543978 |
0 |
Untitled_design__23_.png |
600 |
600 |
N |
3873069 |
432462 |
product |
1543978 |
M |
0 |
|
1543978 |
0 |
Untitled_design__23_.png |
600 |
600 |
N |
3873070 |
432463 |
product |
1543978 |
M |
0 |
|
1543978 |
0 |
Untitled_design__23_.png |
600 |
600 |
N |
3873095 |
432472 |
product |
1543978 |
M |
0 |
|
1543978 |
0 |
Untitled_design__23_.png |
600 |
600 |
N |
3873098 |
432475 |
product |
1543978 |
M |
0 |
|
1543978 |
0 |
Untitled_design__23_.png |
600 |
600 |
N |
3873101 |
432478 |
product |
1543978 |
M |
0 |
|
1543978 |
0 |
Untitled_design__23_.png |
600 |
600 |
N |
3873104 |
432481 |
product |
1543978 |
M |
0 |
|
1543978 |
0 |
Untitled_design__23_.png |
600 |
600 |
N |
3873107 |
432484 |
product |
1543978 |
M |
0 |
|
1543978 |
0 |
Untitled_design__23_.png |
600 |
600 |
N |
3873110 |
432487 |
product |
1543978 |
M |
0 |
|
1543978 |
0 |
Untitled_design__23_.png |
600 |
600 |
N |
3873113 |
432490 |
product |
1543978 |
M |
0 |
|
1543978 |
0 |
Untitled_design__23_.png |
600 |
600 |
N |
3873116 |
432493 |
product |
1543978 |
M |
0 |
|
1543978 |
0 |
Untitled_design__22_.png |
600 |
600 |
N |
3873169 |
432515 |
product |
1543973 |
M |
0 |
|
1543973 |
0 |
Untitled_design__22_.png |
600 |
600 |
N |
3873172 |
432518 |
product |
1543973 |
M |
0 |
|
1543973 |
0 |
Untitled_design__22_.png |
600 |
600 |
N |
3873175 |
432521 |
product |
1543973 |
M |
0 |
|
1543973 |
0 |
Untitled_design__22_.png |
600 |
600 |
N |
3873176 |
432522 |
product |
1543973 |
M |
0 |
|
1543973 |
0 |
Untitled_design__20_.png |
600 |
600 |
N |
3873177 |
432523 |
product |
1543970 |
M |
0 |
|
1543970 |
0 |
Untitled_design__20_.png |
600 |
600 |
N |
3873178 |
432524 |
product |
1543970 |
M |
0 |
|
1543970 |
0 |
Untitled_design__26_.png |
600 |
600 |
N |
3873200 |
432541 |
product |
1543991 |
M |
0 |
|
1543991 |
0 |
Untitled_design__33_.png |
600 |
600 |
N |
3873316 |
432589 |
product |
1544022 |
M |
0 |
|
1544022 |
0 |
Untitled_design__32_.png |
600 |
600 |
N |
3873317 |
432590 |
product |
1544021 |
M |
0 |
|
1544021 |
0 |
Untitled_design__33_.png |
600 |
600 |
N |
3873328 |
432593 |
product |
1544022 |
M |
0 |
|
1544022 |
0 |
Untitled_design__33_.png |
600 |
600 |
N |
3873329 |
432594 |
product |
1544022 |
M |
0 |
|
1544022 |
0 |
Untitled_design__31_.png |
600 |
600 |
N |
3873338 |
432595 |
product |
1544020 |
M |
0 |
|
1544020 |
0 |
Untitled_design__38_.png |
600 |
600 |
N |
3873496 |
432642 |
product |
1544030 |
M |
0 |
|
1544030 |
0 |
Untitled_design__38_.png |
600 |
600 |
N |
3873503 |
432643 |
product |
1544030 |
M |
0 |
|
1544030 |
0 |
Untitled_design__38_.png |
600 |
600 |
N |
3873504 |
432644 |
product |
1544030 |
M |
0 |
|
1544030 |
0 |
Untitled_design__38_.png |
600 |
600 |
N |
3873505 |
432645 |
product |
1544030 |
M |
0 |
|
1544030 |
0 |
Untitled_design__40__21st-6m.png |
600 |
600 |
N |
3873511 |
432542 |
product |
1544035 |
M |
0 |
|
1544035 |
0 |
Untitled_design__40__myed-rj.png |
600 |
600 |
N |
3873514 |
432543 |
product |
1544038 |
M |
0 |
|
1544038 |
0 |
Untitled_design__40__8q9j-qu.png |
600 |
600 |
N |
3873517 |
432544 |
product |
1544041 |
M |
0 |
|
1544041 |
0 |
Untitled_design__39__hj4x-zw.png |
600 |
600 |
N |
3873522 |
432547 |
product |
1544046 |
M |
0 |
|
1544046 |
0 |
Untitled_design__41__i95o-vg.png |
600 |
600 |
N |
3873529 |
432550 |
product |
1544053 |
M |
0 |
|
1544053 |
0 |
Untitled_design__44_.png |
600 |
600 |
N |
3873548 |
432652 |
product |
1544069 |
M |
0 |
|
1544069 |
0 |
Untitled_design__44_.png |
600 |
600 |
N |
3873568 |
432660 |
product |
1544069 |
M |
0 |
|
1544069 |
0 |
Untitled_design__44_.png |
600 |
600 |
N |
3873569 |
432661 |
product |
1544069 |
M |
0 |
|
1544069 |
0 |
Untitled_design__44_.png |
600 |
600 |
N |
3873570 |
432662 |
product |
1544069 |
M |
0 |
|
1544069 |
0 |
Untitled_design__45__d4h4-nq.png |
600 |
600 |
N |
3873581 |
432668 |
product |
1544082 |
M |
0 |
|
1544082 |
0 |
Untitled_design__45__d4h4-nq.png |
600 |
600 |
N |
3873582 |
432669 |
product |
1544082 |
M |
0 |
|
1544082 |
0 |
Untitled_design__45__d4h4-nq.png |
600 |
600 |
N |
3873583 |
432670 |
product |
1544082 |
M |
0 |
|
1544082 |
0 |
Untitled_design__45__d4h4-nq.png |
600 |
600 |
N |
3873584 |
432671 |
product |
1544082 |
M |
0 |
|
1544082 |
0 |
Untitled_design__46__uila-ej.png |
600 |
600 |
N |
3873587 |
432673 |
product |
1544085 |
M |
0 |
|
1544085 |
0 |
Untitled_design__46__uila-ej.png |
600 |
600 |
N |
3873594 |
432677 |
product |
1544085 |
M |
0 |
|
1544085 |
0 |
Untitled_design__47_.png |
600 |
600 |
N |
3873597 |
432679 |
product |
1544088 |
M |
0 |
|
1544088 |
0 |
Untitled_design__47_.png |
600 |
600 |
N |
3873604 |
432683 |
product |
1544088 |
M |
0 |
|
1544088 |
0 |
Untitled_design__48_.png |
600 |
600 |
N |
3873613 |
432688 |
product |
1544091 |
M |
0 |
|
1544091 |
0 |
Untitled_design__48_.png |
600 |
600 |
N |
3873614 |
432689 |
product |
1544091 |
M |
0 |
|
1544091 |
0 |
Untitled_design__49_.png |
600 |
600 |
N |
3873623 |
432694 |
product |
1544094 |
M |
0 |
|
1544094 |
0 |
Untitled_design__49_.png |
600 |
600 |
N |
3873624 |
432695 |
product |
1544094 |
M |
0 |
|
1544094 |