Query time 0.00102
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": 31,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (65477,65469,65025,64785)"
}
}
},
"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 |
| 51010 |
65025 |
product |
0 |
63243 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 51014 |
65025 |
product |
0 |
63247 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 66525 |
65025 |
product |
0 |
78758 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 66526 |
65025 |
product |
0 |
78759 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 66527 |
65025 |
product |
0 |
78760 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 66766 |
64785 |
product |
0 |
78999 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 66857 |
65469 |
product |
0 |
79090 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 66943 |
65477 |
product |
0 |
79176 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 39639 |
64785 |
product |
0 |
51872 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 66862 |
65469 |
product |
0 |
79095 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 66944 |
65477 |
product |
0 |
79177 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 66768 |
64785 |
product |
0 |
79001 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 66860 |
65469 |
product |
0 |
79093 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 66947 |
65477 |
product |
0 |
79180 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 39638 |
64785 |
product |
0 |
51871 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 66858 |
65469 |
product |
0 |
79091 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 66946 |
65477 |
product |
0 |
79179 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 39637 |
64785 |
product |
0 |
51870 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 66856 |
65469 |
product |
0 |
79089 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 66942 |
65477 |
product |
0 |
79175 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 66765 |
64785 |
product |
0 |
78998 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 66859 |
65469 |
product |
0 |
79092 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 66948 |
65477 |
product |
0 |
79181 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 66767 |
64785 |
product |
0 |
79000 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 66861 |
65469 |
product |
0 |
79094 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 66945 |
65477 |
product |
0 |
79178 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 68687 |
64785 |
product |
0 |
80920 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 68688 |
64785 |
product |
0 |
80921 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 68689 |
64785 |
product |
0 |
80922 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 68690 |
64785 |
product |
0 |
80923 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 66863 |
65469 |
product |
0 |
79096 |
A |
7 |
D |
0 |
0 |
|
|
|
|
|