Query time 0.00060
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "12.67"
},
"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": 12,
"rows_produced_per_join": 12,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.22",
"eval_cost": "1.20",
"prefix_cost": "5.42",
"data_read_per_join": "13K"
},
"used_columns": [
"variant_id",
"color",
"position"
],
"attached_condition": "(`cscart_db`.`cscart_product_feature_variants`.`variant_id` in (28494,20923,0,20888,27572,20887,20891,23598,20886,35798,53384,45416))"
}
},
{
"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": 12,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.05",
"eval_cost": "1.20",
"prefix_cost": "12.67",
"data_read_per_join": "89K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code",
"brand_logo"
]
}
}
]
}
}
}
Result
| variant_id |
position |
color |
variant |
brand_logo |
| 27572 |
0 |
|
Bones & Joints Health |
|
| 20888 |
0 |
|
Digestive Wellness |
|
| 28494 |
0 |
|
Dr. Morepen |
|
| 20887 |
0 |
|
General Immunity |
|
| 20886 |
0 |
|
General Wellness |
|
| 23598 |
0 |
|
Jivika Pure |
jivikapure_brand_kindlife_200x200.png |
| 45416 |
0 |
#ffffff |
Kindly Health |
|
| 20923 |
0 |
|
Sexual Wellness |
|
| 35798 |
0 |
|
Tablet |
|
| 20891 |
0 |
|
Weight Management |
|
| 53384 |
0 |
#ffffff |
Wishnew Wellness |
|