Query time 0.00088
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "116.21"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_feature_variants",
"access_type": "ALL",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 141,
"rows_produced_per_join": 70,
"filtered": "50.35",
"cost_info": {
"read_cost": "16.81",
"eval_cost": "14.20",
"prefix_cost": "31.01",
"data_read_per_join": "80K"
},
"used_columns": [
"variant_id",
"color",
"position"
],
"attached_condition": "(`atulecarter_atul_demo2`.`cscart_product_feature_variants`.`variant_id` in (54,89,45,91,47,88,48,50,92,60,62,64,94,93,95,97,98,101,102,100,111,121,114,112,115,117,135,103,104,106,99,130,132,1194,1199,1197,1195,1200,1196,1193,1201,86,87,133,134,96,90,105,116,107,113,82,108,75,72,81,110,79,109,118,119,136,120,124,122,123,125,127,126,128,129))"
}
},
{
"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": [
"atulecarter_atul_demo2.cscart_product_feature_variants.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 70,
"filtered": "100.00",
"cost_info": {
"read_cost": "71.00",
"eval_cost": "14.20",
"prefix_cost": "116.21",
"data_read_per_join": "214K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
| variant_id |
position |
color |
variant |
| 45 |
0 |
|
16GB |
| 47 |
0 |
|
1TB |
| 64 |
0 |
|
256GB |
| 79 |
0 |
|
256MB |
| 81 |
0 |
|
2GB |
| 50 |
0 |
|
320GB |
| 54 |
0 |
|
32GB |
| 75 |
0 |
|
4GB |
| 48 |
0 |
|
500GB |
| 82 |
0 |
|
512MB |
| 60 |
0 |
|
640GB |
| 62 |
0 |
|
750GB |
| 72 |
0 |
|
8GB |
| 116 |
0 |
|
Abbey Road Studios |
| 92 |
0 |
|
Acer |
| 86 |
0 |
|
Adidas |
| 129 |
0 |
|
Aiko |
| 91 |
0 |
|
Apple |
| 120 |
0 |
|
Arc System Works |
| 88 |
0 |
|
ASUS |
| 124 |
0 |
|
Capcom |
| 125 |
0 |
|
Casio |
| 130 |
0 |
|
Cleveland |
| 104 |
0 |
|
Cobra |
| 96 |
0 |
|
Concord Records |
| 111 |
0 |
|
Creative |
| 95 |
0 |
|
D-Link |
| 113 |
0 |
|
Entertainment One Ltd |
| 102 |
0 |
|
Garmin |
| 135 |
0 |
|
GoPro |
| 93 |
0 |
|
Hewlett-Packard |
| 108 |
0 |
|
HTC |
| 99 |
0 |
|
Intel |
| 103 |
0 |
|
Kenwood |
| 115 |
0 |
|
Koss |
| 94 |
0 |
|
LG |
| 136 |
0 |
|
Microsoft |
| 133 |
0 |
|
Montblanc |
| 109 |
0 |
|
Motorola |
| 122 |
0 |
|
Namco |
| 123 |
0 |
|
Namco Bandai Games |
| 87 |
0 |
|
Nike |
| 117 |
0 |
|
Nikon |
| 110 |
0 |
|
Nokia |
| 98 |
0 |
|
Panasonic |
| 100 |
0 |
|
Pioneer |
| 126 |
0 |
|
Quartet Manufacturing |
| 107 |
0 |
|
Rhino |
| 105 |
0 |
|
Roadrunner Records |
| 89 |
0 |
|
Samsung |
| 121 |
0 |
|
SanDisk |
| 114 |
0 |
|
Sony |
| 127 |
0 |
|
Swingline |
| 134 |
0 |
|
Tissot |
| 101 |
0 |
|
TomTom |
| 106 |
0 |
|
Toshiba |
| 97 |
0 |
|
TP-Link |
| 90 |
0 |
|
Universal Music Group |
| 118 |
0 |
|
Warner Bros. |
| 119 |
0 |
|
Warner Home Video |
| 128 |
0 |
|
Wilson Jones |
| 132 |
0 |
|
Wilson Staff |
| 112 |
0 |
|
Yamaha |
| 1193 |
1 |
|
Small |
| 1199 |
2 |
|
Blue |
| 1194 |
2 |
|
Large |
| 1200 |
3 |
|
Black |
| 1195 |
3 |
|
Medium |
| 1201 |
4 |
|
White |
| 1197 |
5 |
|
X Large |
| 1196 |
6 |
|
XX Large |