Query time 0.00213
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "43.21"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "18.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": 18,
"rows_produced_per_join": 18,
"filtered": "100.00",
"index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`object_type` = 'product') and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`type` = 'M') and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`object_id` in (2227,2226,8784,8785,8766,8763,8760,8601,8931,8932,8703,8704,8705,8706,8815,8816,8519,8926)))",
"cost_info": {
"read_cost": "10.81",
"eval_cost": "1.80",
"prefix_cost": "12.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": [
"softwarepirmam_hewadelivard_cscart_4.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 18,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.50",
"eval_cost": "1.80",
"prefix_cost": "18.91",
"data_read_per_join": "13K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res",
"transparent",
"cp_in_opt_list"
]
}
},
{
"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": [
"softwarepirmam_hewadelivard_cscart_4.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 18,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.50",
"eval_cost": "1.80",
"prefix_cost": "25.21",
"data_read_per_join": "10K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
]
}
}
]
}
}
}
Result
| image_id |
image_path |
image_x |
image_y |
is_high_res |
transparent |
cp_in_opt_list |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 0 |
5_1__2avq-a7.jpg |
600 |
600 |
N |
N |
Y |
14550 |
2226 |
product |
11113 |
M |
0 |
|
11113 |
| 0 |
6_2_.jpg |
600 |
600 |
N |
N |
Y |
14552 |
2227 |
product |
11114 |
M |
0 |
|
11114 |
| 0 |
Untitled_design_r9mr-r6.jpg |
900 |
900 |
N |
N |
Y |
36106 |
8519 |
product |
27572 |
M |
0 |
|
27572 |
| 0 |
Untitled_design_1qtk-gp.jpg |
900 |
900 |
N |
N |
Y |
36373 |
8601 |
product |
27833 |
M |
0 |
|
27833 |
| 0 |
White.jpg |
900 |
900 |
N |
N |
Y |
36694 |
8703 |
product |
28106 |
M |
0 |
|
28106 |
| 0 |
222059.jpg |
900 |
900 |
N |
N |
Y |
36899 |
8760 |
product |
28235 |
M |
0 |
|
28235 |
| 0 |
Untitled_Image_y39n-lr.jpg |
900 |
900 |
N |
N |
Y |
36983 |
8784 |
product |
28303 |
M |
0 |
|
28303 |
| 0 |
Untitled_Image_y39n-lr.jpg |
900 |
900 |
N |
N |
Y |
36984 |
8785 |
product |
28303 |
M |
0 |
|
28303 |
| 0 |
Untitled_Image1.jpg |
900 |
900 |
N |
N |
Y |
37085 |
8815 |
product |
28401 |
M |
0 |
|
28401 |
| 0 |
Untitled_Image_udc0-z9.jpg |
900 |
900 |
N |
N |
Y |
36698 |
8704 |
product |
28107 |
M |
1 |
|
28107 |
| 0 |
Blue.jpg |
900 |
900 |
N |
N |
Y |
36699 |
8705 |
product |
28108 |
M |
1 |
|
28108 |
| 0 |
Pink.jpg |
900 |
900 |
N |
N |
Y |
36700 |
8706 |
product |
28109 |
M |
1 |
|
28109 |
| 0 |
222062.jpg |
900 |
900 |
N |
N |
Y |
36911 |
8763 |
product |
28243 |
M |
1 |
|
28243 |
| 0 |
222062_igec-wr.jpg |
900 |
900 |
N |
N |
Y |
36915 |
8766 |
product |
28247 |
M |
1 |
|
28247 |
| 0 |
Untitled_Image_lb9o-bl.jpg |
900 |
900 |
N |
N |
Y |
37087 |
8816 |
product |
28402 |
M |
1 |
|
28402 |
| 0 |
Untitled_design_odhf-6g_pcw4-e9.jpg |
900 |
900 |
N |
N |
Y |
37445 |
8926 |
product |
28720 |
M |
3 |
|
28720 |
| 0 |
Untitled_design_2j1t-nf_0kmm-w5.jpg |
900 |
900 |
N |
N |
Y |
37468 |
8931 |
product |
28727 |
M |
7 |
|
28727 |
| 0 |
Untitled_Image_8r42-en_tuax-b1.jpg |
900 |
900 |
N |
N |
Y |
37486 |
8932 |
product |
28738 |
M |
7 |
|
28738 |