Query time 0.00054
JSON explain
{
"query_block": {
"select_id": 1,
"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": 17,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'category' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in ('2419','3548','3473','2420','2421','3122','2392','2422','3430','3431','3432','3144','351','352')"
}
}
},
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["image_id"],
"ref": ["rfswire_cart.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": "107",
"used_key_parts": ["object_id", "lang_code", "object_holder"],
"ref": ["rfswire_cart.cscart_images.image_id", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_common_descriptions.object_id = cscart_images.image_id and cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'en' and trigcond(cscart_images.image_id is not null))"
}
}
}
Result
| pair_id |
object_id |
object_type |
image_id |
detailed_id |
type |
position |
image_path |
alt |
image_x |
image_y |
images_image_id |
| 7026 |
2392 |
category |
0 |
13941 |
M |
0 |
|
|
|
|
|
| 7035 |
351 |
category |
0 |
13950 |
M |
0 |
|
|
|
|
|
| 7036 |
352 |
category |
0 |
13951 |
M |
0 |
|
|
|
|
|
| 8057 |
2420 |
category |
0 |
15103 |
M |
0 |
|
|
|
|
|
| 8059 |
2421 |
category |
0 |
15105 |
M |
0 |
|
|
|
|
|
| 8060 |
2422 |
category |
0 |
15106 |
M |
0 |
|
|
|
|
|
| 8061 |
2419 |
category |
0 |
15107 |
M |
0 |
|
|
|
|
|
| 9067 |
3122 |
category |
0 |
16118 |
M |
0 |
|
|
|
|
|
| 9307 |
3144 |
category |
0 |
16358 |
M |
0 |
|
|
|
|
|
| 9558 |
3430 |
category |
0 |
16617 |
M |
0 |
|
|
|
|
|
| 9559 |
3431 |
category |
0 |
16618 |
M |
0 |
|
|
|
|
|
| 9560 |
3432 |
category |
0 |
16619 |
M |
0 |
|
|
|
|
|
| 9604 |
3473 |
category |
0 |
16663 |
M |
0 |
|
|
|
|
|
| 9906 |
3548 |
category |
0 |
16968 |
M |
0 |
|
|
|
|
|