Query time 0.00079
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": 26,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (63084,62704,62019,61273)"
}
}
},
"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 |
| 24258 |
63084 |
product |
0 |
36237 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 29786 |
62019 |
product |
0 |
42009 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 64832 |
62704 |
product |
0 |
77065 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 64846 |
61273 |
product |
0 |
77079 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 64600 |
63084 |
product |
0 |
76833 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 64848 |
61273 |
product |
0 |
77081 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 72672 |
62019 |
product |
0 |
84905 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 72673 |
62704 |
product |
0 |
84906 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 24268 |
63084 |
product |
0 |
36247 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 64829 |
62019 |
product |
0 |
77062 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 64833 |
62704 |
product |
0 |
77066 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 72668 |
61273 |
product |
0 |
84901 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 19193 |
62019 |
product |
0 |
30905 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 29912 |
63084 |
product |
0 |
42135 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 56236 |
62704 |
product |
0 |
68469 |
A |
3 |
C |
0 |
0 |
|
|
|
|
|
| 64854 |
61273 |
product |
0 |
77087 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 24267 |
63084 |
product |
0 |
36246 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 56261 |
62704 |
product |
0 |
68494 |
A |
4 |
C |
1 |
1781 |
|
|
|
|
|
| 69177 |
61273 |
product |
0 |
81410 |
A |
4 |
C |
0 |
0 |
|
|
|
|
|
| 29913 |
63084 |
product |
0 |
42136 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 55620 |
61273 |
product |
0 |
67853 |
A |
5 |
C |
0 |
0 |
|
|
|
|
|
| 66685 |
62704 |
product |
0 |
78918 |
A |
5 |
C |
0 |
0 |
|
|
|
|
|
| 24310 |
63084 |
product |
0 |
36289 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 66686 |
62704 |
product |
0 |
78919 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 69176 |
61273 |
product |
0 |
81409 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 55618 |
61273 |
product |
0 |
67851 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|