Query time 0.00104
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "52.56"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "22.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": 22,
"rows_produced_per_join": 22,
"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 (13232,13233,13234,13235,13236,13237,13238,13225,13226,13227,13228,13229,13230,13231,13198,13199,13200,13201,13202,13203,13197)))",
"cost_info": {
"read_cost": "12.96",
"eval_cost": "2.20",
"prefix_cost": "15.16",
"data_read_per_join": "2K"
},
"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": 22,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.50",
"eval_cost": "2.20",
"prefix_cost": "22.86",
"data_read_per_join": "16K"
},
"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": 22,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.50",
"eval_cost": "2.20",
"prefix_cost": "30.56",
"data_read_per_join": "13K"
},
"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-13-AM-45-300-Effect_600x600.jpg |
600 |
476 |
N |
18910 |
13197 |
product |
22391 |
M |
0 |
|
22391 |
| 0 |
Seite-13-AM-45-300-EffectWSju26LRJC3qP_600x600.jpg |
600 |
476 |
N |
18911 |
13198 |
product |
22392 |
M |
0 |
|
22392 |
| 0 |
Seite-13-AM-45-300-Effecty5yegg0bn0LdV_600x600.jpg |
600 |
476 |
N |
18912 |
13199 |
product |
22393 |
M |
0 |
|
22393 |
| 0 |
Seite-13-AM-45-300-EffectYU0mUbSTfcIvF_600x600.jpg |
600 |
476 |
N |
18913 |
13200 |
product |
22394 |
M |
0 |
|
22394 |
| 0 |
Seite-13-AM-45-300-EffectSblZ4MXMF3kDv_600x600.jpg |
600 |
476 |
N |
18914 |
13201 |
product |
22395 |
M |
0 |
|
22395 |
| 0 |
Seite-13-AM-45-300-EffectUzyLHp0LWGSJ2_600x600.jpg |
600 |
476 |
N |
18915 |
13202 |
product |
22396 |
M |
0 |
|
22396 |
| 0 |
Seite-13-AM-45-300-Effectr1Pph5gb1hS9m_600x600.jpg |
600 |
476 |
N |
18916 |
13203 |
product |
22397 |
M |
0 |
|
22397 |
| 0 |
424851_600x600.jpg |
600 |
324 |
N |
18938 |
13225 |
product |
22419 |
M |
0 |
|
22419 |
| 0 |
424851QySsbNo3R2VgU_600x600.jpg |
600 |
324 |
N |
18939 |
13226 |
product |
22420 |
M |
0 |
|
22420 |
| 0 |
424851eYI79vma1fXCj_600x600.jpg |
600 |
324 |
N |
18940 |
13227 |
product |
22421 |
M |
0 |
|
22421 |
| 0 |
424851AJuaQ1UDxjW7y_600x600.jpg |
600 |
324 |
N |
18941 |
13228 |
product |
22422 |
M |
0 |
|
22422 |
| 0 |
424851hyK2NewZw8L8Q_600x600.jpg |
600 |
324 |
N |
18942 |
13229 |
product |
22423 |
M |
0 |
|
22423 |
| 0 |
4248518DY0fjmFqMVic_600x600.jpg |
600 |
324 |
N |
18943 |
13230 |
product |
22424 |
M |
0 |
|
22424 |
| 0 |
424851Oaf45O6PMQqY5_600x600.jpg |
600 |
324 |
N |
18944 |
13231 |
product |
22425 |
M |
0 |
|
22425 |
| 0 |
424854_600x600.jpg |
600 |
320 |
N |
18945 |
13232 |
product |
22426 |
M |
0 |
|
22426 |
| 0 |
4248545XdXGRiXsKsu8_600x600.jpg |
600 |
320 |
N |
18946 |
13233 |
product |
22427 |
M |
0 |
|
22427 |
| 0 |
424854ITP9PUkKnQDz8_600x600.jpg |
600 |
320 |
N |
18947 |
13234 |
product |
22428 |
M |
0 |
|
22428 |
| 0 |
424854lKzM85dzgzRmX_600x600.jpg |
600 |
320 |
N |
18948 |
13235 |
product |
22429 |
M |
0 |
|
22429 |
| 0 |
4248542bcViqPNzifpd_600x600.jpg |
600 |
320 |
N |
18949 |
13236 |
product |
22430 |
M |
0 |
|
22430 |
| 0 |
424854KKOVvjzlQlLJK_600x600.jpg |
600 |
320 |
N |
18950 |
13237 |
product |
22431 |
M |
0 |
|
22431 |
| 0 |
4248544sOHyKX395WOp_600x600.jpg |
600 |
320 |
N |
18951 |
13238 |
product |
22432 |
M |
0 |
|
22432 |