Query time 0.00081
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 (60975,60981,61620,64149)"
}
}
},
"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 |
| 13539 |
60981 |
product |
0 |
23989 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 18084 |
60975 |
product |
0 |
29713 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 18085 |
60975 |
product |
0 |
29714 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 18090 |
60981 |
product |
0 |
29719 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 21982 |
61620 |
product |
0 |
33874 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 28645 |
64149 |
product |
0 |
40844 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 53588 |
60981 |
product |
0 |
65821 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 53589 |
60981 |
product |
0 |
65822 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 61372 |
60981 |
product |
0 |
73605 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 28646 |
64149 |
product |
0 |
40845 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 63925 |
61620 |
product |
0 |
76158 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 26248 |
60975 |
product |
0 |
38411 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 28647 |
64149 |
product |
0 |
40846 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 63922 |
61620 |
product |
0 |
76155 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 21983 |
61620 |
product |
0 |
33875 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 28648 |
64149 |
product |
0 |
40847 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 26247 |
60975 |
product |
0 |
38410 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 28649 |
64149 |
product |
0 |
40848 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 31665 |
61620 |
product |
0 |
43898 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 63923 |
61620 |
product |
0 |
76156 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 65920 |
64149 |
product |
0 |
78153 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 65921 |
64149 |
product |
0 |
78154 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 28762 |
64149 |
product |
0 |
40961 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 63924 |
61620 |
product |
0 |
76157 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 68157 |
61620 |
product |
0 |
80390 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|
| 68156 |
61620 |
product |
0 |
80389 |
A |
8 |
C |
0 |
0 |
|
|
|
|
|
| 31941 |
61620 |
product |
0 |
44174 |
A |
9 |
C |
0 |
0 |
|
|
|
|
|
| 54174 |
61620 |
product |
0 |
66407 |
A |
10 |
C |
0 |
0 |
|
|
|
|
|