Query time 0.00055
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "2.27"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_profile_fields",
"access_type": "ref",
"possible_keys": [
"field_name",
"profile_show"
],
"key": "profile_show",
"used_key_parts": [
"profile_show"
],
"key_length": "4",
"ref": [
"const"
],
"rows_examined_per_scan": 14,
"rows_produced_per_join": 0,
"filtered": "2.44",
"cost_info": {
"read_cost": "0.75",
"eval_cost": "0.03",
"prefix_cost": "2.15",
"data_read_per_join": "360"
},
"used_columns": [
"field_id",
"field_name",
"profile_show",
"profile_required",
"checkout_show",
"checkout_required",
"partner_show",
"partner_required",
"storefront_show",
"field_type",
"profile_type",
"position",
"is_default",
"section",
"matching_id",
"class",
"wrapper_class",
"autocomplete_type",
"cml_export_to_1c",
"checkout_export_1c"
],
"attached_condition": "((`dev2`.`cscart_profile_fields`.`profile_type` = 'S') and (`dev2`.`cscart_profile_fields`.`field_name` <> 'company_description') and (`dev2`.`cscart_profile_fields`.`storefront_show` = 'Y'))"
}
},
{
"table": {
"table_name": "cscart_profile_field_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"object_type",
"lang_code"
],
"key_length": "12",
"ref": [
"dev2.cscart_profile_fields.field_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.09",
"eval_cost": "0.03",
"prefix_cost": "2.27",
"data_read_per_join": "267"
},
"used_columns": [
"object_id",
"description",
"object_type",
"lang_code"
]
}
}
]
}
}
}
Result
field_id |
field_name |
profile_show |
profile_required |
checkout_show |
checkout_required |
partner_show |
partner_required |
storefront_show |
field_type |
profile_type |
position |
is_default |
section |
matching_id |
class |
wrapper_class |
autocomplete_type |
cml_export_to_1c |
checkout_export_1c |
description |
required |
36 |
company |
Y |
Y |
N |
N |
N |
N |
Y |
I |
S |
10 |
Y |
C |
0 |
company |
|
organization |
Y |
Y |
Название компании |
Y |
39 |
email |
Y |
Y |
N |
N |
N |
N |
Y |
E |
S |
40 |
Y |
C |
0 |
email |
|
email |
Y |
Y |
E-mail |
Y |
41 |
address |
Y |
Y |
N |
N |
N |
N |
Y |
I |
S |
60 |
Y |
C |
0 |
shipping-address |
|
street-address |
Y |
Y |
Адрес |
Y |
46 |
phone |
Y |
Y |
N |
N |
N |
N |
Y |
I |
S |
120 |
Y |
C |
0 |
shipping-phone |
|
phone-full |
Y |
Y |
Телефон |
Y |
48 |
url |
Y |
N |
N |
N |
N |
N |
Y |
I |
S |
140 |
Y |
C |
0 |
url |
|
url |
Y |
Y |
Веб-сайт |
N |
49 |
accept_terms |
Y |
Y |
N |
N |
N |
N |
Y |
B |
S |
150 |
Y |
C |
0 |
cm-agreement checkbox |
|
|
Y |
Y |
Я принимаю условия |
Y |