Query time 0.00115
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "13.60"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "1.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_profile_fields",
"access_type": "ALL",
"possible_keys": [
"field_name",
"profile_show"
],
"rows_examined_per_scan": 52,
"rows_produced_per_join": 0,
"filtered": "1.92",
"cost_info": {
"read_cost": "11.20",
"eval_cost": "0.20",
"prefix_cost": "11.40",
"data_read_per_join": "1K"
},
"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",
"ec_multiple",
"usergroup_ids"
],
"attached_condition": "((`webmarco`.`cscart_profile_fields`.`profile_type` = 'S') and (`webmarco`.`cscart_profile_fields`.`field_name` <> 'company_description') and (`webmarco`.`cscart_profile_fields`.`profile_show` = 'Y') and (`webmarco`.`cscart_profile_fields`.`storefront_show` = 'Y') and (`webmarco`.`cscart_profile_fields`.`usergroup_ids` = 0))"
}
},
{
"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": [
"webmarco.cscart_profile_fields.field_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.00",
"eval_cost": "0.20",
"prefix_cost": "12.60",
"data_read_per_join": "783"
},
"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 |
ec_multiple |
usergroup_ids |
description |
required |
54 |
5 |
Y |
N |
N |
N |
Y |
N |
Y |
I |
S |
0 |
N |
C |
0 |
|
|
|
N |
0 |
WhatsApp |
N |
36 |
company |
Y |
Y |
N |
N |
Y |
Y |
Y |
I |
S |
10 |
Y |
C |
0 |
company |
|
organization |
N |
0 |
Company |
Y |
60 |
tax_number |
Y |
N |
N |
N |
N |
N |
Y |
I |
S |
14 |
Y |
C |
0 |
tax_number |
|
|
N |
0 |
Tax number |
N |
50 |
plan_id |
Y |
N |
N |
N |
Y |
N |
Y |
V |
S |
15 |
Y |
C |
0 |
plan-id |
|
|
N |
0 |
Piano |
N |
39 |
email |
Y |
Y |
N |
N |
Y |
Y |
Y |
E |
S |
40 |
Y |
C |
0 |
email |
|
email |
N |
0 |
E-mail |
Y |
51 |
Input |
Y |
N |
N |
N |
Y |
N |
Y |
I |
S |
45 |
N |
C |
0 |
fax |
|
|
N |
0 |
Partita IVA |
N |
41 |
address |
Y |
N |
N |
N |
Y |
N |
Y |
I |
S |
60 |
Y |
C |
0 |
shipping-address |
|
street-address |
N |
0 |
Address |
N |
61 |
type |
Y |
N |
N |
N |
N |
N |
Y |
S |
S |
60 |
N |
C |
0 |
|
|
|
Y |
0 |
Type |
N |
62 |
categories |
Y |
N |
N |
N |
N |
N |
Y |
S |
S |
70 |
N |
C |
0 |
|
|
|
Y |
0 |
Categories |
N |
42 |
city |
Y |
N |
N |
N |
Y |
N |
Y |
I |
S |
80 |
Y |
C |
0 |
shipping-city |
|
city |
N |
0 |
City |
N |
43 |
country |
Y |
N |
N |
N |
Y |
N |
Y |
O |
S |
90 |
Y |
C |
0 |
shipping-country |
|
country |
N |
0 |
Country |
N |
57 |
province |
Y |
N |
N |
N |
N |
N |
Y |
I |
S |
95 |
N |
C |
0 |
|
|
|
N |
0 |
Province / Municipality |
N |
44 |
state |
Y |
N |
N |
N |
Y |
N |
Y |
A |
S |
100 |
Y |
C |
0 |
shipping-state |
|
state |
N |
0 |
State / Region |
N |
45 |
zipcode |
Y |
N |
N |
N |
Y |
N |
Y |
Z |
S |
110 |
Y |
C |
0 |
shipping-zip-code |
|
postal-code |
N |
0 |
Zip/postal code |
N |
46 |
phone |
Y |
N |
N |
N |
Y |
N |
Y |
I |
S |
120 |
Y |
C |
0 |
shipping-phone |
|
phone-full |
N |
0 |
Phone |
N |
48 |
url |
Y |
N |
N |
N |
Y |
N |
Y |
I |
S |
140 |
Y |
C |
0 |
url |
|
url |
N |
0 |
URL |
N |
49 |
accept_terms |
Y |
N |
N |
N |
Y |
N |
Y |
B |
S |
150 |
Y |
C |
0 |
cm-agreement checkbox |
|
|
N |
0 |
I accept the Terms and Conditions |
N |