Query time 0.00213
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "203.01"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "35.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": 35,
"rows_produced_per_join": 35,
"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 (432251,432259,432262,432265,432266,432320,432332,432333,432346,432350,432351,432352,432353,432356,432358,432355,432449,432515,432518,432521,432522,432460,432472,432475,432478,432481,432484,432487,432490,432493,432462,432463,432523,432419,432524)))",
"cost_info": {
"read_cost": "77.01",
"eval_cost": "7.00",
"prefix_cost": "84.01",
"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": 35,
"filtered": "100.00",
"cost_info": {
"read_cost": "35.00",
"eval_cost": "7.00",
"prefix_cost": "126.01",
"data_read_per_join": "26K"
},
"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": 35,
"filtered": "100.00",
"cost_info": {
"read_cost": "35.00",
"eval_cost": "7.00",
"prefix_cost": "168.01",
"data_read_per_join": "20K"
},
"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 |