Query time 0.00144
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "40.56"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "17.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": 17,
"rows_produced_per_join": 17,
"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 (9077,9076,9124,9125,9829,9816,9234,9235,9450,9451,9454,9455,9110,9111,9465,9466)))",
"cost_info": {
"read_cost": "9.96",
"eval_cost": "1.70",
"prefix_cost": "11.66",
"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": 17,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.25",
"eval_cost": "1.70",
"prefix_cost": "17.61",
"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": 17,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.25",
"eval_cost": "1.70",
"prefix_cost": "23.56",
"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 |
Untitled_Image_68t7-4h.jpg |
900 |
900 |
N |
N |
Y |
37826 |
9076 |
product |
29038 |
M |
0 |
|
29038 |
| 0 |
Untitled_Image1_l29k-69.jpg |
900 |
900 |
N |
N |
Y |
37830 |
9077 |
product |
29040 |
M |
0 |
|
29040 |
| 0 |
100ml.jpg |
900 |
900 |
N |
N |
Y |
37898 |
9110 |
product |
29104 |
M |
0 |
|
29104 |
| 0 |
Untitled_Image_3srp-f4.jpg |
900 |
900 |
N |
N |
Y |
37933 |
9124 |
product |
29135 |
M |
0 |
|
29135 |
| 0 |
untitled_image_txws-iq.jpg |
900 |
900 |
N |
N |
Y |
38171 |
9234 |
product |
29365 |
M |
0 |
|
29365 |
| 0 |
untitled_image_txws-iq.jpg |
900 |
900 |
N |
N |
Y |
38174 |
9235 |
product |
29365 |
M |
0 |
|
29365 |
| 0 |
untitled_image_or13-3s.jpg |
900 |
900 |
N |
N |
Y |
38610 |
9450 |
product |
29768 |
M |
0 |
|
29768 |
| 0 |
untitled_image_or13-3s.jpg |
900 |
900 |
N |
N |
Y |
38613 |
9451 |
product |
29768 |
M |
0 |
|
29768 |
| 0 |
untitled_image_q6fq-dh.jpg |
900 |
900 |
N |
N |
Y |
38624 |
9454 |
product |
29778 |
M |
0 |
|
29778 |
| 0 |
untitled_image_jt9j-fq.jpg |
900 |
900 |
N |
N |
Y |
38625 |
9455 |
product |
29779 |
M |
0 |
|
29779 |
| 0 |
Untitled_Image_eh4k-hc.jpg |
900 |
900 |
N |
N |
Y |
38641 |
9465 |
product |
29794 |
M |
0 |
|
29794 |
| 0 |
Untitled_Image_eh4k-hc.jpg |
900 |
900 |
N |
N |
Y |
38644 |
9466 |
product |
29794 |
M |
0 |
|
29794 |
| 0 |
Untitled_design_6bt2-gr.jpg |
900 |
900 |
N |
N |
N |
39485 |
9816 |
product |
30567 |
M |
0 |
|
30567 |
| 0 |
Untitled_design_6bt2-gr.jpg |
900 |
900 |
N |
N |
N |
39512 |
9829 |
product |
30567 |
M |
0 |
|
30567 |
| 0 |
Untitled_Image_4y5j-zc.jpg |
900 |
900 |
N |
N |
Y |
37921 |
9111 |
product |
29125 |
M |
1 |
|
29125 |
| 0 |
50ml_i236-8n.jpg |
900 |
900 |
N |
N |
Y |
37937 |
9125 |
product |
29137 |
M |
2 |
|
29137 |