Query time 0.00061
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": 5,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (265,268,271,272,270)"
}
}
},
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["image_id"],
"ref": ["cscart_purchase_fl_com.cscart_images_links.detailed_id"],
"rows": 1,
"filtered": 100
},
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "108",
"used_key_parts": ["object_id", "lang_code", "object_holder"],
"ref": ["cscart_purchase_fl_com.cscart_images.image_id", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'en' and trigcond(cscart_images.image_id is not null))"
}
}
}
Result
| image_id |
image_path |
image_x |
image_y |
is_high_res |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 0 |
Panda_War_Is_Over_Brown_upbc-sc.jpg |
1000 |
1000 |
N |
819 |
268 |
product |
8934 |
M |
0 |
|
8934 |
| 0 |
Panda_War_Is_Over_Black.jpg |
1000 |
1000 |
N |
821 |
270 |
product |
8936 |
M |
0 |
|
8936 |
| 0 |
Panda_War_Is_Over_Black_xilx-f6.jpg |
1000 |
1000 |
N |
822 |
271 |
product |
8937 |
M |
0 |
|
8937 |
| 0 |
Panda_War_Is_Over_Black_q6y9-n1.jpg |
1000 |
1000 |
N |
823 |
272 |
product |
8938 |
M |
0 |
|
8938 |
| 0 |
Panda_War_Is_Over_close_663h-xv.jpg |
1000 |
1000 |
N |
1199 |
265 |
product |
9280 |
M |
0 |
|
9280 |