Query time 0.00129
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "26.41"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "11.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": 11,
"rows_produced_per_join": 11,
"filtered": "100.00",
"index_condition": "((`gaseus`.`cscart_images_links`.`object_type` = 'product') and (`gaseus`.`cscart_images_links`.`type` = 'M') and (`gaseus`.`cscart_images_links`.`object_id` in (11965,11966,11967,11968,11969,11975,11985,11995,12005,12015,12025)))",
"cost_info": {
"read_cost": "6.61",
"eval_cost": "1.10",
"prefix_cost": "7.71",
"data_read_per_join": "1K"
},
"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": [
"gaseus.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.75",
"eval_cost": "1.10",
"prefix_cost": "11.56",
"data_read_per_join": "8K"
},
"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": [
"gaseus.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.75",
"eval_cost": "1.10",
"prefix_cost": "15.41",
"data_read_per_join": "6K"
},
"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 |
Thanos_F1_600x600_2x_wnnx-ch.jpg |
1200 |
1200 |
N |
11437 |
11965 |
product |
14920 |
M |
0 |
|
14920 |
| 0 |
Thanos_F1_600x600_2x_b2io-zo.jpg |
1200 |
1200 |
N |
11438 |
11966 |
product |
14921 |
M |
0 |
|
14921 |
| 0 |
Thanos_F1_600x600_2x_zpbs-4g.jpg |
1200 |
1200 |
N |
11439 |
11967 |
product |
14922 |
M |
0 |
|
14922 |
| 0 |
Thanos_F1_600x600_2x_qlon-b7.jpg |
1200 |
1200 |
N |
11440 |
11968 |
product |
14923 |
M |
0 |
|
14923 |
| 0 |
Thanos_F1_600x600_2x_grmk-dc.jpg |
1200 |
1200 |
N |
11441 |
11969 |
product |
14924 |
M |
0 |
|
14924 |
| 0 |
Thanos_F1_600x600_2x_o3l5-gz.jpg |
1200 |
1200 |
N |
11447 |
11975 |
product |
14930 |
M |
0 |
|
14930 |
| 0 |
Thanos_F1_600x600_2x_vgyj-36.jpg |
1200 |
1200 |
N |
11457 |
11985 |
product |
14940 |
M |
0 |
|
14940 |
| 0 |
Thanos_F1_600x600_2x_9buz-6j.jpg |
1200 |
1200 |
N |
11467 |
11995 |
product |
14950 |
M |
0 |
|
14950 |
| 0 |
Thanos_F1_600x600_2x_a4hq-37.jpg |
1200 |
1200 |
N |
11477 |
12005 |
product |
14960 |
M |
0 |
|
14960 |
| 0 |
Thanos_F1_600x600_2x_9zxs-5e.jpg |
1200 |
1200 |
N |
11487 |
12015 |
product |
14970 |
M |
0 |
|
14970 |
| 0 |
Thanos_F1_600x600_2x_4x2a-0h.jpg |
1200 |
1200 |
N |
11497 |
12025 |
product |
14980 |
M |
0 |
|
14980 |