Query time 0.00045
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "10.92"
},
"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": 21,
"rows_produced_per_join": 2,
"filtered": "10.00",
"index_condition": "(`marketpl_db`.`cscart_profile_fields`.`profile_show` <=> 'Y')",
"cost_info": {
"read_cost": "4.20",
"eval_cost": "0.42",
"prefix_cost": "8.40",
"data_read_per_join": "2K"
},
"used_columns": [
"field_id",
"field_name",
"profile_show",
"profile_required",
"checkout_show",
"checkout_required",
"partner_show",
"partner_required",
"field_type",
"profile_type",
"position",
"is_default",
"section",
"matching_id",
"class",
"wrapper_class",
"autocomplete_type"
],
"attached_condition": "(`marketpl_db`.`cscart_profile_fields`.`profile_type` = 'S')"
}
},
{
"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": [
"marketpl_db.cscart_profile_fields.field_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.10",
"eval_cost": "0.42",
"prefix_cost": "10.92",
"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 |
field_type |
profile_type |
position |
is_default |
section |
matching_id |
class |
wrapper_class |
autocomplete_type |
description |
required |
| 57 |
socio |
Y |
N |
N |
N |
N |
N |
C |
S |
0 |
N |
C |
0 |
|
|
|
Es socio de Cámara de Comercio de Guatemala |
N |
| 60 |
pbx |
Y |
Y |
N |
N |
N |
N |
I |
S |
0 |
N |
C |
0 |
|
|
|
Pbx de oficina |
Y |
| 36 |
company |
Y |
Y |
N |
N |
N |
N |
I |
S |
10 |
Y |
C |
0 |
company |
|
organization |
Empresa |
Y |
| 50 |
plan_id |
Y |
Y |
N |
N |
N |
N |
V |
S |
15 |
Y |
C |
0 |
plan-id |
|
|
Plan |
Y |
| 37 |
admin_firstname |
Y |
Y |
N |
N |
N |
N |
I |
S |
20 |
N |
C |
0 |
first-name |
|
given-name |
Nombre |
Y |
| 38 |
admin_lastname |
Y |
Y |
N |
N |
N |
N |
I |
S |
30 |
N |
C |
0 |
last-name |
|
surname |
Apellido |
Y |
| 39 |
email |
Y |
Y |
N |
N |
N |
N |
E |
S |
40 |
Y |
C |
0 |
email |
|
email |
Correo electrónico |
Y |
| 41 |
address |
Y |
Y |
N |
N |
N |
N |
I |
S |
60 |
Y |
C |
0 |
shipping-address |
|
street-address |
Dirección |
Y |
| 53 |
departamento |
Y |
Y |
N |
N |
N |
N |
I |
S |
70 |
N |
C |
0 |
departamento |
departamento |
|
Departamento |
Y |
| 42 |
city |
Y |
Y |
N |
N |
N |
N |
I |
S |
80 |
Y |
C |
0 |
shipping-city |
|
city |
Municipio |
Y |
| 44 |
state |
Y |
Y |
N |
N |
N |
N |
A |
S |
100 |
Y |
C |
0 |
shipping-state |
|
state |
Poblado |
Y |
| 46 |
phone |
Y |
Y |
N |
N |
N |
N |
I |
S |
120 |
Y |
C |
0 |
shipping-phone |
|
phone-full |
Teléfono |
Y |
| 56 |
nit |
Y |
Y |
N |
N |
N |
N |
I |
S |
150 |
N |
C |
0 |
|
|
|
Nit (Número identificación tributaria) |
Y |