Query time 0.00046
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": "ref",
"possible_keys": ["object_id"],
"key": "object_id",
"key_length": "81",
"used_key_parts": ["object_id", "object_type", "type"],
"ref": ["const", "const", "const"],
"rows": 4,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A'",
"attached_condition": "cscart_images_links.object_id <=> '439' and cscart_images_links.object_type <=> 'product' and cscart_images_links.`type` <=> 'A'"
}
}
},
"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 |
199abb459f2f564096ea31aa51c01854.jpg |
1280 |
853 |
N |
|
4103 |
439 |
product |
2311 |
A |
1 |
|
2311 |
| 0 |
8b1d9934d5c723eb13687bb6d20e0c61.jpg |
6000 |
4000 |
N |
|
4104 |
439 |
product |
2312 |
A |
2 |
|
2312 |
| 0 |
00deb7b11e7cd2cb380dea4b08372dff.jpg |
4000 |
6000 |
N |
|
4105 |
439 |
product |
2313 |
A |
3 |
|
2313 |
| 0 |
d32d8c30ca02a0d585247d0697902e5d.jpg |
3968 |
5400 |
N |
|
4106 |
439 |
product |
2314 |
A |
4 |
|
2314 |
| 0 |
8094df0c1cbe28c1623e8af08710f40f.jpg |
4000 |
5096 |
N |
|
4107 |
439 |
product |
2315 |
A |
5 |
|
2315 |
| 0 |
8f8531f2a6066ed4fc51567634e2adfb.jpg |
3032 |
2389 |
N |
|
4108 |
439 |
product |
2316 |
A |
6 |
|
2316 |
| 0 |
041c9ed6424d6279c8f54d7cf293aacf.jpg |
4000 |
4944 |
N |
|
4109 |
439 |
product |
2317 |
A |
7 |
|
2317 |