Query time 0.00071
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": 33,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (65416,61166,61211,59412)"
}
}
},
"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 |
| 14557 |
61166 |
product |
0 |
25477 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 14753 |
61211 |
product |
0 |
25700 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 14754 |
61211 |
product |
0 |
25701 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 14755 |
61211 |
product |
0 |
25702 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 14756 |
61211 |
product |
0 |
25703 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 14757 |
61211 |
product |
0 |
25704 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 14758 |
61211 |
product |
0 |
25705 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 14760 |
61211 |
product |
0 |
25707 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 18557 |
59412 |
product |
0 |
30225 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 61935 |
65416 |
product |
0 |
74168 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 61939 |
65416 |
product |
0 |
74172 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 14558 |
61166 |
product |
0 |
25478 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 20140 |
61211 |
product |
0 |
31956 |
A |
1 |
C |
0 |
0 |
|
|
|
|
|
| 61957 |
65416 |
product |
0 |
74190 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 14559 |
61166 |
product |
0 |
25479 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 61937 |
65416 |
product |
0 |
74170 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 14560 |
61166 |
product |
0 |
25480 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 61941 |
65416 |
product |
0 |
74174 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 14561 |
61166 |
product |
0 |
25481 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 61936 |
65416 |
product |
0 |
74169 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 17205 |
61211 |
product |
0 |
28762 |
A |
5 |
C |
0 |
0 |
|
|
|
|
|
| 32633 |
61166 |
product |
0 |
44866 |
A |
5 |
C |
0 |
0 |
|
|
|
|
|
| 61938 |
65416 |
product |
0 |
74171 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 16687 |
61166 |
product |
0 |
28252 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 32877 |
61211 |
product |
0 |
45110 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|
| 50057 |
61166 |
product |
0 |
62290 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|
| 61940 |
65416 |
product |
0 |
74173 |
A |
7 |
D |
0 |
0 |
|
|
|
|
|
| 61943 |
65416 |
product |
0 |
74176 |
A |
8 |
D |
0 |
0 |
|
|
|
|
|
| 61942 |
65416 |
product |
0 |
74175 |
A |
9 |
D |
0 |
0 |
|
|
|
|
|
| 62872 |
65416 |
product |
0 |
75105 |
A |
10 |
C |
0 |
0 |
|
|
|
|
|
| 61944 |
65416 |
product |
0 |
74177 |
A |
11 |
C |
0 |
0 |
|
|
|
|
|
| 62873 |
65416 |
product |
0 |
75106 |
A |
12 |
C |
0 |
0 |
|
|
|
|
|
| 61945 |
65416 |
product |
0 |
74178 |
A |
13 |
C |
0 |
0 |
|
|
|
|
|