Query time 0.00141
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "28.81"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "12.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": 12,
"rows_produced_per_join": 12,
"filtered": "100.00",
"index_condition": "((`gaseus`.`cscart_images_links`.`object_type` = 'product') and (`gaseus`.`cscart_images_links`.`type` = 'M') and (`gaseus`.`cscart_images_links`.`object_id` in (7502,7584,7622,7660,7698,3722,1436,1437,1435,1434,3721,1439)))",
"cost_info": {
"read_cost": "7.21",
"eval_cost": "1.20",
"prefix_cost": "8.41",
"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": [
"gaseus.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 12,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "1.20",
"prefix_cost": "12.61",
"data_read_per_join": "9K"
},
"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": [
"gaseus.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 12,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "1.20",
"prefix_cost": "16.81",
"data_read_per_join": "7K"
},
"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 |
Druckminderer-Vulkan-F40-300-bar_600x600_2x_xoxb-mu.jpg |
500 |
430 |
N |
6974 |
7502 |
product |
10457 |
M |
0 |
|
10457 |
| 0 |
306-770-LHR-300-200-Seite-357YdxS0TcqXBOn_600x600_2x_qros-6f.jpg |
1200 |
800 |
N |
7056 |
7584 |
product |
10539 |
M |
0 |
|
10539 |
| 0 |
1390213595-18254_600x600_2x_38de-77.jpg |
500 |
399 |
N |
7094 |
7622 |
product |
10577 |
M |
0 |
|
10577 |
| 0 |
1390207837-13512_600x600_2x_ed4c-sh.jpg |
500 |
399 |
N |
7132 |
7660 |
product |
10615 |
M |
0 |
|
10615 |
| 0 |
1387465803-6189-1_600x600_2x_w9sb-ma.jpg |
500 |
471 |
N |
7170 |
7698 |
product |
10653 |
M |
0 |
|
10653 |
| 0 |
H20-300-BS60-Seite-37lIUojfLWCUcBH_600x600_2x.jpg |
1200 |
823 |
N |
14135 |
1434 |
product |
17616 |
M |
0 |
|
17616 |
| 0 |
H20-300-BS60-Seite-37xOkpggT9fCpZB_600x600_2x.jpg |
1200 |
823 |
N |
14136 |
1435 |
product |
17617 |
M |
0 |
|
17617 |
| 0 |
H20-300-BS60-Seite-37gR02iRxmtyZ1B_600x600_2x.jpg |
1200 |
823 |
N |
14137 |
1436 |
product |
17618 |
M |
0 |
|
17618 |
| 0 |
H20-300-BS60-Seite-370o740H6A6U1PR_600x600_2x.jpg |
1200 |
823 |
N |
14138 |
1437 |
product |
17619 |
M |
0 |
|
17619 |
| 0 |
H20-300-BS60-Seite-37_600x600_2x_gd9f-dg.jpg |
1200 |
823 |
N |
14140 |
1439 |
product |
17621 |
M |
0 |
|
17621 |
| 0 |
H20-300-BS60-Seite-376JCbkH1cGT4sI_600x600_2x.jpg |
1200 |
823 |
N |
16422 |
3721 |
product |
19903 |
M |
0 |
|
19903 |
| 0 |
H20-300-BS60-Seite-37_600x600_2x.jpg |
1200 |
823 |
N |
16423 |
3722 |
product |
19904 |
M |
0 |
|
19904 |