Query time 0.00223
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "191.41"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "33.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": 33,
"rows_produced_per_join": 33,
"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 (309590,372040,381634,432460,432472,432475,432478,432481,432484,432487,432490,432493,432462,432463,432541,432542,432547,432550,432543,432544,432589,432590,432595,432593,432594,432449,432515,432518,432521,432522,432523,432419,432524)))",
"cost_info": {
"read_cost": "72.61",
"eval_cost": "6.60",
"prefix_cost": "79.21",
"data_read_per_join": "3K"
},
"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": 33,
"filtered": "100.00",
"cost_info": {
"read_cost": "33.00",
"eval_cost": "6.60",
"prefix_cost": "118.81",
"data_read_per_join": "25K"
},
"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": 33,
"filtered": "100.00",
"cost_info": {
"read_cost": "33.00",
"eval_cost": "6.60",
"prefix_cost": "158.41",
"data_read_per_join": "19K"
},
"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 |
IMG_5705.JPG |
810 |
1080 |
N |
2968863 |
309590 |
product |
944083 |
M |
0 |
|
944083 |
0 |
37.JPG |
2268 |
3024 |
N |
3141470 |
372040 |
product |
1023966 |
M |
0 |
|
1023966 |
0 |
24,90_1.JPG |
2104 |
2135 |
N |
3194194 |
381634 |
product |
1055938 |
M |
0 |
|
1055938 |
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__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 |