Query time 0.00102
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "35.76"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "15.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": 15,
"rows_produced_per_join": 15,
"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 (13164,13165,13166,13167,13168,13163,13162,13169,13171,13172,13173,13174,13175,13170)))",
"cost_info": {
"read_cost": "8.76",
"eval_cost": "1.50",
"prefix_cost": "10.26",
"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": 15,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.75",
"eval_cost": "1.50",
"prefix_cost": "15.51",
"data_read_per_join": "11K"
},
"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": 15,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.75",
"eval_cost": "1.50",
"prefix_cost": "20.76",
"data_read_per_join": "8K"
},
"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-12-AM-35-300-Effect_600x600.jpg |
600 |
553 |
N |
18875 |
13162 |
product |
22356 |
M |
0 |
|
22356 |
| 0 |
Seite-12-AM-35-300-Effecteh2QIr9Zr9xMo_600x600.jpg |
600 |
553 |
N |
18876 |
13163 |
product |
22357 |
M |
0 |
|
22357 |
| 0 |
Seite-12-AM-35-300-Effectk4fiwiicX6BDX_600x600.jpg |
600 |
553 |
N |
18877 |
13164 |
product |
22358 |
M |
0 |
|
22358 |
| 0 |
Seite-12-AM-35-300-EffectPLPuTFMtnKbvH_600x600.jpg |
600 |
553 |
N |
18878 |
13165 |
product |
22359 |
M |
0 |
|
22359 |
| 0 |
Seite-12-AM-35-300-Effect5aOCOmQVmmtjw_600x600.jpg |
600 |
553 |
N |
18879 |
13166 |
product |
22360 |
M |
0 |
|
22360 |
| 0 |
Seite-12-AM-35-300-EffectqbNPAOrdN5LgE_600x600.jpg |
600 |
553 |
N |
18880 |
13167 |
product |
22361 |
M |
0 |
|
22361 |
| 0 |
Seite-12-AM-35-300-EffectklifmkipXHs3i_600x600.jpg |
600 |
553 |
N |
18881 |
13168 |
product |
22362 |
M |
0 |
|
22362 |
| 0 |
Seite-12-AM-35-300H-Effect_600x600.jpg |
600 |
400 |
N |
18882 |
13169 |
product |
22363 |
M |
0 |
|
22363 |
| 0 |
Seite-12-AM-35-300H-EffectHe93VDcNqk1KC_600x600.jpg |
600 |
400 |
N |
18883 |
13170 |
product |
22364 |
M |
0 |
|
22364 |
| 0 |
Seite-12-AM-35-300H-EffectW23LzlgvrGZ7j_600x600.jpg |
600 |
400 |
N |
18884 |
13171 |
product |
22365 |
M |
0 |
|
22365 |
| 0 |
Seite-12-AM-35-300H-EffectZg0fs64RPgU4x_600x600.jpg |
600 |
400 |
N |
18885 |
13172 |
product |
22366 |
M |
0 |
|
22366 |
| 0 |
Seite-12-AM-35-300H-Effect017woXqq7rENh_600x600.jpg |
600 |
400 |
N |
18886 |
13173 |
product |
22367 |
M |
0 |
|
22367 |
| 0 |
Seite-12-AM-35-300H-EffectsWAjz9Kdq17sf_600x600.jpg |
600 |
400 |
N |
18887 |
13174 |
product |
22368 |
M |
0 |
|
22368 |
| 0 |
Seite-12-AM-35-300H-EffectlwNwi0BJmoGP7_600x600.jpg |
600 |
400 |
N |
18888 |
13175 |
product |
22369 |
M |
0 |
|
22369 |