Query time 0.00068
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "10.49"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "0.40"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_profile_fields",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"field_id"
],
"key_length": "3",
"rows_examined_per_scan": 4,
"rows_produced_per_join": 0,
"filtered": "10.00",
"index_condition": "(`satishecarter_march_003`.`cscart_profile_fields`.`field_id` in ('6','7','9','32'))",
"cost_info": {
"read_cost": "9.53",
"eval_cost": "0.08",
"prefix_cost": "9.61",
"data_read_per_join": "419"
},
"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": "(`satishecarter_march_003`.`cscart_profile_fields`.`profile_type` = 'U')"
}
},
{
"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": [
"satishecarter_march_003.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.40",
"eval_cost": "0.08",
"prefix_cost": "10.09",
"data_read_per_join": "313"
},
"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 |
6 |
firstname |
Y |
N |
Y |
N |
N |
N |
Y |
I |
U |
10 |
Y |
C |
0 |
first-name |
|
given-name |
First name |
7 |
lastname |
Y |
N |
Y |
N |
N |
N |
Y |
I |
U |
20 |
Y |
C |
0 |
last-name |
|
surname |
Last name |
9 |
phone |
Y |
N |
Y |
N |
N |
N |
Y |
P |
U |
40 |
Y |
C |
0 |
phone |
|
tel |
Phone |
32 |
email |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
E |
U |
50 |
Y |
C |
0 |
litecheckout__field--full |
|
off |
E-mail |