Query time 0.00090
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "81.21"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "14.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": 14,
"rows_produced_per_join": 14,
"filtered": "100.00",
"index_condition": "((`cscart`.`cscart_images_links`.`object_type` = 'product') and (`cscart`.`cscart_images_links`.`type` = 'M') and (`cscart`.`cscart_images_links`.`object_id` in (767,766,765,764,763,762,826,825,632,633,613,614,615,616)))",
"cost_info": {
"read_cost": "30.81",
"eval_cost": "2.80",
"prefix_cost": "33.61",
"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": [
"cscart.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "14.00",
"eval_cost": "2.80",
"prefix_cost": "50.41",
"data_read_per_join": "10K"
},
"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": [
"cscart.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "14.00",
"eval_cost": "2.80",
"prefix_cost": "67.21",
"data_read_per_join": "8K"
},
"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 |
Render_Cotton_Oak_Bottom_1.1.png |
1024 |
1024 |
N |
6991 |
613 |
product |
8765 |
M |
0 |
|
8765 |
| 0 |
Render_G_Bottom_6qeq-ey.png |
1024 |
1024 |
N |
7021 |
632 |
product |
8784 |
M |
0 |
|
8784 |
| 0 |
Render_California_102_White_Bottom_w2uq-q2.png |
1024 |
1024 |
N |
7384 |
762 |
product |
9059 |
M |
0 |
|
9059 |
| 0 |
Render_5751_Table_Cassia_White_Bottom.png |
1024 |
1024 |
N |
7488 |
825 |
product |
9124 |
M |
0 |
|
9124 |
| 0 |
Render_Matera_Bottom_2.2.png |
1024 |
1024 |
N |
6995 |
614 |
product |
8766 |
M |
1 |
|
8766 |
| 0 |
Render_Votan_White_Bottom.png |
1024 |
1024 |
N |
6996 |
616 |
product |
8767 |
M |
1 |
|
8767 |
| 0 |
Render_Votan_Oak_Bottom.png |
1024 |
1024 |
N |
6997 |
615 |
product |
8768 |
M |
1 |
|
8768 |
| 0 |
Render_R_Bottom_onav-7z.png |
1024 |
1024 |
N |
7023 |
633 |
product |
8785 |
M |
1 |
|
8785 |
| 0 |
Render_Velluto_18_Bottom_9iae-yy.png |
1024 |
1024 |
N |
7390 |
763 |
product |
9060 |
M |
1 |
|
9060 |
| 0 |
Render_Velutto_29_White_Bottom_1f0g-xm.png |
1024 |
1024 |
N |
7391 |
764 |
product |
9061 |
M |
1 |
|
9061 |
| 0 |
Render_California_560_Bottom_3lnh-xd.png |
1024 |
1024 |
N |
7392 |
765 |
product |
9062 |
M |
1 |
|
9062 |
| 0 |
Render_Velluto_4_White_Bottom_fe6p-ws.png |
1024 |
1024 |
N |
7393 |
766 |
product |
9063 |
M |
1 |
|
9063 |
| 0 |
Render_California_667_Bottom_fz9z-yy.png |
1024 |
1024 |
N |
7394 |
767 |
product |
9064 |
M |
1 |
|
9064 |
| 0 |
Render_5751_Table_Cassia_Grey_Bottom.png |
1024 |
1024 |
N |
7490 |
826 |
product |
9125 |
M |
1 |
|
9125 |