Query time 0.00109
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "10.63"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "2.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_wk_vendor_custom_fields",
"access_type": "ALL",
"rows_examined_per_scan": 20,
"rows_produced_per_join": 2,
"filtered": "10.00",
"cost_info": {
"read_cost": "5.84",
"eval_cost": "0.40",
"prefix_cost": "6.24",
"data_read_per_join": "1K"
},
"used_columns": [
"field_id",
"field_name",
"profile_show",
"profile_required",
"field_type",
"position",
"is_default",
"section",
"matching_id",
"class",
"autocomplete_type"
],
"attached_condition": "(`marketpl_db`.`cscart_wk_vendor_custom_fields`.`profile_show` = 'Y')"
}
},
{
"table": {
"table_name": "cscart_wk_vendor_custom_fields_description",
"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_wk_vendor_custom_fields.field_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.00",
"eval_cost": "0.40",
"prefix_cost": "8.64",
"data_read_per_join": "1K"
},
"used_columns": [
"object_id",
"description",
"object_type",
"lang_code"
]
}
}
]
}
}
}
Result
| field_id |
field_name |
profile_show |
profile_required |
field_type |
position |
is_default |
section |
matching_id |
class |
autocomplete_type |
description |
required |
| 21 |
nit |
Y |
Y |
I |
0 |
N |
C |
0 |
|
|
Nit |
Y |
| 20 |
socio_camara_comercio |
Y |
N |
C |
0 |
N |
C |
0 |
|
|
Es socio de Cámara de Comercio de Guatemala |
N |
| 18 |
DPI |
Y |
N |
G |
0 |
N |
1 |
0 |
|
|
DPI (Ambos lados) |
N |
| 16 |
RTU |
Y |
N |
G |
0 |
N |
1 |
0 |
|
|
RTU |
N |
| 15 |
Patente de comercio |
Y |
N |
G |
0 |
N |
1 |
0 |
|
|
Patente de comercio |
N |
| 1 |
company |
Y |
Y |
I |
10 |
Y |
O |
0 |
company |
organization |
Nombre |
Y |
| 2 |
company_description |
Y |
N |
T |
20 |
Y |
O |
0 |
company |
organization |
Descripción |
N |
| 4 |
firstname |
Y |
Y |
I |
40 |
Y |
C |
0 |
first-name |
given-name |
Nombre |
Y |
| 5 |
lastname |
Y |
Y |
I |
50 |
Y |
C |
0 |
last-name |
surname |
Apellido |
Y |
| 6 |
email |
Y |
Y |
E |
60 |
Y |
C |
0 |
billing-email |
email |
Email |
Y |
| 7 |
phone |
Y |
Y |
I |
70 |
Y |
C |
0 |
phone |
phone-full |
Teléfono |
Y |
| 8 |
url |
Y |
N |
I |
80 |
Y |
C |
0 |
url |
url |
URL |
N |
| 9 |
fax |
Y |
N |
I |
90 |
Y |
C |
0 |
fax |
fax-full |
Fax |
N |
| 19 |
departamento |
Y |
Y |
I |
100 |
N |
C |
0 |
|
|
Departamento |
Y |
| 11 |
city |
Y |
Y |
I |
110 |
Y |
C |
0 |
billing-city |
city |
Municipio |
Y |
| 13 |
state |
Y |
Y |
A |
120 |
Y |
C |
0 |
billing-state |
state |
Zona/Residencia |
Y |
| 10 |
address |
Y |
Y |
I |
130 |
Y |
C |
0 |
billing-address |
street-address |
Dirección |
Y |