Query time 0.00061
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "2.10"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_vendor_styles",
"access_type": "system",
"possible_keys": [
"company_id_layout_id"
],
"rows_examined_per_scan": 0,
"rows_produced_per_join": 1,
"filtered": "0.00",
"const_row_not_found": true,
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.10",
"prefix_cost": "0.00",
"data_read_per_join": "208"
},
"used_columns": [
"company_id",
"layout_id",
"style_id"
]
}
},
{
"table": {
"table_name": "cscart_bm_layouts",
"access_type": "ref",
"possible_keys": [
"is_default"
],
"key": "is_default",
"used_key_parts": [
"is_default",
"storefront_id"
],
"key_length": "5",
"ref": [
"const",
"const"
],
"rows_examined_per_scan": 6,
"rows_produced_per_join": 0,
"filtered": "10.00",
"cost_info": {
"read_cost": "1.50",
"eval_cost": "0.06",
"prefix_cost": "2.10",
"data_read_per_join": "360"
},
"used_columns": [
"layout_id",
"name",
"is_default",
"width",
"layout_width",
"min_width",
"max_width",
"theme_name",
"style_id",
"storefront_id"
],
"attached_condition": "(`s2cart`.`cscart_bm_layouts`.`theme_name` = 'aquawagon')"
}
}
]
}
}
Result
layout_id |
name |
is_default |
width |
layout_width |
min_width |
max_width |
theme_name |
style_id |
storefront_id |
78 |
UniTheme 2 (Light v2) - ult9 |
1 |
16 |
fluid |
280 |
1400 |
Aquawagon |
Black |
3 |