Query time 0.00065
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": 30,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (64761,64757,64976,64740)"
}
}
},
"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 |
| 38558 |
64761 |
product |
0 |
50791 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 38564 |
64761 |
product |
0 |
50797 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 50025 |
64976 |
product |
0 |
62258 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 38484 |
64757 |
product |
0 |
50717 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 38563 |
64761 |
product |
0 |
50796 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 63807 |
64976 |
product |
0 |
76040 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 38485 |
64757 |
product |
0 |
50718 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 50026 |
64976 |
product |
0 |
62259 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 64466 |
64740 |
product |
0 |
76699 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 38487 |
64757 |
product |
0 |
50720 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 38566 |
64761 |
product |
0 |
50799 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 63809 |
64976 |
product |
0 |
76042 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 63811 |
64976 |
product |
0 |
76044 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 63977 |
64761 |
product |
0 |
76210 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 64465 |
64740 |
product |
0 |
76698 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 65069 |
64757 |
product |
0 |
77302 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 37624 |
64740 |
product |
0 |
49857 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 38488 |
64757 |
product |
0 |
50721 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 38565 |
64761 |
product |
0 |
50798 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 63810 |
64976 |
product |
0 |
76043 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 37628 |
64740 |
product |
0 |
49861 |
A |
7 |
D |
0 |
0 |
|
|
|
|
|
| 57127 |
64757 |
product |
0 |
69360 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|
| 64106 |
64761 |
product |
0 |
76339 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|
| 38562 |
64761 |
product |
0 |
50795 |
A |
8 |
C |
0 |
0 |
|
|
|
|
|
| 46510 |
64757 |
product |
0 |
58743 |
A |
8 |
C |
0 |
0 |
|
|
|
|
|
| 68281 |
64740 |
product |
0 |
80514 |
A |
8 |
C |
0 |
0 |
|
|
|
|
|
| 57125 |
64757 |
product |
0 |
69358 |
A |
9 |
C |
0 |
0 |
|
|
|
|
|
| 60896 |
64761 |
product |
0 |
73129 |
A |
10 |
C |
0 |
0 |
|
|
|
|
|
| 60894 |
64761 |
product |
0 |
73127 |
A |
11 |
C |
0 |
0 |
|
|
|
|
|
| 60895 |
64761 |
product |
0 |
73128 |
A |
12 |
C |
0 |
0 |
|
|
|
|
|