Query time 0.00088
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__yt_mwi__icon' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (224,232,235,243,248,254,260)"
}
}
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["image_id"],
"ref": ["n764025_kutubminar123.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": ["n764025_kutubminar123.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 |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 8688 |
218-abt__yt_mwi__icon.png |
200 |
150 |
N |
3290 |
224 |
abt__yt_mwi__icon |
0 |
M |
0 |
|
8688 |
| 8689 |
226-abt__yt_mwi__icon.png |
200 |
150 |
N |
3291 |
232 |
abt__yt_mwi__icon |
0 |
M |
0 |
|
8689 |
| 8690 |
229-abt__yt_mwi__icon.png |
200 |
150 |
N |
3292 |
235 |
abt__yt_mwi__icon |
0 |
M |
0 |
|
8690 |
| 8691 |
237-abt__yt_mwi__icon.png |
200 |
150 |
N |
3293 |
243 |
abt__yt_mwi__icon |
0 |
M |
0 |
|
8691 |
| 8692 |
242-abt__yt_mwi__icon.png |
200 |
150 |
N |
3294 |
248 |
abt__yt_mwi__icon |
0 |
M |
0 |
|
8692 |
| 8693 |
248-abt__yt_mwi__icon.png |
200 |
150 |
N |
3295 |
254 |
abt__yt_mwi__icon |
0 |
M |
0 |
|
8693 |
| 8694 |
254-abt__yt_mwi__icon.png |
200 |
150 |
N |
3296 |
260 |
abt__yt_mwi__icon |
0 |
M |
0 |
|
8694 |