Query time 0.00177
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "67.21"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "28.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": 28,
"rows_produced_per_join": 28,
"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 (4561,4560,4119,4120,4121,4122,4123,4637,4636,4635,4347,4348,4349,4350,4466,4467,4468,4251,4196,4454,4456,4457,4458,4250,4207,4130,4131,4132)))",
"cost_info": {
"read_cost": "16.81",
"eval_cost": "2.80",
"prefix_cost": "19.61",
"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": 28,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.00",
"eval_cost": "2.80",
"prefix_cost": "29.41",
"data_read_per_join": "21K"
},
"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": 28,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.00",
"eval_cost": "2.80",
"prefix_cost": "39.21",
"data_read_per_join": "16K"
},
"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 |
c.jpg |
600 |
600 |
N |
N |
Y |
21084 |
4119 |
product |
16078 |
M |
0 |
|
16078 |
| 0 |
microcard_premier_uhs_i_cl10_a1_adapter_pd_2000x2000_128gb.png |
2000 |
2000 |
N |
N |
Y |
21126 |
4120 |
product |
16112 |
M |
0 |
|
16112 |
| 0 |
microcard_premier_uhs_i_cl10_a1_adapter_pd_2000x2000_256gb.png |
2000 |
2000 |
N |
N |
Y |
21128 |
4121 |
product |
16114 |
M |
0 |
|
16114 |
| 0 |
microcard_premier_uhs_i_cl10_a1_adapter_pd_2000x2000_512gb.png |
2000 |
2000 |
N |
N |
Y |
21132 |
4122 |
product |
16118 |
M |
0 |
|
16118 |
| 0 |
microcard_premier_uhs_i_cl10_a1_adapter_pd_2000x2000_64gb.png |
2000 |
2000 |
N |
N |
Y |
21134 |
4123 |
product |
16120 |
M |
0 |
|
16120 |
| 0 |
e.jpg |
600 |
600 |
N |
N |
Y |
21230 |
4130 |
product |
16203 |
M |
0 |
|
16203 |
| 0 |
bk0.jpg |
2000 |
2000 |
N |
N |
Y |
21245 |
4131 |
product |
16210 |
M |
0 |
|
16210 |
| 0 |
bl1.jpg |
2000 |
2000 |
N |
N |
Y |
21250 |
4132 |
product |
16215 |
M |
0 |
|
16215 |
| 0 |
X.jpg |
600 |
600 |
N |
N |
Y |
21538 |
4196 |
product |
16389 |
M |
0 |
|
16389 |
| 0 |
Q_m69z-tj.jpg |
600 |
600 |
N |
N |
Y |
21581 |
4207 |
product |
16425 |
M |
0 |
|
16425 |
| 0 |
Y.jpg |
600 |
600 |
N |
N |
Y |
21847 |
4250 |
product |
16423 |
M |
0 |
|
16423 |
| 0 |
X.jpg |
600 |
600 |
N |
N |
Y |
21852 |
4251 |
product |
16389 |
M |
0 |
|
16389 |
| 0 |
27.jpg |
600 |
600 |
N |
N |
Y |
22162 |
4347 |
product |
16809 |
M |
0 |
|
16809 |
| 0 |
26_11bt-1e.jpg |
600 |
600 |
N |
N |
Y |
22176 |
4348 |
product |
16818 |
M |
0 |
|
16818 |
| 0 |
27_3.jpg |
600 |
600 |
N |
N |
Y |
22184 |
4350 |
product |
16815 |
M |
0 |
|
16815 |
| 0 |
27_2.jpg |
600 |
600 |
N |
N |
Y |
22189 |
4349 |
product |
16812 |
M |
0 |
|
16812 |
| 0 |
27_iw5c-mu.jpg |
600 |
600 |
N |
N |
Y |
22583 |
4454 |
product |
16949 |
M |
0 |
|
16949 |
| 0 |
26_lhg6-6a.jpg |
600 |
600 |
N |
N |
Y |
22612 |
4456 |
product |
16961 |
M |
0 |
|
16961 |
| 0 |
27_3_wp5q-lg.jpg |
600 |
600 |
N |
N |
Y |
22620 |
4458 |
product |
16957 |
M |
0 |
|
16957 |
| 0 |
27_2_cju9-vg.jpg |
600 |
600 |
N |
N |
Y |
22631 |
4457 |
product |
16953 |
M |
0 |
|
16953 |
| 0 |
22_gb5z-7z.jpg |
600 |
600 |
N |
N |
Y |
22666 |
4466 |
product |
16982 |
M |
0 |
|
16982 |
| 0 |
sd620_p_2000x20000_blue_05_sed9-0k.png |
1000 |
1000 |
N |
N |
Y |
22686 |
4467 |
product |
16987 |
M |
0 |
|
16987 |
| 0 |
22_3_6a0j-yk.jpg |
600 |
600 |
N |
N |
Y |
22693 |
4468 |
product |
16990 |
M |
0 |
|
16990 |
| 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 |
22_1vr7-jg.jpg |
600 |
600 |
N |
N |
Y |
23322 |
4635 |
product |
17532 |
M |
0 |
|
17532 |
| 0 |
22_2_u0kb-de.jpg |
600 |
600 |
N |
N |
Y |
23338 |
4636 |
product |
17536 |
M |
0 |
|
17536 |
| 0 |
22_3_c6zm-e0.jpg |
600 |
600 |
N |
N |
Y |
23347 |
4637 |
product |
17540 |
M |
0 |
|
17540 |