Query time 0.00068
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": 22,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (64180,64186,65154,65179)"
}
}
},
"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 |
| 28932 |
64180 |
product |
0 |
41152 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 28994 |
64186 |
product |
0 |
41214 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55768 |
65154 |
product |
0 |
68001 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55769 |
65154 |
product |
0 |
68002 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55771 |
65154 |
product |
0 |
68004 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 56094 |
65179 |
product |
0 |
68327 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 28933 |
64180 |
product |
0 |
41153 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 29005 |
64186 |
product |
0 |
41225 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 28934 |
64180 |
product |
0 |
41154 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 29003 |
64186 |
product |
0 |
41223 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 28935 |
64180 |
product |
0 |
41155 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 29004 |
64186 |
product |
0 |
41224 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 28937 |
64180 |
product |
0 |
41157 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 58270 |
64180 |
product |
0 |
70503 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 58479 |
64180 |
product |
0 |
70712 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|
| 60752 |
64180 |
product |
0 |
72985 |
A |
8 |
C |
0 |
0 |
|
|
|
|
|
| 58478 |
64180 |
product |
0 |
70711 |
A |
9 |
C |
0 |
0 |
|
|
|
|
|
| 60751 |
64180 |
product |
0 |
72984 |
A |
10 |
C |
0 |
0 |
|
|
|
|
|
| 60753 |
64180 |
product |
0 |
72986 |
A |
11 |
C |
0 |
0 |
|
|
|
|
|
| 65006 |
64180 |
product |
0 |
77239 |
A |
12 |
C |
0 |
0 |
|
|
|
|
|
| 65526 |
64180 |
product |
0 |
77759 |
A |
13 |
C |
0 |
0 |
|
|
|
|
|
| 65527 |
64180 |
product |
0 |
77760 |
A |
14 |
C |
0 |
0 |
|
|
|
|
|