Query time 0.00072
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": 20,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (62839,62843,62844,62847)"
}
}
},
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["image_id"],
"ref": ["cscart_migrate.cscart_images_links.image_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_images_links.image_id = cscart_images.image_id)"
},
"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": ["cscart_migrate.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_type |
show_gallery |
gallery_category_id |
image_path |
alt |
image_x |
image_y |
images_image_id |
| 23015 |
62839 |
product |
0 |
34926 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 23053 |
62847 |
product |
0 |
34964 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 23054 |
62844 |
product |
0 |
34965 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 23055 |
62844 |
product |
0 |
34966 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 23056 |
62844 |
product |
0 |
34967 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 23057 |
62844 |
product |
0 |
34968 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 23083 |
62843 |
product |
0 |
34994 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 64213 |
62847 |
product |
0 |
76446 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 23016 |
62839 |
product |
0 |
34927 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 23082 |
62843 |
product |
0 |
34993 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 64209 |
62847 |
product |
0 |
76442 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 23018 |
62839 |
product |
0 |
34929 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 23036 |
62843 |
product |
0 |
34947 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 23052 |
62847 |
product |
0 |
34963 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 23017 |
62839 |
product |
0 |
34928 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 23031 |
62843 |
product |
0 |
34942 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 64210 |
62847 |
product |
0 |
76443 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 64211 |
62847 |
product |
0 |
76444 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 64212 |
62847 |
product |
0 |
76445 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 60936 |
62847 |
product |
0 |
73169 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|