Query time 0.00077
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": 33,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'variant_image' and cscart_images_links.`type` = 'V' and cscart_images_links.object_id in (220319,219225,219227,242997,219229,223696,223684,223685,223686,242984,223688,230902,230895,230896,230897,230898,230899,230900,233069,233070,233071,233072,233073,233074,233075,233076,233077,233103,233078,233079,233080,242999,233082)"
}
}
},
"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 |
| 37889 |
219227 |
variant_image |
50122 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 37891 |
219229 |
variant_image |
50124 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 38008 |
219225 |
variant_image |
50241 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 41980 |
223684 |
variant_image |
54213 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 41981 |
223685 |
variant_image |
54214 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 41982 |
223686 |
variant_image |
54215 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 41984 |
223688 |
variant_image |
54217 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 53447 |
233078 |
variant_image |
65680 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 53448 |
233079 |
variant_image |
65681 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 53449 |
233080 |
variant_image |
65682 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 53451 |
233082 |
variant_image |
65684 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 72628 |
242984 |
variant_image |
84861 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 72641 |
242997 |
variant_image |
84874 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|
| 72643 |
242999 |
variant_image |
84876 |
0 |
V |
0 |
D |
0 |
0 |
|
|
|
|
|