Query time 0.00086
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": 9,
"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 |
| 245431 |
M103-Black |
22356 |
Guard Finish |
2 |
M103 |
4 |
0.000 |
A |
0.00 |
0.00 |
M103-Black | Marine Grade |
0 |
|
0 |
0.00 |
0 |
|
1 |
| 245432 |
M200-White |
22356 |
Guard Finish |
4 |
M200 |
4 |
0.000 |
A |
0.00 |
0.00 |
M200-White | Marine Grade |
0 |
|
0 |
0.00 |
0 |
|
1 |
| 245438 |
M210-Cream |
22356 |
Guard Finish |
16 |
M210 |
4 |
0.000 |
A |
0.00 |
0.00 |
M210-Cream | Marine Grade |
0 |
|
0 |
0.00 |
0 |
|
1 |
| 245433 |
M305-Forest Green |
22356 |
Guard Finish |
6 |
M305 |
4 |
0.000 |
A |
0.00 |
0.00 |
M305-Forest Green | Marine Grade |
0 |
|
0 |
0.00 |
0 |
|
1 |
| 245436 |
M315-Seafoam |
22356 |
Guard Finish |
12 |
M315 |
4 |
0.000 |
A |
0.00 |
0.00 |
M315-Seafoam | Marine Grade |
0 |
|
0 |
0.00 |
0 |
|
1 |
| 245435 |
M415-Red |
22356 |
Guard Finish |
10 |
M415 |
4 |
0.000 |
A |
0.00 |
0.00 |
M415-Red | Marine Grade |
0 |
|
0 |
0.00 |
0 |
|
1 |
| 245434 |
M603-Brown |
22356 |
Guard Finish |
8 |
M603 |
4 |
0.000 |
A |
0.00 |
0.00 |
M603-Brown | Marine Grade |
0 |
|
0 |
0.00 |
0 |
|
1 |
| 245437 |
M803-Dark Grey |
22356 |
Guard Finish |
14 |
M803 |
4 |
0.000 |
A |
0.00 |
0.00 |
M803-Dark Grey | Marine Grade |
0 |
|
0 |
0.00 |
0 |
|
1 |
| 220704 |
Please Select |
22356 |
Guard Finish |
0 |
skip |
4 |
0.000 |
A |
0.00 |
0.00 |
|
0 |
|
0 |
0.00 |
0 |
|
1 |