Query time 0.00200
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "52.81"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "22.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": 22,
"rows_produced_per_join": 22,
"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 (4151,4143,4147,4148,4150,4149,4126,4127,4128,4129,4276,4278,4248,4247,4246,4218,4464,4465,4614,4615,4561,4560)))",
"cost_info": {
"read_cost": "13.21",
"eval_cost": "2.20",
"prefix_cost": "15.41",
"data_read_per_join": "2K"
},
"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": 22,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.50",
"eval_cost": "2.20",
"prefix_cost": "23.11",
"data_read_per_join": "17K"
},
"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": 22,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.50",
"eval_cost": "2.20",
"prefix_cost": "30.81",
"data_read_per_join": "13K"
},
"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 |
d_f1si-20.jpg |
600 |
600 |
N |
N |
Y |
21188 |
4126 |
product |
16170 |
M |
0 |
|
16170 |
| 0 |
d_f1si-20.jpg |
600 |
600 |
N |
N |
Y |
21201 |
4127 |
product |
16170 |
M |
0 |
|
16170 |
| 0 |
d_f1si-20.jpg |
600 |
600 |
N |
N |
Y |
21202 |
4128 |
product |
16170 |
M |
0 |
|
16170 |
| 0 |
d_f1si-20.jpg |
600 |
600 |
N |
N |
Y |
21203 |
4129 |
product |
16170 |
M |
0 |
|
16170 |
| 0 |
214_gallery_ba02.jpg |
1000 |
1000 |
N |
N |
Y |
21305 |
4143 |
product |
16258 |
M |
0 |
|
16258 |
| 0 |
uv150_front_bk_256gb_72dpi.jpg |
2000 |
2000 |
N |
N |
Y |
21332 |
4148 |
product |
16260 |
M |
0 |
|
16260 |
| 0 |
uv150_front_bk_256gb_72dpi.jpg |
2000 |
2000 |
N |
N |
Y |
21333 |
4149 |
product |
16260 |
M |
0 |
|
16260 |
| 0 |
214_gallery_ba03.jpg |
1000 |
1000 |
N |
N |
Y |
21340 |
4147 |
product |
16259 |
M |
0 |
|
16259 |
| 0 |
214_gallery_r02.jpg |
1000 |
1000 |
N |
N |
Y |
21362 |
4151 |
product |
16263 |
M |
0 |
|
16263 |
| 0 |
214_gallery_ba02.jpg |
1000 |
1000 |
N |
N |
Y |
21370 |
4150 |
product |
16258 |
M |
0 |
|
16258 |
| 0 |
4_ks1t-se.jpg |
600 |
600 |
N |
N |
Y |
21628 |
4218 |
product |
16463 |
M |
0 |
|
16463 |
| 0 |
productGallery7364.jpg |
1500 |
1500 |
N |
N |
Y |
21825 |
4246 |
product |
16464 |
M |
0 |
|
16464 |
| 0 |
c906_pd_32gb雙_2000x2000_03_pk.png |
2000 |
2000 |
N |
N |
Y |
21830 |
4248 |
product |
16465 |
M |
0 |
|
16465 |
| 0 |
c906_pd_32gb雙_2000x2000_04_bl.png |
2000 |
2000 |
N |
N |
Y |
21832 |
4247 |
product |
16466 |
M |
0 |
|
16466 |
| 0 |
8.jpg |
600 |
600 |
N |
N |
Y |
21940 |
4276 |
product |
16677 |
M |
0 |
|
16677 |
| 0 |
09_uc310_wh_256gb.png |
1000 |
1000 |
N |
N |
Y |
21955 |
4278 |
product |
16681 |
M |
0 |
|
16681 |
| 0 |
37_pux2-ij.jpg |
600 |
600 |
N |
N |
Y |
22662 |
4464 |
product |
16980 |
M |
0 |
|
16980 |
| 0 |
37_2.jpg |
600 |
600 |
N |
N |
Y |
22664 |
4465 |
product |
16981 |
M |
0 |
|
16981 |
| 0 |
60.jpg |
600 |
600 |
N |
N |
Y |
22956 |
4560 |
product |
17206 |
M |
0 |
|
17206 |
| 0 |
61.jpg |
600 |
600 |
N |
N |
Y |
22965 |
4561 |
product |
17209 |
M |
0 |
|
17209 |
| 0 |
83.jpg |
600 |
600 |
N |
N |
Y |
23224 |
4614 |
product |
17436 |
M |
0 |
|
17436 |
| 0 |
adata-uv240-usb-20-flash-drive-569053.webp |
1200 |
1200 |
N |
N |
Y |
23226 |
4615 |
product |
17437 |
M |
0 |
|
17437 |