Query time 0.00083
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": 37,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'variant_image' and cscart_images_links.`type` = 'V' and cscart_images_links.object_id in (226485,226455,226457,226462,226481,244281,226465,226466,244282,239948,226470,226472,226474,226477,226478,226483,228305,228306,228307,228338,228342,228339,228340,228341,228343,228347,228344,228345,228346,237260,237261,237262,237263,237264,237265,237266,237267)"
}
}
},
"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.detailed_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_images_links.detailed_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 |
| 44638 |
226455 |
variant_image |
56871 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 44640 |
226457 |
variant_image |
56873 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 44645 |
226462 |
variant_image |
56878 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 44648 |
226465 |
variant_image |
56881 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 44649 |
226466 |
variant_image |
56882 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 44653 |
226470 |
variant_image |
56886 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 44655 |
226472 |
variant_image |
56888 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 44657 |
226474 |
variant_image |
56890 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 44660 |
226477 |
variant_image |
56893 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 44661 |
226478 |
variant_image |
56894 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 44664 |
226481 |
variant_image |
56897 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 44666 |
226483 |
variant_image |
56899 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48320 |
228306 |
variant_image |
60553 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48321 |
228307 |
variant_image |
60554 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48322 |
228342 |
variant_image |
60555 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48323 |
228339 |
variant_image |
60556 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48324 |
228340 |
variant_image |
60557 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48325 |
228341 |
variant_image |
60558 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48326 |
228347 |
variant_image |
60559 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48327 |
228344 |
variant_image |
60560 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48328 |
228345 |
variant_image |
60561 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48329 |
228346 |
variant_image |
60562 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 68285 |
239948 |
variant_image |
80518 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 74008 |
244281 |
variant_image |
86241 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 74009 |
244282 |
variant_image |
86242 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|