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": "ref",
"possible_keys": ["object_id"],
"key": "object_id",
"key_length": "81",
"used_key_parts": ["object_id", "object_type", "type"],
"ref": ["const", "const", "const"],
"rows": 24,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A'",
"attached_condition": "cscart_images_links.object_id <=> 62054 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 |
| 29937 |
62054 |
product |
0 |
42160 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 19710 |
62054 |
product |
0 |
31499 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 19711 |
62054 |
product |
0 |
31500 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 19712 |
62054 |
product |
0 |
31501 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 61451 |
62054 |
product |
0 |
73684 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 19733 |
62054 |
product |
0 |
31522 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 29936 |
62054 |
product |
0 |
42159 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 61447 |
62054 |
product |
0 |
73680 |
A |
7 |
D |
0 |
0 |
|
|
|
|
|
| 61448 |
62054 |
product |
0 |
73681 |
A |
8 |
D |
0 |
0 |
|
|
|
|
|
| 61450 |
62054 |
product |
0 |
73683 |
A |
9 |
D |
0 |
0 |
|
|
|
|
|
| 61452 |
62054 |
product |
0 |
73685 |
A |
10 |
D |
0 |
0 |
|
|
|
|
|
| 61453 |
62054 |
product |
0 |
73686 |
A |
11 |
D |
0 |
0 |
|
|
|
|
|
| 61454 |
62054 |
product |
0 |
73687 |
A |
12 |
D |
0 |
0 |
|
|
|
|
|
| 61455 |
62054 |
product |
0 |
73688 |
A |
13 |
D |
0 |
0 |
|
|
|
|
|
| 29938 |
62054 |
product |
0 |
42161 |
A |
14 |
C |
0 |
0 |
|
|
|
|
|
| 55993 |
62054 |
product |
0 |
68226 |
A |
15 |
C |
0 |
0 |
|
|
|
|
|
| 61855 |
62054 |
product |
0 |
74088 |
A |
16 |
C |
0 |
0 |
|
|
|
|
|
| 61856 |
62054 |
product |
0 |
74089 |
A |
17 |
C |
0 |
0 |
|
|
|
|
|
| 55991 |
62054 |
product |
0 |
68224 |
A |
18 |
C |
0 |
0 |
|
|
|
|
|
| 30272 |
62054 |
product |
0 |
42495 |
A |
19 |
C |
0 |
0 |
|
|
|
|
|
| 46470 |
62054 |
product |
0 |
58703 |
A |
20 |
C |
0 |
0 |
|
|
|
|
|
| 46471 |
62054 |
product |
0 |
58704 |
A |
21 |
C |
0 |
0 |
|
|
|
|
|
| 55992 |
62054 |
product |
0 |
68225 |
A |
22 |
C |
0 |
0 |
|
|
|
|
|
| 64917 |
62054 |
product |
0 |
77150 |
A |
23 |
D |
0 |
0 |
|
|
|
|
|