Query time 0.00078
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 (1655,1657,1659,1658,1660,1656,1654,1661,1663,1664,1662,1665)"
}
}
},
"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 |
impulse_01ред.jpg |
6720 |
4480 |
N |
|
6425 |
1654 |
product |
4634 |
M |
0 |
|
4634 |
| 0 |
impulse_I-01.jpg |
6720 |
4480 |
N |
|
6426 |
1655 |
product |
4635 |
M |
0 |
|
4635 |
| 0 |
impulse_02ред.jpg |
6720 |
4480 |
N |
|
6428 |
1656 |
product |
4637 |
M |
0 |
|
4637 |
| 0 |
impulse_I-02.2.jpg |
6720 |
4480 |
N |
|
6429 |
1657 |
product |
4638 |
M |
0 |
|
4638 |
| 0 |
impulse_03ред.jpg |
6720 |
4480 |
N |
|
6431 |
1658 |
product |
4640 |
M |
0 |
|
4640 |
| 0 |
impulse_I-03.jpg |
6720 |
4480 |
N |
|
6432 |
1659 |
product |
4641 |
M |
0 |
|
4641 |
| 0 |
impulse_04ред.jpg |
6720 |
4480 |
N |
|
6434 |
1660 |
product |
4643 |
M |
0 |
|
4643 |
| 0 |
impulse_05ред.jpg |
6720 |
4480 |
N |
|
6435 |
1661 |
product |
4644 |
M |
0 |
|
4644 |
| 0 |
impulse_07ред.jpg |
6720 |
4480 |
N |
|
6439 |
1663 |
product |
4648 |
M |
0 |
|
4648 |
| 0 |
impulse_08ред.jpg |
6720 |
4480 |
N |
|
6440 |
1664 |
product |
4649 |
M |
0 |
|
4649 |
| 0 |
impulse_09ред.jpg |
6720 |
4480 |
N |
|
6441 |
1665 |
product |
4650 |
M |
0 |
|
4650 |
| 0 |
impulse_06_ред_htjd-tx.jpg |
6720 |
4480 |
N |
|
6438 |
1662 |
product |
4647 |
M |
2 |
|
4647 |