Query time 0.00074
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "i.option_name, d.variant_name",
"temporary_table": {
"table": {
"table_name": "o",
"access_type": "const",
"possible_keys": ["PRIMARY", "product_id"],
"key": "PRIMARY",
"key_length": "6",
"used_key_parts": ["option_id", "product_id"],
"ref": ["const", "const"],
"rows": 1,
"filtered": 100,
"using_index": true
},
"table": {
"table_name": "p",
"access_type": "const",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["const"],
"rows": 1,
"filtered": 100,
"using_index": true
},
"table": {
"table_name": "i",
"access_type": "ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["option_id"],
"ref": ["const"],
"rows": 1,
"filtered": 100
},
"table": {
"table_name": "v",
"access_type": "ref",
"possible_keys": ["PRIMARY", "option_id", "option_id_2", "status"],
"key": "option_id",
"key_length": "6",
"used_key_parts": ["option_id", "status"],
"ref": ["const", "const"],
"rows": 7,
"filtered": 100,
"index_condition": "v.`status` = 'A'"
},
"table": {
"table_name": "d",
"access_type": "ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["variant_id"],
"ref": ["cscart_migrate.v.variant_id"],
"rows": 1,
"filtered": 100
}
}
}
}
}
Result
| id |
name |
option_id |
option_name |
position |
nav_skus |
image_size |
modifier |
modifier_type |
commercial_modifier |
commercial_dn |
extra_details |
vertical_position |
separator_label |
lead_time |
base_cost |
same_as_option |
price_overrides |
is_global |
| 221135 |
12" Stem - ½ Diameter |
22394 |
Mounting Options |
10 |
ST512 |
4 |
3.000 |
A |
0.00 |
0.00 |
|
0 |
|
0 |
0.00 |
0 |
|
1 |
| 221136 |
18" Stem - ½ Diameter |
22394 |
Mounting Options |
15 |
ST518 |
4 |
5.000 |
A |
0.00 |
0.00 |
|
0 |
|
0 |
0.00 |
0 |
|
1 |
| 221137 |
24" Stem - ½ Diameter |
22394 |
Mounting Options |
20 |
ST524 |
4 |
7.000 |
A |
0.00 |
0.00 |
|
0 |
|
0 |
0.00 |
0 |
|
1 |
| 221138 |
36" Stem - ½ Diameter |
22394 |
Mounting Options |
25 |
ST536 |
4 |
12.000 |
A |
0.00 |
0.00 |
|
0 |
|
0 |
0.00 |
0 |
|
1 |
| 221139 |
48" Stem - ½ Diameter |
22394 |
Mounting Options |
30 |
ST548 |
4 |
16.000 |
A |
0.00 |
0.00 |
|
0 |
|
0 |
0.00 |
0 |
|
1 |
| 221134 |
6" Stem - ½ Diameter |
22394 |
Mounting Options |
5 |
ST506 |
4 |
0.000 |
A |
0.00 |
0.00 |
|
0 |
|
0 |
0.00 |
0 |
|
1 |
| 221133 |
Please Select |
22394 |
Mounting Options |
0 |
unselected |
4 |
0.000 |
A |
0.00 |
0.00 |
|
0 |
|
0 |
0.00 |
0 |
|
1 |