Query time 0.00086
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 (945,946,953,954,955,956,957,958,943,942,941,944,948,949)))",
"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_White_Bottom.png |
1024 |
1024 |
N |
7671 |
941 |
product |
9242 |
M |
0 |
|
9242 |
| 0 |
6869_hinged_shelf_cassia_white_bottom.png |
1024 |
1024 |
N |
7678 |
945 |
product |
9246 |
M |
0 |
|
9246 |
| 0 |
5095_hinged_cupboard_white_bottom.png |
1024 |
1024 |
N |
7682 |
948 |
product |
9249 |
M |
0 |
|
9249 |
| 0 |
Render_White_Bottom_uxeb-kr.png |
1024 |
1024 |
N |
7688 |
953 |
product |
9254 |
M |
0 |
|
9254 |
| 0 |
Render_White_Bottom_j18k-97.png |
1024 |
1024 |
N |
7693 |
956 |
product |
9257 |
M |
0 |
|
9257 |
| 0 |
Render_Cotton_Oak_Bottom.png |
1024 |
1024 |
N |
7675 |
942 |
product |
9243 |
M |
1 |
|
9243 |
| 0 |
Render_Votan_Bottom_lmq8-va.png |
1024 |
1024 |
N |
7676 |
943 |
product |
9244 |
M |
1 |
|
9244 |
| 0 |
Render_Matera_Bottom.png |
1024 |
1024 |
N |
7677 |
944 |
product |
9245 |
M |
1 |
|
9245 |
| 0 |
6869_hinged_shelf_cassia_grey_bottom.png |
1024 |
1024 |
N |
7680 |
946 |
product |
9247 |
M |
1 |
|
9247 |
| 0 |
5095_hinged_cupboard_grey_bottom.png |
1024 |
1024 |
N |
7684 |
949 |
product |
9250 |
M |
1 |
|
9250 |
| 0 |
Render_Votan_Bottom_v1cg-4k.png |
1024 |
1024 |
N |
7691 |
954 |
product |
9255 |
M |
1 |
|
9255 |
| 0 |
Render_Grey_Bottom_54o0-8g.png |
1024 |
1024 |
N |
7692 |
955 |
product |
9256 |
M |
1 |
|
9256 |
| 0 |
Render_Votan_Bottom_g3eg-yu.png |
1024 |
1024 |
N |
7696 |
957 |
product |
9258 |
M |
1 |
|
9258 |
| 0 |
Render_Grey_Bottom_ey0j-88.png |
1024 |
1024 |
N |
7697 |
958 |
product |
9259 |
M |
1 |
|
9259 |