Query time 0.00122
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 (2121,719,725,2097,2100,2102,2104,2101,2117,2120,2106,2108)"
}
}
},
"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 |
col._501.jpg |
1000 |
750 |
N |
col._501.jpg |
7146 |
2097 |
product |
5356 |
M |
0 |
|
5356 |
| 0 |
col._505.jpg |
1000 |
750 |
N |
col._505.jpg |
7149 |
2100 |
product |
5359 |
M |
0 |
|
5359 |
| 0 |
col._506.jpg |
1000 |
750 |
N |
col._506.jpg |
7150 |
2101 |
product |
5360 |
M |
0 |
|
5360 |
| 0 |
col._507.jpg |
1000 |
750 |
N |
col._507.jpg |
7151 |
2102 |
product |
5361 |
M |
0 |
|
5361 |
| 0 |
col._509.jpg |
1000 |
750 |
N |
col._509.jpg |
7153 |
2104 |
product |
5363 |
M |
0 |
|
5363 |
| 0 |
col._511.jpg |
1000 |
750 |
N |
col._511.jpg |
7155 |
2106 |
product |
5365 |
M |
0 |
|
5365 |
| 0 |
col._513.jpg |
1000 |
750 |
N |
col._513.jpg |
7157 |
2108 |
product |
5367 |
M |
0 |
|
5367 |
| 0 |
col._523.jpg |
1000 |
750 |
N |
col._523.jpg |
7165 |
2117 |
product |
5375 |
M |
0 |
|
5375 |
| 0 |
col._526.jpg |
1000 |
750 |
N |
col._526.jpg |
7168 |
2120 |
product |
5378 |
M |
0 |
|
5378 |
| 0 |
col._527.jpg |
1000 |
750 |
N |
col._527.jpg |
7169 |
2121 |
product |
5379 |
M |
0 |
|
5379 |
| 0 |
col._54.jpg |
2592 |
2592 |
N |
col._54.jpg |
7193 |
719 |
product |
5403 |
M |
1 |
|
5403 |
| 0 |
col._98.jpg |
2592 |
2592 |
N |
col._98.jpg |
7197 |
725 |
product |
5407 |
M |
1 |
|
5407 |