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": "ref",
"possible_keys": ["object_id"],
"key": "object_id",
"key_length": "81",
"used_key_parts": ["object_id", "object_type", "type"],
"ref": ["const", "const", "const"],
"rows": 25,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A'",
"attached_condition": "cscart_images_links.object_id <=> 64725 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 |
| 36986 |
64725 |
product |
0 |
49219 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 42516 |
64725 |
product |
0 |
54749 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 36987 |
64725 |
product |
0 |
49220 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 36991 |
64725 |
product |
0 |
49224 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 62811 |
64725 |
product |
0 |
75044 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 36993 |
64725 |
product |
0 |
49226 |
A |
7 |
D |
0 |
0 |
|
|
|
|
|
| 62815 |
64725 |
product |
0 |
75048 |
A |
9 |
D |
0 |
0 |
|
|
|
|
|
| 62812 |
64725 |
product |
0 |
75045 |
A |
10 |
D |
0 |
0 |
|
|
|
|
|
| 36994 |
64725 |
product |
0 |
49227 |
A |
11 |
D |
0 |
0 |
|
|
|
|
|
| 48926 |
64725 |
product |
0 |
61159 |
A |
12 |
C |
0 |
0 |
|
|
|
|
|
| 72562 |
64725 |
product |
0 |
84795 |
A |
13 |
C |
0 |
0 |
|
|
|
|
|
| 44342 |
64725 |
product |
0 |
56575 |
A |
14 |
C |
0 |
0 |
|
|
|
|
|
| 48927 |
64725 |
product |
0 |
61160 |
A |
15 |
C |
0 |
0 |
|
|
|
|
|
| 40411 |
64725 |
product |
0 |
52644 |
A |
16 |
C |
0 |
0 |
|
|
|
|
|
| 56234 |
64725 |
product |
0 |
68467 |
A |
17 |
C |
0 |
0 |
|
|
|
|
|
| 59572 |
64725 |
product |
0 |
71805 |
A |
18 |
C |
0 |
0 |
|
|
|
|
|
| 36995 |
64725 |
product |
0 |
49228 |
A |
19 |
C |
0 |
0 |
|
|
|
|
|
| 59573 |
64725 |
product |
0 |
71806 |
A |
21 |
C |
0 |
0 |
|
|
|
|
|
| 59574 |
64725 |
product |
0 |
71807 |
A |
22 |
C |
0 |
0 |
|
|
|
|
|
| 36996 |
64725 |
product |
0 |
49229 |
A |
23 |
C |
0 |
0 |
|
|
|
|
|
| 56235 |
64725 |
product |
0 |
68468 |
A |
24 |
C |
0 |
0 |
|
|
|
|
|
| 62161 |
64725 |
product |
0 |
74394 |
A |
25 |
C |
0 |
0 |
|
|
|
|
|
| 62162 |
64725 |
product |
0 |
74395 |
A |
26 |
C |
0 |
0 |
|
|
|
|
|
| 65251 |
64725 |
product |
0 |
77484 |
A |
27 |
C |
0 |
0 |
|
|
|
|
|
| 65528 |
64725 |
product |
0 |
77761 |
A |
28 |
C |
0 |
0 |
|
|
|
|
|