Query time 0.00012
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "6.41"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_ab__is_attributes",
"access_type": "ref",
"possible_keys": [
"storefront_id"
],
"key": "storefront_id",
"used_key_parts": [
"storefront_id"
],
"key_length": "4",
"ref": [
"const"
],
"rows_examined_per_scan": 9,
"rows_produced_per_join": 3,
"filtered": "33.33",
"using_index": true,
"cost_info": {
"read_cost": "1.01",
"eval_cost": "0.60",
"prefix_cost": "2.81",
"data_read_per_join": "48"
},
"used_columns": [
"is_id",
"storefront_id",
"attribute_type",
"object_type"
],
"attached_condition": "(`44mm_ru`.`cscart_ab__is_attributes`.`object_type` in ('C','P','F'))"
}
},
{
"table": {
"table_name": "is_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"is_id",
"lang_code"
],
"key_length": "9",
"ref": [
"44mm_ru.cscart_ab__is_attributes.is_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "0.60",
"prefix_cost": "6.41",
"data_read_per_join": "6K"
},
"used_columns": [
"is_id",
"lang_code",
"prefix",
"text",
"suffix"
]
}
}
]
}
}
Result
is_id |
storefront_id |
attribute_type |
object_type |
lang_code |
prefix |
text |
suffix |
value |
2 |
1 |
A |
C |
ru |
|
[text] |
купить на сайте 44mm.ru |
[text] купить на сайте 44mm.ru |
7 |
1 |
A |
F |
ru |
|
[text] |
|
[text] |
5 |
1 |
A |
P |
ru |
|
[text][image_num] |
|
[text][image_num] |
4 |
1 |
N |
C |
ru |
|
[text] |
|
[text] |
9 |
1 |
N |
F |
ru |
|
[text] |
|
[text] |
1 |
1 |
N |
P |
ru |
|
, изображение [n] |
|
, изображение [n] |
3 |
1 |
T |
C |
ru |
|
[text] |
|
[text] |
8 |
1 |
T |
F |
ru |
|
[text] |
|
[text] |
6 |
1 |
T |
P |
ru |
|
[text][image_num] |
|
[text][image_num] |