Query time 0.00071
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": 24,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (62979,62981,62983,62984)"
}
}
},
"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 |
| 23683 |
62979 |
product |
0 |
35611 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 23742 |
62984 |
product |
0 |
35673 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 23745 |
62983 |
product |
0 |
35676 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 23681 |
62979 |
product |
0 |
35609 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 23741 |
62984 |
product |
0 |
35672 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 23788 |
62981 |
product |
0 |
35719 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 65172 |
62983 |
product |
0 |
77405 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 23682 |
62979 |
product |
0 |
35610 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 23743 |
62984 |
product |
0 |
35674 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 23744 |
62983 |
product |
0 |
35675 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 23789 |
62981 |
product |
0 |
35720 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 33282 |
62979 |
product |
0 |
45515 |
A |
3 |
C |
0 |
0 |
|
|
|
|
|
| 63622 |
62981 |
product |
0 |
75855 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 64338 |
62984 |
product |
0 |
76571 |
A |
3 |
C |
0 |
0 |
|
|
|
|
|
| 65171 |
62983 |
product |
0 |
77404 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 29197 |
62984 |
product |
0 |
41417 |
A |
4 |
C |
0 |
0 |
|
|
|
|
|
| 63621 |
62981 |
product |
0 |
75854 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 65173 |
62983 |
product |
0 |
77406 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 23787 |
62981 |
product |
0 |
35718 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 28337 |
62983 |
product |
0 |
40530 |
A |
5 |
C |
0 |
0 |
|
|
|
|
|
| 62269 |
62984 |
product |
0 |
74502 |
A |
5 |
C |
0 |
0 |
|
|
|
|
|
| 29196 |
62984 |
product |
0 |
41416 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 63620 |
62981 |
product |
0 |
75853 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 62270 |
62984 |
product |
0 |
74503 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|