Query time 0.00113
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": 24,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (64275,63757,63343,64277,64728,62540,62575,63344,64026,64743,63805,64946,64865,64738,65481,60856,65499,65498,65497,65590,65770,65720,65721,65613)"
}
}
},
"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 |
| 12878 |
60856 |
product |
0 |
22708 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 22112 |
62540 |
product |
0 |
34004 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 25519 |
63343 |
product |
0 |
37656 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 25523 |
63344 |
product |
0 |
37660 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 27199 |
63757 |
product |
0 |
39376 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 27390 |
63805 |
product |
0 |
39567 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 29346 |
64275 |
product |
0 |
41566 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 29352 |
64277 |
product |
0 |
41572 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 30213 |
64026 |
product |
0 |
42436 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 32117 |
62575 |
product |
0 |
44350 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 37564 |
64738 |
product |
0 |
49797 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 37663 |
64743 |
product |
0 |
49896 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 45212 |
64865 |
product |
0 |
57445 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 49000 |
64946 |
product |
0 |
61233 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 58897 |
65481 |
product |
0 |
71130 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 59408 |
65497 |
product |
0 |
71641 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 59448 |
65498 |
product |
0 |
71681 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 59470 |
65499 |
product |
0 |
71703 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 59581 |
64728 |
product |
0 |
71814 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 64637 |
65613 |
product |
0 |
76870 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 64868 |
65590 |
product |
0 |
77101 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67855 |
65720 |
product |
0 |
80088 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67858 |
65721 |
product |
0 |
80091 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 68348 |
65770 |
product |
0 |
80581 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|