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": 31,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (63852,64849,64850,64851)"
}
}
},
"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 |
| 27851 |
63852 |
product |
0 |
40030 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 42560 |
64850 |
product |
0 |
54793 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 42569 |
64849 |
product |
0 |
54802 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 42576 |
64851 |
product |
0 |
54809 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 27850 |
63852 |
product |
0 |
40029 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 42561 |
64850 |
product |
0 |
54794 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 42565 |
64851 |
product |
0 |
54798 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 42570 |
64849 |
product |
0 |
54803 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 27852 |
63852 |
product |
0 |
40031 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 42562 |
64850 |
product |
0 |
54795 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 42566 |
64851 |
product |
0 |
54799 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 42574 |
64849 |
product |
0 |
54807 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 32532 |
63852 |
product |
0 |
44765 |
A |
3 |
C |
0 |
0 |
|
|
|
|
|
| 42563 |
64850 |
product |
0 |
54796 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 42568 |
64851 |
product |
0 |
54801 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 42573 |
64849 |
product |
0 |
54806 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 42564 |
64850 |
product |
0 |
54797 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 42567 |
64851 |
product |
0 |
54800 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 42571 |
64849 |
product |
0 |
54804 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 42572 |
64849 |
product |
0 |
54805 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 43168 |
64850 |
product |
0 |
55401 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 43914 |
64851 |
product |
0 |
56147 |
A |
5 |
C |
0 |
0 |
|
|
|
|
|
| 42577 |
64849 |
product |
0 |
54810 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 43911 |
64850 |
product |
0 |
56144 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 43913 |
64851 |
product |
0 |
56146 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 64921 |
64851 |
product |
0 |
77154 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 53351 |
64849 |
product |
0 |
65584 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|
| 43912 |
64849 |
product |
0 |
56145 |
A |
8 |
C |
0 |
0 |
|
|
|
|
|
| 53363 |
64849 |
product |
0 |
65596 |
A |
9 |
C |
0 |
0 |
|
|
|
|
|
| 66929 |
64849 |
product |
0 |
79162 |
A |
9 |
C |
0 |
0 |
|
|
|
|
|
| 66930 |
64849 |
product |
0 |
79163 |
A |
9 |
C |
0 |
0 |
|
|
|
|
|