Query time 0.00154
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` = 'A' and cscart_images_links.object_id in (2489,2493,2490,2494,2488,2492,2495,2491,2496,2751,2743,2744)"
}
}
},
"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_01_квадрат.jpg |
6720 |
4480 |
N |
Empire_01_квадрат.jpg |
9443 |
2488 |
product |
7653 |
A |
1 |
|
7653 |
| 0 |
Empire_02_квадрат.jpg |
6720 |
4480 |
N |
Empire_02_квадрат.jpg |
9445 |
2489 |
product |
7655 |
A |
1 |
|
7655 |
| 0 |
Empire_03_квадрат.jpg |
6720 |
4480 |
N |
Empire_03_квадрат.jpg |
9447 |
2490 |
product |
7657 |
A |
1 |
|
7657 |
| 0 |
Empire_04_квадрат.jpg |
6720 |
4480 |
N |
Empire_04_квадрат.jpg |
9449 |
2491 |
product |
7659 |
A |
1 |
|
7659 |
| 0 |
Empire_05_квадрат.jpg |
6720 |
4480 |
N |
Empire_05_квадрат.jpg |
9452 |
2492 |
product |
7662 |
A |
1 |
|
7662 |
| 0 |
Empire_06_квадрат.jpg |
6720 |
4480 |
N |
Empire_06_квадрат.jpg |
9454 |
2493 |
product |
7664 |
A |
1 |
|
7664 |
| 0 |
Empire_07_квадрат.jpg |
6720 |
4480 |
N |
Empire_07_квадрат.jpg |
9456 |
2494 |
product |
7666 |
A |
1 |
|
7666 |
| 0 |
Empire_08_квадрат.jpg |
6720 |
4480 |
N |
Empire_08_квадрат.jpg |
9458 |
2495 |
product |
7668 |
A |
1 |
|
7668 |
| 0 |
Empire_09_квадрат.jpg |
6720 |
4480 |
N |
Empire_09_квадрат.jpg |
9460 |
2496 |
product |
7670 |
A |
1 |
|
7670 |
| 0 |
Empire_11_квадрат.jpg |
6720 |
4480 |
N |
Empire_11_квадрат.jpg |
11432 |
2743 |
product |
9639 |
A |
3 |
|
9639 |
| 0 |
Empire_12_квадрат.jpg |
6720 |
4480 |
N |
Empire_12_квадрат.jpg |
11436 |
2744 |
product |
9643 |
A |
3 |
|
9643 |
| 0 |
Empire_19_квадрат.jpg |
6720 |
4480 |
N |
Empire_19_квадрат.jpg |
11464 |
2751 |
product |
9671 |
A |
3 |
|
9671 |