Query time 0.00057
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": 11,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (2753,2754,2749,2755,2746,2750,2752,2748,2747,2745,2742)"
}
}
},
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["image_id"],
"ref": ["noframes_kz_new.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": ["noframes_kz_new.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 = 'ru' and trigcond(cscart_images.image_id is not null))"
}
}
}
Result
| image_id |
image_path |
image_x |
image_y |
is_high_res |
rf_original |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 0 |
Empire_10_складка.jpg |
6720 |
4480 |
N |
Empire_10_складка.jpg |
11427 |
2742 |
product |
9634 |
M |
2 |
|
9634 |
| 0 |
Empire_13_складка.jpg |
6720 |
4480 |
N |
Empire_13_складка.jpg |
11439 |
2745 |
product |
9646 |
M |
2 |
|
9646 |
| 0 |
Empire_14_складка.jpg |
6720 |
4480 |
N |
Empire_14_складка.jpg |
11443 |
2746 |
product |
9650 |
M |
2 |
|
9650 |
| 0 |
Empire_15_складка.jpg |
6720 |
4480 |
N |
Empire_15_складка.jpg |
11447 |
2747 |
product |
9654 |
M |
2 |
|
9654 |
| 0 |
Empire_16_складка.jpg |
6720 |
4480 |
N |
Empire_16_складка.jpg |
11451 |
2748 |
product |
9658 |
M |
2 |
|
9658 |
| 0 |
Empire_17_складка.jpg |
6720 |
4480 |
N |
Empire_17_складка.jpg |
11455 |
2749 |
product |
9662 |
M |
2 |
|
9662 |
| 0 |
Empire_18_складка.jpg |
6720 |
4480 |
N |
Empire_18_складка.jpg |
11459 |
2750 |
product |
9666 |
M |
2 |
|
9666 |
| 0 |
Empire_20_складка.jpg |
6720 |
4480 |
N |
Empire_20_складка.jpg |
11467 |
2752 |
product |
9674 |
M |
2 |
|
9674 |
| 0 |
Empire_21_складка.jpg |
6720 |
4480 |
N |
Empire_21_складка.jpg |
11471 |
2753 |
product |
9678 |
M |
2 |
|
9678 |
| 0 |
Empire_22_складка.jpg |
6720 |
4480 |
N |
Empire_22_складка.jpg |
11475 |
2754 |
product |
9682 |
M |
2 |
|
9682 |
| 0 |
Empire_23_складка.jpg |
6720 |
4480 |
N |
Empire_23_складка.jpg |
11479 |
2755 |
product |
9686 |
M |
2 |
|
9686 |