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": 32,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (62656,62584,62626,62585)"
}
}
},
"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 |
| 22188 |
62585 |
product |
0 |
34080 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 22462 |
62626 |
product |
0 |
34360 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 22654 |
62656 |
product |
0 |
34552 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 66760 |
62584 |
product |
0 |
78993 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 22185 |
62585 |
product |
0 |
34077 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 66316 |
62656 |
product |
0 |
78549 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 66759 |
62584 |
product |
0 |
78992 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 66808 |
62626 |
product |
0 |
79041 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 22183 |
62584 |
product |
0 |
34075 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 22189 |
62585 |
product |
0 |
34081 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 66317 |
62656 |
product |
0 |
78550 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 66804 |
62626 |
product |
0 |
79037 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 22179 |
62584 |
product |
0 |
34071 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 22655 |
62656 |
product |
0 |
34553 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 30043 |
62585 |
product |
0 |
42266 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 66807 |
62626 |
product |
0 |
79040 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 29858 |
62584 |
product |
0 |
42081 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 66318 |
62656 |
product |
0 |
78551 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 66805 |
62626 |
product |
0 |
79038 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 66818 |
62585 |
product |
0 |
79051 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 22463 |
62626 |
product |
0 |
34361 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 66319 |
62656 |
product |
0 |
78552 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 66761 |
62584 |
product |
0 |
78994 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 66816 |
62585 |
product |
0 |
79049 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 66320 |
62656 |
product |
0 |
78553 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 66502 |
62584 |
product |
0 |
78735 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 66806 |
62626 |
product |
0 |
79039 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 66817 |
62585 |
product |
0 |
79050 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 60871 |
62585 |
product |
0 |
73104 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|
| 64511 |
62584 |
product |
0 |
76744 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|
| 64508 |
62584 |
product |
0 |
76741 |
A |
8 |
C |
0 |
0 |
|
|
|
|
|
| 64509 |
62584 |
product |
0 |
76742 |
A |
9 |
C |
0 |
0 |
|
|
|
|
|