shivabharat Posted July 9, 2003 Share Posted July 9, 2003 What\'s Database Normalization :?: Normalization is the process where a database is designed in a way that removes redundancies, and increases the clarity in organizing data in a database. In easy English, it means take similar stuff out of a collection of data and place them into tables. Keep doing this for each new table recursively and you\'ll have a Normalized database. From this resultant database you should be able to recreate the data into it\'s original state if there is a need to do so. The important thing here is to know when to Normalize and when to be practical. That will come with experience. For now, read on... Normalization of a database helps in modifying the design at later times and helps in being prepared if a change is required in the database design. Normalization raises the efficiency of the database in terms of management, data storage and scalability. Now Normalization of a Database is achieved by following a set of rules called \'forms\' in creating the database. These rules are 5 in number (with one extra one stuck in-between 3&4) and they are: 1st Normal Form or 1NF:Each Column Type is Unique. 2nd Normal Form or 2NF: The entity under consideration should already be in the 1NF and all attributes within the entity should depend solely on the entity\'s unique identifier. 3rd Normal Form or 3NF: The entity should already be in the 2NF and no column entry should be dependent on any other entry (value) other than the key for the table. If such an entity exists, move it outside into a new table. Now if these 3NF are achieved, the database is considered normalized. But there are three more \'extended\' NF for the elitist. These are: BCNF (Boyce & Codd): The database should be in 3NF and all tables can have only one primary key. 4NF: Tables cannot have multi-valued dependencies on a Primary Key. 5NF: There should be no cyclic dependencies in a composite key. Much of database design depends on how YOU want to keep the data. In real life situations often you may find it more convenient to store data in tables designed in a way that does fall a bit short of keeping all the NFs happy. But that\'s what databases are all about. Making your life simpler. Quote Link to comment https://forums.phpfreaks.com/topic/688-whats-database-normalization/ Share on other sites More sharing options...
pokeronald Posted July 9, 2003 Share Posted July 9, 2003 it helped me half half so i\'m not gonna vote Quote Link to comment https://forums.phpfreaks.com/topic/688-whats-database-normalization/#findComment-2271 Share on other sites More sharing options...
michael yare Posted August 1, 2003 Share Posted August 1, 2003 IIRC, doesn\'t a relational RDBMS only have to satisfy Boyce Codd NF to be termed \"relational\". This is useful stuff for \"noobs\" - maybe you should consider doing more or linking to database theory resources. I find that 90% of peoples\' problems aren\'t with code and syntax but with not understanding basic database operations. Quote Link to comment https://forums.phpfreaks.com/topic/688-whats-database-normalization/#findComment-2692 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.