Query time 0.00044
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "7.87"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "0.30"
},
"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": 3,
"rows_produced_per_join": 0,
"filtered": "10.00",
"index_condition": "(`satishecarter_march_003`.`cscart_profile_fields`.`field_id` in ('23','25','27'))",
"cost_info": {
"read_cost": "7.15",
"eval_cost": "0.06",
"prefix_cost": "7.21",
"data_read_per_join": "314"
},
"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.30",
"eval_cost": "0.06",
"prefix_cost": "7.57",
"data_read_per_join": "235"
},
"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 |
23 |
s_city |
Y |
N |
Y |
Y |
N |
N |
Y |
I |
U |
50 |
Y |
S |
22 |
shipping-city |
|
city |
City |
27 |
s_country |
Y |
N |
Y |
Y |
N |
N |
Y |
O |
U |
60 |
Y |
S |
26 |
shipping-country |
|
country |
Country |
25 |
s_state |
Y |
N |
Y |
Y |
N |
N |
Y |
A |
U |
70 |
Y |
S |
24 |
shipping-state |
|
state |
State/province |