Query time 0.00078
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": 28,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in ('5195','4985','5184','5194','5192','5191','5185','5190','5193','5615','7904','7903','7902')"
}
}
},
"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 |
| 8559 |
4985 |
product |
0 |
15610 |
A |
0 |
|
|
|
|
|
| 8560 |
4985 |
product |
0 |
15611 |
A |
0 |
|
|
|
|
|
| 9313 |
5184 |
product |
0 |
16364 |
A |
1 |
|
|
|
|
|
| 9322 |
5185 |
product |
0 |
16373 |
A |
1 |
|
|
|
|
|
| 9328 |
5190 |
product |
0 |
16379 |
A |
1 |
|
|
|
|
|
| 9331 |
5191 |
product |
0 |
16382 |
A |
1 |
|
|
|
|
|
| 9337 |
5192 |
product |
0 |
16388 |
A |
1 |
|
|
|
|
|
| 9340 |
5194 |
product |
0 |
16391 |
A |
1 |
|
|
|
|
|
| 9343 |
5195 |
product |
0 |
16394 |
A |
1 |
|
|
|
|
|
| 9346 |
5193 |
product |
0 |
16397 |
A |
1 |
|
|
|
|
|
| 9611 |
5615 |
product |
0 |
16670 |
A |
1 |
|
|
|
|
|
| 10663 |
7902 |
product |
0 |
17727 |
A |
1 |
|
|
|
|
|
| 10678 |
7904 |
product |
0 |
17742 |
A |
1 |
|
|
|
|
|
| 9314 |
5184 |
product |
0 |
16365 |
A |
2 |
|
|
|
|
|
| 9323 |
5185 |
product |
0 |
16374 |
A |
2 |
|
|
|
|
|
| 9329 |
5190 |
product |
0 |
16380 |
A |
2 |
|
|
|
|
|
| 9332 |
5191 |
product |
0 |
16383 |
A |
2 |
|
|
|
|
|
| 9338 |
5192 |
product |
0 |
16389 |
A |
2 |
|
|
|
|
|
| 9341 |
5194 |
product |
0 |
16392 |
A |
2 |
|
|
|
|
|
| 9344 |
5195 |
product |
0 |
16395 |
A |
2 |
|
|
|
|
|
| 9347 |
5193 |
product |
0 |
16398 |
A |
2 |
|
|
|
|
|
| 10677 |
7904 |
product |
0 |
17741 |
A |
2 |
|
|
|
|
|
| 10664 |
5190 |
product |
0 |
17728 |
A |
3 |
|
|
|
|
|
| 10665 |
5191 |
product |
0 |
17729 |
A |
3 |
|
|
|
|
|
| 10666 |
5194 |
product |
0 |
17730 |
A |
3 |
|
|
|
|
|
| 10667 |
5195 |
product |
0 |
17731 |
A |
3 |
|
|
|
|
|
| 10668 |
5184 |
product |
0 |
17732 |
A |
3 |
|
|
|
|
|
| 10669 |
5185 |
product |
0 |
17733 |
A |
3 |
|
|
|
|
|
| 10680 |
7904 |
product |
0 |
17744 |
A |
3 |
|
|
|
|
|
| 10675 |
7903 |
product |
0 |
17739 |
A |
5 |
|
|
|
|
|