Query time 0.00062
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": 12,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (60815,64793,64901,65099,64743,64795,62188,29992,63227,64792,63805,63381)"
}
}
},
"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 |
| 13167 |
29992 |
product |
0 |
23262 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 13260 |
60815 |
product |
0 |
23433 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 20385 |
62188 |
product |
0 |
32207 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 24933 |
63227 |
product |
0 |
37009 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 25732 |
63381 |
product |
0 |
37869 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 27390 |
63805 |
product |
0 |
39567 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 37663 |
64743 |
product |
0 |
49896 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 39694 |
64792 |
product |
0 |
51927 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 39699 |
64793 |
product |
0 |
51932 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 39709 |
64795 |
product |
0 |
51942 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 47805 |
64901 |
product |
0 |
60038 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 53566 |
65099 |
product |
0 |
65799 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|