Query time 0.00056
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": 23,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'variant_image' and cscart_images_links.`type` = 'V' and cscart_images_links.object_id in (220320,219237,219238,219239,242973,219241,219249,219250,219252,219253,219254,219255,219256,219257,219258,219259,221133,221134,221135,221136,221137,221138,221139)"
}
}
},
"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 |
| 37901 |
219238 |
variant_image |
50134 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 37904 |
219241 |
variant_image |
50137 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 37912 |
219249 |
variant_image |
50145 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 37913 |
219250 |
variant_image |
50146 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 37915 |
219252 |
variant_image |
50148 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 37916 |
219253 |
variant_image |
50149 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 37917 |
219254 |
variant_image |
50150 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 37918 |
219255 |
variant_image |
50151 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 37919 |
219256 |
variant_image |
50152 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 37920 |
219257 |
variant_image |
50153 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 37921 |
219258 |
variant_image |
50154 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 37922 |
219259 |
variant_image |
50155 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 38738 |
219237 |
variant_image |
50971 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 49791 |
219239 |
variant_image |
62024 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 72617 |
242973 |
variant_image |
84850 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|