Sixth normal form
Sixth normal form (6NF) is a normal form used in relational database normalization which extends the relational algebra and generalizes relational operators (such as join) to support interval data, which can be useful in temporal databases. The term 6NF has historically also been used to refer to another normalization degree, which today is more commonly known as domain-key normal form (DKNF) (see Other meanings). Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
Sixth normal form (6NF) is a normal form used in relational database normalization which extends the relational algebra and generalizes relational operators (such as join) to support interval data, which can be useful in temporal databases. The term 6NF has historically also been used to refer to another normalization degree, which today is more commonly known as domain-key normal form (DKNF) (see Other meanings). ==Usage== The sixth normal form is currently as of 2009 being used in some data warehouses where the benefits outweigh the drawbacks, for example using anchor modeling. Although using 6NF leads to an explosion of tables, modern databases can prune the tables from select queries (using a process called 'table elimination' - so that a query can be solved without even reading some of the tables that the query refers to ) where they are not required and thus speed up queries that only access several attributes. ==Examples== In order for a table to be in sixth normal form, it has to be in fifth normal form first and then it requires that each table satisfies only trivial join dependencies. Let's take a simple example with a table already in 5NF: Here, in the users table, every attribute is non null and the primary key is the username: This table is in 5NF because each join dependency is implied by the unique candidate key of the table (Username). More specifically, the only possible join dependencies are: {username, status}, {username, department}. The 6NF version would look like this: So, from one table in 5NF, 6NF produces two tables. Following is another example: The join dependencies of the table are {medic name, occupation}, {medic name, practice in years} and {medic name, type}. Hence we could see that such table is 2NF (due to the appearance of transitive dependency). The following tables try to bring it to 6NF: ==References==
Cite this
"Sixth normal form". 1787524082. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1370974304 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy