Query time 0.00170
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "38.41"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "16.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": 16,
"rows_produced_per_join": 16,
"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 (3026,3030,3029,3016,3017,3018,3019,3021,3022,3011,3012,3013,3014,3015,3023,3024)))",
"cost_info": {
"read_cost": "9.61",
"eval_cost": "1.60",
"prefix_cost": "11.21",
"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": 16,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.00",
"eval_cost": "1.60",
"prefix_cost": "16.81",
"data_read_per_join": "12K"
},
"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": 16,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.00",
"eval_cost": "1.60",
"prefix_cost": "22.41",
"data_read_per_join": "9K"
},
"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 |
Delivard_384q-sj.jpg |
600 |
600 |
N |
N |
Y |
16977 |
3011 |
product |
12696 |
M |
0 |
|
12696 |
| 0 |
Delivard2.jpg |
600 |
600 |
N |
N |
Y |
16988 |
3012 |
product |
12701 |
M |
0 |
|
12701 |
| 0 |
Delivard1.jpg |
600 |
600 |
N |
N |
Y |
16992 |
3013 |
product |
12705 |
M |
0 |
|
12705 |
| 0 |
Delivard_gl5o-wq.jpg |
600 |
600 |
N |
N |
Y |
17003 |
3014 |
product |
12716 |
M |
0 |
|
12716 |
| 0 |
Delivard_bw1y-bz.jpg |
600 |
600 |
N |
N |
Y |
17015 |
3015 |
product |
12725 |
M |
0 |
|
12725 |
| 0 |
0_f00l-ca.jpg |
600 |
600 |
N |
N |
Y |
17032 |
3018 |
product |
12731 |
M |
0 |
|
12731 |
| 0 |
Delivard1_xsom-5v.jpg |
600 |
600 |
N |
N |
Y |
17040 |
3016 |
product |
12741 |
M |
0 |
|
12741 |
| 0 |
Delivard2_tsct-y1.jpg |
600 |
600 |
N |
N |
Y |
17046 |
3017 |
product |
12747 |
M |
0 |
|
12747 |
| 0 |
Delivard_sq03-cr.jpg |
600 |
600 |
N |
N |
Y |
17049 |
3019 |
product |
12750 |
M |
0 |
|
12750 |
| 0 |
Delivard2_al2b-56.jpg |
600 |
600 |
N |
N |
Y |
17054 |
3021 |
product |
12755 |
M |
0 |
|
12755 |
| 0 |
Delivard_m283-y4.jpg |
600 |
600 |
N |
N |
Y |
17060 |
3022 |
product |
12758 |
M |
0 |
|
12758 |
| 0 |
Delivard2_evvl-aj.jpg |
600 |
600 |
N |
N |
Y |
17063 |
3023 |
product |
12761 |
M |
0 |
|
12761 |
| 0 |
Delivard_2vh3-lu.jpg |
600 |
600 |
N |
N |
Y |
17069 |
3024 |
product |
12764 |
M |
0 |
|
12764 |
| 0 |
Delivard_cmvq-yj.jpg |
600 |
600 |
N |
N |
Y |
17075 |
3026 |
product |
12770 |
M |
0 |
|
12770 |
| 0 |
0_s1tr-r8.jpg |
600 |
600 |
N |
N |
Y |
17086 |
3029 |
product |
12773 |
M |
0 |
|
12773 |
| 0 |
Delivard2_67if-o8.jpg |
600 |
600 |
N |
N |
Y |
17089 |
3030 |
product |
12776 |
M |
0 |
|
12776 |