Query time 0.00062
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "23.11"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_feature_variants",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"rows_examined_per_scan": 22,
"rows_produced_per_join": 22,
"filtered": "100.00",
"index_condition": "(`test_uchur_k`.`cscart_product_feature_variants`.`variant_id` in (1,30,50,57,165,164,120,121,122,127,123,146,147,577,376,1471,1472,591,98,1475,152,1476))",
"cost_info": {
"read_cost": "13.21",
"eval_cost": "2.20",
"prefix_cost": "15.41",
"data_read_per_join": "34K"
},
"used_columns": [
"variant_id",
"color",
"position"
]
}
},
{
"table": {
"table_name": "cscart_product_feature_variant_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id",
"lang_code"
],
"key_length": "9",
"ref": [
"test_uchur_k.cscart_product_feature_variants.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 22,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.50",
"eval_cost": "2.20",
"prefix_cost": "23.11",
"data_read_per_join": "68K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
| variant_id |
position |
color |
variant |
| 577 |
0 |
|
Aku |
| 591 |
0 |
|
CRISPI |
| 1476 |
0 |
|
Meindl |
| 1471 |
0 |
|
Superalp NBK GTX |
| 164 |
0 |
|
TRAVELER |
| 122 |
0 |
|
Активный отдых |
| 98 |
0 |
#c9bdaa |
Бежевый |
| 121 |
0 |
|
Город |
| 1475 |
0 |
#3a3a3f |
Графит |
| 50 |
0 |
|
Демисезон |
| 57 |
0 |
#ffffff |
Зима |
| 1472 |
0 |
|
Италия |
| 147 |
0 |
#ffffff |
Китай |
| 376 |
0 |
#422f26 |
Коричневый |
| 146 |
0 |
#ffffff |
Логотип |
| 123 |
0 |
#ffffff |
Мужской |
| 127 |
0 |
#ffffff |
Охота |
| 30 |
0 |
|
р.41 |
| 120 |
0 |
|
Туризм |
| 152 |
0 |
#ffffff |
Унисекс |
| 165 |
0 |
#000000 |
Черный |
| 1 |
1 |
|
UCHUR |