Query time 0.00085
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "4.50"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_profile_fields",
"access_type": "ref",
"possible_keys": [
"profile_show"
],
"key": "profile_show",
"used_key_parts": [
"profile_show"
],
"key_length": "4",
"ref": [
"const"
],
"rows_examined_per_scan": 26,
"rows_produced_per_join": 2,
"filtered": "9.09",
"index_condition": "((`wearethehelpful_scalesta_net`.`cscart_profile_fields`.`field_type` <> 'E') or (`wearethehelpful_scalesta_net`.`cscart_profile_fields`.`field_type` = 'E'))",
"cost_info": {
"read_cost": "1.07",
"eval_cost": "0.24",
"prefix_cost": "3.67",
"data_read_per_join": "2K"
},
"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"
],
"attached_condition": "((`wearethehelpful_scalesta_net`.`cscart_profile_fields`.`profile_type` = 'U') and ((`wearethehelpful_scalesta_net`.`cscart_profile_fields`.`field_type` <> 'E') or ((`wearethehelpful_scalesta_net`.`cscart_profile_fields`.`section` <> 'C') and (`wearethehelpful_scalesta_net`.`cscart_profile_fields`.`field_type` = 'E'))))"
}
},
{
"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": [
"wearethehelpful_scalesta_net.cscart_profile_fields.field_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.59",
"eval_cost": "0.24",
"prefix_cost": "4.50",
"data_read_per_join": "1K"
},
"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 |
description |
required |
| 6 |
firstname |
Y |
N |
Y |
N |
N |
N |
Y |
I |
U |
10 |
Y |
C |
0 |
first-name |
|
given-name |
First name |
N |
| 14 |
b_firstname |
Y |
N |
Y |
N |
N |
N |
Y |
I |
U |
10 |
Y |
B |
15 |
billing-first-name |
|
given-name |
First name |
N |
| 15 |
s_firstname |
Y |
N |
Y |
Y |
N |
N |
Y |
I |
U |
10 |
Y |
S |
14 |
shipping-first-name |
|
given-name |
First name |
N |
| 7 |
lastname |
Y |
N |
Y |
N |
N |
N |
Y |
I |
U |
20 |
Y |
C |
0 |
last-name |
|
surname |
Last name |
N |
| 17 |
s_lastname |
Y |
N |
Y |
Y |
N |
N |
Y |
I |
U |
20 |
Y |
S |
16 |
shipping-last-name |
|
surname |
Last name |
N |
| 16 |
b_lastname |
Y |
N |
Y |
N |
N |
N |
Y |
I |
U |
20 |
Y |
B |
17 |
billing-last-name |
|
surname |
Last name |
N |
| 18 |
b_address |
Y |
N |
Y |
N |
N |
N |
Y |
I |
U |
30 |
Y |
B |
19 |
billing-address |
litecheckout__field--xlarge |
street-address |
Address |
N |
| 19 |
s_address |
Y |
N |
Y |
Y |
N |
N |
Y |
I |
U |
30 |
Y |
S |
18 |
shipping-address |
litecheckout__field--xlarge |
shipping street-address |
Address |
N |
| 9 |
phone |
Y |
N |
Y |
N |
N |
N |
Y |
P |
U |
40 |
Y |
C |
0 |
phone |
|
tel |
Phone |
N |
| 23 |
s_city |
Y |
N |
Y |
Y |
N |
N |
Y |
I |
U |
50 |
Y |
S |
22 |
shipping-city |
|
city |
City |
N |
| 22 |
b_city |
Y |
N |
Y |
N |
N |
N |
Y |
I |
U |
50 |
Y |
B |
23 |
billing-city |
|
city |
City |
N |
| 27 |
s_country |
Y |
N |
Y |
Y |
N |
N |
Y |
O |
U |
60 |
Y |
S |
26 |
shipping-country |
|
country |
Country |
N |
| 26 |
b_country |
Y |
N |
Y |
N |
N |
N |
Y |
O |
U |
60 |
Y |
B |
27 |
billing-country |
|
country |
Country |
N |
| 25 |
s_state |
Y |
Y |
Y |
Y |
N |
N |
Y |
A |
U |
70 |
Y |
S |
24 |
shipping-state |
|
state |
State/province |
Y |
| 29 |
s_zipcode |
Y |
N |
Y |
Y |
N |
N |
Y |
Z |
U |
80 |
Y |
S |
28 |
shipping-zip-code |
litecheckout__field--xsmall |
shipping postal-code |
Zip/postal code |
N |
| 28 |
b_zipcode |
Y |
N |
Y |
N |
N |
N |
Y |
Z |
U |
80 |
Y |
B |
29 |
billing-zip-code |
litecheckout__field--xsmall |
postal-code |
Zip/postal code |
N |