Query time 0.00067
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": 29,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (64782,64786,64790,65026)"
}
}
},
"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 |
| 39622 |
64782 |
product |
0 |
51855 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 39643 |
64786 |
product |
0 |
51876 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 39681 |
64790 |
product |
0 |
51914 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 51015 |
65026 |
product |
0 |
63248 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 51019 |
65026 |
product |
0 |
63252 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 66603 |
64790 |
product |
0 |
78836 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 66690 |
64786 |
product |
0 |
78923 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 66709 |
64782 |
product |
0 |
78942 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 39624 |
64782 |
product |
0 |
51857 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 39682 |
64790 |
product |
0 |
51915 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 66565 |
65026 |
product |
0 |
78798 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 66693 |
64786 |
product |
0 |
78926 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 39683 |
64790 |
product |
0 |
51916 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 51016 |
65026 |
product |
0 |
63249 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 66692 |
64786 |
product |
0 |
78925 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 66708 |
64782 |
product |
0 |
78941 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 39641 |
64786 |
product |
0 |
51874 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 66568 |
65026 |
product |
0 |
78801 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 66600 |
64790 |
product |
0 |
78833 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 66707 |
64782 |
product |
0 |
78940 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 39623 |
64782 |
product |
0 |
51856 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 66566 |
65026 |
product |
0 |
78799 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 66601 |
64790 |
product |
0 |
78834 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 66691 |
64786 |
product |
0 |
78924 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 39642 |
64786 |
product |
0 |
51875 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 66567 |
65026 |
product |
0 |
78800 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 66602 |
64790 |
product |
0 |
78835 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 66706 |
64782 |
product |
0 |
78939 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 61434 |
64790 |
product |
0 |
73667 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|