Query time 0.00050
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": 15,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'variant_image' and cscart_images_links.`type` = 'V' and cscart_images_links.object_id in (218121,218122,218123,218124,239546,239542,239543,239544,239545,239590,239580,239582,239594,239591,239592)"
}
}
},
"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 |
| 36553 |
218122 |
variant_image |
48786 |
0 |
V |
0 |
D |
0 |
0 |
shade-12_bwfs-59.jpg |
|
300 |
300 |
48786 |
| 36554 |
218123 |
variant_image |
48787 |
0 |
V |
0 |
D |
0 |
0 |
shade-14_bu6n-ct.jpg |
|
300 |
300 |
48787 |
| 36555 |
218124 |
variant_image |
48788 |
0 |
V |
0 |
D |
0 |
0 |
shade-16_hto3-ep.jpg |
|
300 |
300 |
48788 |
| 66872 |
239542 |
variant_image |
79105 |
0 |
V |
0 |
D |
0 |
0 |
finish-pc-100-black.jpg |
Black |
300 |
300 |
79105 |
| 66873 |
239543 |
variant_image |
79106 |
0 |
V |
0 |
D |
0 |
0 |
finish-pc-200-white.jpg |
White |
300 |
300 |
79106 |
| 66874 |
239544 |
variant_image |
79107 |
0 |
V |
0 |
D |
0 |
0 |
finish-pc-300-dark-green.jpg |
Dark Green |
300 |
300 |
79107 |
| 66875 |
239545 |
variant_image |
79108 |
0 |
V |
0 |
D |
0 |
0 |
finish-pc-605-textured-rust_g46x-1q_7pv6-bc_xxfs-l4.jpg |
Rust |
300 |
300 |
79108 |
| 66899 |
239591 |
variant_image |
79132 |
0 |
V |
0 |
D |
0 |
0 |
standard-black.jpeg |
Standard Canopy |
300 |
300 |
79132 |
| 66900 |
239592 |
variant_image |
79133 |
0 |
V |
0 |
D |
0 |
0 |
hang-straight-black.jpeg |
|
300 |
300 |
79133 |