Query time 0.00348
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": 10,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (1566,2282,2248,1573,1493,1574,1527,1589,2256,1709)"
}
}
},
"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 |
salon-col5-5.jpg |
980 |
653 |
N |
|
6268 |
1573 |
product |
4477 |
A |
1 |
|
4477 |
| 0 |
flashback-col1.jpg |
980 |
653 |
N |
|
6270 |
1574 |
product |
4479 |
A |
1 |
|
4479 |
| 0 |
magnifico-col4-4.jpg |
980 |
653 |
N |
|
6284 |
1589 |
product |
4493 |
A |
1 |
|
4493 |
| 0 |
Persona_col.01_venk-e8.jpg |
900 |
675 |
N |
Persona_col.01_venk-e8.jpg |
7809 |
2256 |
product |
6019 |
A |
3 |
|
6019 |
| 0 |
Гармония_графика_col._04.jpg |
900 |
675 |
N |
Гармония_графика_col._04.jpg |
7901 |
2282 |
product |
6111 |
A |
3 |
|
6111 |
| 0 |
1_ame4-xq.jpg |
6564 |
4376 |
N |
1_ame4-xq.jpg |
9170 |
1566 |
product |
7380 |
A |
4 |
|
7380 |
| 0 |
20_5ler-ce.jpg |
560 |
400 |
N |
|
5949 |
1493 |
product |
4158 |
A |
5 |
|
4158 |