Query time 0.00159
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "34.58"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_feature_variants",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"variant_feature_idx",
"idx_var_feat_pos"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"rows_examined_per_scan": 37,
"rows_produced_per_join": 37,
"filtered": "100.00",
"cost_info": {
"read_cost": "12.98",
"eval_cost": "3.70",
"prefix_cost": "16.68",
"data_read_per_join": "42K"
},
"used_columns": [
"variant_id",
"color",
"position"
],
"attached_condition": "(`cscart_db`.`cscart_product_feature_variants`.`variant_id` in (10449,20886,20887,20888,20891,20932,20933,27572,51631,35783,19048,52409,0,29826,20846,20912,28494,51612,40115,40332,20856,34540,37885,48122,53384,20855,20868,20909,49840,20866,21747,27559,35798,22924,55740,34314,10348))"
}
},
{
"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": [
"cscart_db.cscart_product_feature_variants.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 37,
"filtered": "100.00",
"cost_info": {
"read_cost": "14.21",
"eval_cost": "3.70",
"prefix_cost": "34.59",
"data_read_per_join": "276K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code",
"brand_logo"
]
}
}
]
}
}
}
Result
| variant_id |
position |
color |
variant |
brand_logo |
| 49840 |
0 |
|
Anti Ageing |
|
| 27572 |
0 |
|
Bones & Joints Health |
|
| 20933 |
0 |
|
Diabetes |
|
| 20888 |
0 |
|
Digestive Wellness |
|
| 28494 |
0 |
|
Dr. Morepen |
|
| 40332 |
0 |
#ffffff |
DR. SU |
|
| 34314 |
0 |
|
EVERPURE LIFE |
|
| 20887 |
0 |
|
General Immunity |
|
| 20886 |
0 |
|
General Wellness |
|
| 37885 |
0 |
|
Gummies |
|
| 20866 |
0 |
|
Hair Growth |
|
| 20932 |
0 |
|
Heart Health |
|
| 51612 |
0 |
#ffffff |
Hyaluronic Acid |
|
| 10348 |
0 |
|
India |
|
| 40115 |
0 |
#ffffff |
INJA Wellness |
|
| 52409 |
0 |
#ffffff |
Marine collagen |
|
| 20909 |
0 |
|
Nail Health |
|
| 35783 |
0 |
|
Powder |
|
| 55740 |
0 |
#ffffff |
Puretive |
|
| 48122 |
0 |
#ffffff |
Purna Gummies |
|
| 27559 |
0 |
|
SETU |
|
| 20856 |
0 |
|
Skin Brightening |
|
| 21747 |
0 |
|
Skin Elasticity |
|
| 34540 |
0 |
|
Skin Glow & Radiance |
|
| 20846 |
0 |
|
Skin Health |
|
| 20868 |
0 |
|
Skin Pigmentation |
|
| 20855 |
0 |
|
Skin Wrinkles & Fine Lines |
|
| 10449 |
0 |
|
Swisse |
|
| 35798 |
0 |
|
Tablet |
|
| 22924 |
0 |
|
TruNativ |
|
| 51631 |
0 |
#ffffff |
Vitamin C |
|
| 29826 |
0 |
|
Vlado's Himalayan Organics |
|
| 20891 |
0 |
|
Weight Management |
|
| 19048 |
0 |
|
Wellbeing Nutrition |
|
| 53384 |
0 |
#ffffff |
Wishnew Wellness |
|
| 20912 |
0 |
|
Women's Health |
|