Query time 0.00083
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "15.96"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_settings_objects",
"access_type": "ref",
"possible_keys": [
"section_id"
],
"key": "section_id",
"used_key_parts": [
"section_id"
],
"key_length": "4",
"ref": [
"const"
],
"rows_examined_per_scan": 7,
"rows_produced_per_join": 6,
"filtered": "90.00",
"index_condition": "(`webmarco`.`cscart_settings_objects`.`section_id` <=> 123)",
"cost_info": {
"read_cost": "7.00",
"eval_cost": "1.26",
"prefix_cost": "8.40",
"data_read_per_join": "4K"
},
"used_columns": [
"object_id",
"edition_type",
"name",
"section_id",
"section_tab_id",
"type",
"value",
"position",
"is_global"
],
"attached_condition": "((find_in_set('STOREFRONT',`webmarco`.`cscart_settings_objects`.`edition_type`) or find_in_set('ROOT',`webmarco`.`cscart_settings_objects`.`edition_type`) or find_in_set('MVE:STOREFRONT',`webmarco`.`cscart_settings_objects`.`edition_type`) or find_in_set('MVE:ROOT',`webmarco`.`cscart_settings_objects`.`edition_type`)) and (`webmarco`.`cscart_settings_objects`.`type` <> 'H'))"
}
},
{
"table": {
"table_name": "storefront_values",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"storefront_id",
"company_id"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"company_id",
"storefront_id"
],
"key_length": "11",
"ref": [
"webmarco.cscart_settings_objects.object_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.30",
"eval_cost": "1.26",
"prefix_cost": "15.96",
"data_read_per_join": "151"
},
"used_columns": [
"object_id",
"company_id",
"value",
"storefront_id"
]
}
}
]
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
5962 |
template |
123 |
124 |
Z |
0 |
N |
template |
admin_panel.tpl |
5963 |
api_key |
123 |
124 |
D |
10 |
N |
api_key |
|
5964 |
private_key |
123 |
124 |
D |
20 |
N |
private_key |
|
5965 |
parent_private_key |
123 |
124 |
D |
30 |
N |
parent_private_key |
|
5966 |
import_status |
123 |
124 |
D |
40 |
N |
import_status |
|
5967 |
last_request |
123 |
124 |
D |
50 |
N |
last_request |
|
5968 |
last_resync |
123 |
124 |
D |
60 |
N |
last_resync |
|