Query time 0.00084
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "52.21"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "9.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": 9,
"rows_produced_per_join": 9,
"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 (719,718,717,716,715,714,713,711,666)))",
"cost_info": {
"read_cost": "19.81",
"eval_cost": "1.80",
"prefix_cost": "21.61",
"data_read_per_join": "864"
},
"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": 9,
"filtered": "100.00",
"cost_info": {
"read_cost": "9.00",
"eval_cost": "1.80",
"prefix_cost": "32.41",
"data_read_per_join": "6K"
},
"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": 9,
"filtered": "100.00",
"cost_info": {
"read_cost": "9.00",
"eval_cost": "1.80",
"prefix_cost": "43.21",
"data_read_per_join": "5K"
},
"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_Velutto_18_Top_9sx2-gq.png |
1024 |
1024 |
N |
7067 |
666 |
product |
8818 |
M |
0 |
|
8818 |
| 0 |
Render_white_Velutto_8_Bottom.png |
1024 |
1024 |
N |
7302 |
711 |
product |
9008 |
M |
1 |
|
9008 |
| 0 |
Render_white_Velutto_29_Bottom.png |
1024 |
1024 |
N |
7303 |
713 |
product |
9009 |
M |
1 |
|
9009 |
| 0 |
Render_Velutto_29_Bottom_o13r-oo.png |
1024 |
1024 |
N |
7304 |
714 |
product |
9010 |
M |
1 |
|
9010 |
| 0 |
Render_Velutto_56_Bottom.png |
1024 |
1024 |
N |
7305 |
715 |
product |
9011 |
M |
1 |
|
9011 |
| 0 |
Render_White_Velutto_56_Bottom.png |
1024 |
1024 |
N |
7306 |
716 |
product |
9012 |
M |
1 |
|
9012 |
| 0 |
Render_gold_premier_19_bottom.png |
1024 |
1024 |
N |
7307 |
717 |
product |
9013 |
M |
1 |
|
9013 |
| 0 |
Render_gold_premier_22_Bottom.png |
1024 |
1024 |
N |
7308 |
718 |
product |
9014 |
M |
1 |
|
9014 |
| 0 |
Render_gold_formual_134_bottom.png |
1024 |
1024 |
N |
7309 |
719 |
product |
9015 |
M |
1 |
|
9015 |