Query time 0.00095
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": 20,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (65703,65684,65705,65704,65686,65701,65698,65700,65691,65685,65688,65694,65696,65702,65697,65695,65690,65689,65693,65692)"
}
}
},
"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 |
| 66912 |
65684 |
product |
0 |
79145 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 66918 |
65685 |
product |
0 |
79151 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 66924 |
65686 |
product |
0 |
79157 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67046 |
65698 |
product |
0 |
79279 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67050 |
65693 |
product |
0 |
79283 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67056 |
65691 |
product |
0 |
79289 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67060 |
65692 |
product |
0 |
79293 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67064 |
65697 |
product |
0 |
79297 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67076 |
65690 |
product |
0 |
79309 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67080 |
65688 |
product |
0 |
79313 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67084 |
65689 |
product |
0 |
79317 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67088 |
65696 |
product |
0 |
79321 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67092 |
65694 |
product |
0 |
79325 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67096 |
65695 |
product |
0 |
79329 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67264 |
65702 |
product |
0 |
79497 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67268 |
65705 |
product |
0 |
79501 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67272 |
65700 |
product |
0 |
79505 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67276 |
65703 |
product |
0 |
79509 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67280 |
65701 |
product |
0 |
79513 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 67284 |
65704 |
product |
0 |
79517 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|