Query time 0.00110
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_product_feature_variants.position, cscart_product_feature_variant_descriptions.variant",
"temporary_table": {
"table": {
"table_name": "cscart_product_feature_variants",
"access_type": "index",
"possible_keys": ["feature_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["variant_id"],
"rows": 39,
"filtered": 76.92308044,
"attached_condition": "cscart_product_feature_variants.feature_id in (1,4,2)"
},
"table": {
"table_name": "cscart_product_feature_variant_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["variant_id", "lang_code"],
"ref": [
"vietpom_dev.cscart_product_feature_variants.variant_id",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_product_feature_variant_descriptions.lang_code = 'vi')"
},
"table": {
"table_name": "cscart_product_features_values",
"access_type": "ref",
"possible_keys": [
"variant_id",
"lang_code",
"product_id",
"idx_product_feature_variant_id"
],
"key": "product_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["const"],
"rows": 12,
"filtered": 50.56497192,
"attached_condition": "trigcond(cscart_product_features_values.variant_id = cscart_product_feature_variants.variant_id and cscart_product_features_values.lang_code = 'vi')",
"using_index": true
},
"table": {
"table_name": "cscart_product_features",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["vietpom_dev.cscart_product_feature_variants.feature_id"],
"rows": 1,
"filtered": 100
},
"table": {
"table_name": "cscart_seo_names",
"access_type": "ref",
"possible_keys": ["PRIMARY", "dispatch"],
"key": "PRIMARY",
"key_length": "206",
"used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
"ref": [
"vietpom_dev.cscart_product_feature_variants.variant_id",
"const",
"const",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_seo_names.`type` = 'e' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'vi')"
}
}
}
}
}
Result
| variant |
variant_id |
feature_id |
selected |
feature_type |
seo_name |
seo_path |
| Bottle |
22 |
2 |
|
S |
|
|
| Các sản phẩm trị đau họng |
25 |
4 |
|
M |
|
|
| CAT1 |
13 |
4 |
|
M |
|
|
| CAT2 |
18 |
4 |
|
M |
|
|
| CAT3 |
21 |
4 |
|
M |
|
|
| CAT4 |
20 |
4 |
|
M |
|
|
| KG |
26 |
2 |
|
S |
|
|
| M00021 - HYPHENS |
30 |
1 |
30 |
S |
|
|
| M00104 - BIOTECHNICA PHARMA |
27 |
1 |
|
S |
|
|
| N |
38 |
1 |
|
S |
|
|
| Sản Phẩm Rửa Xoang Mũi |
46 |
4 |
|
M |
|
|
| Sản phẩm thử nghiệm |
39 |
4 |
|
M |
|
|
| Set |
11 |
2 |
|
S |
|
|
| SUB2 |
16 |
4 |
|
M |
|
|
| SUB3 |
19 |
4 |
|
M |
|
|
| SUBSUB2 |
17 |
4 |
|
M |
|
|
| S_n ph_m bn ch_y c_a Hyphens Vietnam |
36 |
4 |
|
M |
|
|
| Tai mũi họng |
24 |
4 |
|
M |
|
|
| Tai, Mũi, Họng |
45 |
4 |
|
M |
|
|
| TEST |
12 |
4 |
|
M |
|
|
| Tuýp |
31 |
2 |
31 |
S |
|
|
| Điều Trị Chuyên Khoa |
23 |
4 |
23 |
M |
|
|
| Điều Trị Chuyên Khoa,”Tai, Mũi, Họng”,”Sản Phẩm Rửa Xoang Mũi” |
44 |
4 |
|
M |
|
|
| Nhãn Khoa |
28 |
4 |
28 |
M |
|
|
| SUB1 |
14 |
4 |
|
M |
|
|
| Subcategory |
37 |
4 |
|
M |
|
|
| SUBSUB1 |
15 |
4 |
|
M |
|
|
| Điều Trị Khô Mắt |
29 |
4 |
29 |
M |
|
|
| Điều Trị Khô MắtViet |
32 |
4 |
|
M |
|
|
| Điều Trị Khô MắtVietXX |
33 |
4 |
|
M |
|
|