Query time 0.00099
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": "ref",
"possible_keys": ["object_id"],
"key": "object_id",
"key_length": "81",
"used_key_parts": ["object_id", "object_type", "type"],
"ref": ["const", "const", "const"],
"rows": 28,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A'",
"attached_condition": "cscart_images_links.object_id <=> 62226 and cscart_images_links.object_type <=> 'product' and cscart_images_links.`type` <=> 'A'"
}
}
},
"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 |
| 48108 |
62226 |
product |
0 |
60341 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 29930 |
62226 |
product |
0 |
42153 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 20686 |
62226 |
product |
0 |
32515 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 20687 |
62226 |
product |
0 |
32516 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 29928 |
62226 |
product |
0 |
42151 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 20649 |
62226 |
product |
0 |
32478 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 48110 |
62226 |
product |
0 |
60343 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 29929 |
62226 |
product |
0 |
42152 |
A |
7 |
D |
0 |
0 |
|
|
|
|
|
| 20646 |
62226 |
product |
0 |
32475 |
A |
8 |
D |
0 |
0 |
|
|
|
|
|
| 48111 |
62226 |
product |
0 |
60344 |
A |
9 |
D |
0 |
0 |
|
|
|
|
|
| 20648 |
62226 |
product |
0 |
32477 |
A |
10 |
D |
0 |
0 |
|
|
|
|
|
| 48109 |
62226 |
product |
0 |
60342 |
A |
11 |
D |
0 |
0 |
|
|
|
|
|
| 47940 |
62226 |
product |
0 |
60173 |
A |
12 |
C |
0 |
0 |
|
|
|
|
|
| 52349 |
62226 |
product |
0 |
64582 |
A |
13 |
C |
0 |
0 |
|
|
|
|
|
| 47943 |
62226 |
product |
0 |
60176 |
A |
14 |
C |
0 |
0 |
|
|
|
|
|
| 47941 |
62226 |
product |
0 |
60174 |
A |
15 |
C |
0 |
0 |
|
|
|
|
|
| 55633 |
62226 |
product |
0 |
67866 |
A |
16 |
C |
0 |
0 |
|
|
|
|
|
| 61710 |
62226 |
product |
0 |
73943 |
A |
17 |
C |
0 |
0 |
|
|
|
|
|
| 60282 |
62226 |
product |
0 |
72515 |
A |
18 |
C |
0 |
0 |
|
|
|
|
|
| 47942 |
62226 |
product |
0 |
60175 |
A |
19 |
C |
0 |
0 |
|
|
|
|
|
| 55632 |
62226 |
product |
0 |
67865 |
A |
20 |
C |
0 |
0 |
|
|
|
|
|
| 60281 |
62226 |
product |
0 |
72514 |
A |
21 |
C |
0 |
0 |
|
|
|
|
|
| 52348 |
62226 |
product |
0 |
64581 |
A |
22 |
C |
0 |
0 |
|
|
|
|
|
| 52552 |
62226 |
product |
0 |
64785 |
A |
23 |
C |
0 |
0 |
|
|
|
|
|
| 48113 |
62226 |
product |
0 |
60346 |
A |
24 |
C |
0 |
0 |
|
|
|
|
|
| 60815 |
62226 |
product |
0 |
73048 |
A |
25 |
C |
0 |
0 |
|
|
|
|
|
| 48112 |
62226 |
product |
0 |
60345 |
A |
26 |
C |
0 |
0 |
|
|
|
|
|
| 68371 |
62226 |
product |
0 |
80604 |
A |
26 |
C |
0 |
0 |
|
|
|
|
|