What is normalization in Database ?

Answer Posted / nivedita

Normalization is the process of designing a datamodel and
effociently store the data in a databaseFirst normal form
(1NF) lays the groundwork for an organised database design:
Ensure that each table has a primary key: minimal set of
attributes which can uniquely identify a record.

Eliminate repeating groups (categories of data which would
seem to be required a different number of times on
different records) by defining keyed and non-keyed
attributes appropriately.

Atomicity: Each attribute must contain a single value, not
a set of values.

'First normal form' depends on functional dependency
formula f(x)=y. For every value of x there is value for y.
Second normal form
Second normal form (2NF) If a table has a composite key,
all attributes must be related to the whole key:
The database must meet all the requirements of the first
normal form.
The relational schema should not have any partial
functional dependency i.e. No proper subset of the primary
key should derive a functional dependency belonging to the
same schema. For example, consider functional dependencies
FD:{AB->C, A->D, C->D} here AB is the primary key, as A->D
this relational schema is not in 2NF.
Third normal form
Third normal form (3NF) requires that data stored in a
table be dependent only on the primary key, and not on any
other field in the table.
The database must meet all the requirements of the first
and second normal form.
All fields must be directly dependent on the primary key
field. Any field which is dependent on a non-key field
which is in turn dependent on the Primary Key (ie a
transitive dependency) is moved out to a separate database
table.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different methods available under sqlcommand class to access the data?

680


What is the difference between a fill factor of 100 and 0?

522


What do you understand by the analysis services in sql server?

531


What is the process of normalising?

581


What is the difference between dbcc indexdefrag and dbcc reindex?

514






What are the limitations/drawbacks or ssrs 2008 r2?

86


What is the difference between ‘having’ clause and a ‘where’ clause?

540


What is entity data services?

573


Does sql server 2000 clustering support load balancing?

561


Are semicolons required at the end of sql statements in sql server 2005?

565


Explain sub-query?

562


How do I find the transaction log size in sql server?

509


What is the data type of time?

507


I have all the primary data files, secondary data files as well as logs. Now, tell me can I still restore the database without having a full backup? : sql server database administration

672


What is isolation levels?

562