Query time 0.00067
JSON explain
{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"read_sorted_file": {
"filesort": {
"sort_key": "cscart_images_links.position, cscart_images_links.pair_id",
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": ["object_id"],
"key": "object_id",
"key_length": "81",
"used_key_parts": ["object_id", "object_type", "type"],
"rows": 7,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'abt__ut2/menu-with-icon' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (216,217,225,226,227,228,229)"
}
}
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["image_id"],
"ref": ["cscart_4183_25.cscart_images_links.image_id"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "108",
"used_key_parts": ["object_id", "lang_code", "object_holder"],
"ref": ["cscart_4183_25.cscart_images.image_id", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'en' and trigcond(cscart_images.image_id is not null))"
}
}
]
}
}
Result
image_id |
image_path |
image_x |
image_y |
is_high_res |
transparent |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
8725 |
210-abt__ut2_mwi__icon_l455-fp.png |
64 |
64 |
N |
Y |
3335 |
216 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
8725 |
8726 |
211-abt__ut2_mwi__icon_14ps-nc.png |
64 |
64 |
N |
Y |
3336 |
217 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
8726 |
8734 |
222-abt__ut2_mwi__icon_o052-8l.png |
64 |
64 |
N |
Y |
3344 |
225 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
8734 |
8735 |
223-abt__ut2_mwi__icon_1ut3-ql.png |
64 |
64 |
N |
Y |
3345 |
226 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
8735 |
8736 |
224-abt__ut2_mwi__icon_qfsc-p6.png |
64 |
64 |
N |
Y |
3346 |
227 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
8736 |
8737 |
225-abt__ut2_mwi__icon_daba-ms.png |
64 |
64 |
N |
Y |
3347 |
228 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
8737 |
8738 |
226-abt__ut2_mwi__icon_gwd5-h2.png |
64 |
64 |
N |
Y |
3348 |
229 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
8738 |