Query time 0.00151
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "42.71"
},
"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": "((`test2_gaseus`.`cscart_images_links`.`object_type` = 'product') and (`test2_gaseus`.`cscart_images_links`.`type` = 'M') and (`test2_gaseus`.`cscart_images_links`.`object_id` in (12975,12977,12979,12981,12983,12985,12987,12980,13008,13010,13012,13006,13004,13002,13000,13003)))",
"cost_info": {
"read_cost": "10.31",
"eval_cost": "1.80",
"prefix_cost": "12.11",
"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": [
"test2_gaseus.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.41",
"data_read_per_join": "13K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res"
]
}
},
{
"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": [
"test2_gaseus.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": "24.71",
"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 |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 0 |
Seite-22-EB-60-300KORIWQFo1wZsW_600x600.jpg |
600 |
400 |
N |
18688 |
12975 |
product |
22169 |
M |
0 |
|
22169 |
| 0 |
Seite-22-EB-60-300pUcCVH1oLy7Cz_600x600.jpg |
600 |
400 |
N |
18690 |
12977 |
product |
22171 |
M |
0 |
|
22171 |
| 0 |
Seite-22-EB-60-300G8yaA7GziPlkn_600x600.jpg |
600 |
400 |
N |
18692 |
12979 |
product |
22173 |
M |
0 |
|
22173 |
| 0 |
Seite-22-EB-60-300RXazRT1IZRdhG_600x600.jpg |
600 |
400 |
N |
18693 |
12980 |
product |
22174 |
M |
0 |
|
22174 |
| 0 |
Seite-22-EB-60-300nGnjX8wnzXVDE_600x600.jpg |
600 |
400 |
N |
18694 |
12981 |
product |
22175 |
M |
0 |
|
22175 |
| 0 |
Seite-22-EB-60-300WNQ5SgkVKB5cp_600x600.jpg |
600 |
400 |
N |
18696 |
12983 |
product |
22177 |
M |
0 |
|
22177 |
| 0 |
Seite-22-EB-60-300vAwnm5szyT5L2_600x600.jpg |
600 |
400 |
N |
18698 |
12985 |
product |
22179 |
M |
0 |
|
22179 |
| 0 |
Seite-22-EB-60-300z1GVN45Tcpfof_600x600.jpg |
600 |
400 |
N |
18700 |
12987 |
product |
22181 |
M |
0 |
|
22181 |
| 0 |
Seite-22-414-809-EB-80KA5ho6myqnfRO_600x600.jpg |
600 |
460 |
N |
18713 |
13000 |
product |
22194 |
M |
0 |
|
22194 |
| 0 |
Seite-22-414-809-EB-80yXlwXUwcWM0FB_600x600.jpg |
600 |
460 |
N |
18715 |
13002 |
product |
22196 |
M |
0 |
|
22196 |
| 0 |
Seite-22-414-809-EB-80PoflUT3Vq8hHB_600x600.jpg |
600 |
460 |
N |
18716 |
13003 |
product |
22197 |
M |
0 |
|
22197 |
| 0 |
Seite-22-414-809-EB-80hakV5b2EYgaYH_600x600.jpg |
600 |
460 |
N |
18717 |
13004 |
product |
22198 |
M |
0 |
|
22198 |
| 0 |
Seite-22-414-809-EB-80vvIE3PVMNRX9T_600x600.jpg |
600 |
460 |
N |
18719 |
13006 |
product |
22200 |
M |
0 |
|
22200 |
| 0 |
Seite-22-414-809-EB-80FoGDvCgvj8KTo_600x600.jpg |
600 |
460 |
N |
18721 |
13008 |
product |
22202 |
M |
0 |
|
22202 |
| 0 |
Seite-22-414-809-EB-80W2XtxiCfNqMDt_600x600.jpg |
600 |
460 |
N |
18723 |
13010 |
product |
22204 |
M |
0 |
|
22204 |
| 0 |
Seite-22-414-809-EB-809jh44WQq4O81j_600x600.jpg |
600 |
460 |
N |
18725 |
13012 |
product |
22206 |
M |
0 |
|
22206 |