Query time 0.00068
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,228217,228218,228219,228252,228256,228253,228254,228255,228257,228261,228258,228259,228260,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 |
|
|
|
|
|
| 48300 |
228218 |
variant_image |
60533 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48301 |
228219 |
variant_image |
60534 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48302 |
228256 |
variant_image |
60535 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48303 |
228253 |
variant_image |
60536 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48304 |
228254 |
variant_image |
60537 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48305 |
228255 |
variant_image |
60538 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48306 |
228261 |
variant_image |
60539 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48307 |
228258 |
variant_image |
60540 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48308 |
228259 |
variant_image |
60541 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 48309 |
228260 |
variant_image |
60542 |
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 |
|
|
|
|
|