词条 | Unnormalized form | |||||||||||||||||||||||||||
释义 |
Unnormalized form (UNF), also known as an unnormalized relation or non first normal form (NF2),[1] is a simple database data model (organization of data in a database) lacking the efficiency of database normalization. An unnormalized data model will suffer the pitfalls of data redundancy, where multiple values and/or complex data structures may be stored within a single field or attribute,[2] or where fields may be replicated within a single table (a way of subverting the first normal form rule of one value per field or attribute). OverviewA relation in unnormalized form is used to represent the data entered by a user through a form. If the form contains atomic fields, then the model can be considered in 1NF form.[3] However, if the form contains dependent attributes, they are stored as a data structure (typically another table) within that attribute. Data in unnormalized form would not be considered to be relational since it lacks atomic data. Some basic uses of unnormalized relations include dealing with form data in offices. One form would correspond to one record in the database.[1] HistoryIn 1970, E.F. Codd proposed the relational data model which was widely accepted as the standard data model. At that time, office automation was the major use of data storage systems, which resulted in the proposal of many NF2 data models like the Schek model, Jaeschke models (Non-recursive and recursive algebra), and the Nested Table Data (NTD) model.[1] IBM organized the first international workshop exclusively on this topic in 1987 which was held in Darmstadt, Germany.[1] Moreover, a lot of research has been done and journals have been published to address the shortcomings of the relational model. Since the turn of the century, NoSQL databases have become popular owing to the demands of Web 2.0.//www-03.ibm.com/ibm/history/exhibits/builders/builders_codd.html ExampleStudents take courses:
Alternate view:
The above tables represent data in unnormalized form as more than one value is stored in a single attribute within a row/tuple (or the notion of a single value per attribute is subverted with repeating columns). This lack of defined atomicity means that the table has not reached the level of First normal form.[4] Here, one student can take several courses and that data will be reflected in a single row in the database. One can see that relating entities based on 'course' is more problematic, as is ensuring consistency of data (being either impossible or very difficult in a systematic way). Of somewhat less importance in modern systems, the word 'Chemistry' is being stored three times in the database which results in potentially excess memory consumption. Advantages and disadvantagesAdvantages of unnormalized form over normalized forms are -
Disadvantages of unnormalized form are -
Modern applicationsToday, companies like Google, Amazon and Facebook deal with large amounts of data that are difficult to store efficiently. They use NoSQL databases, which are based on the principles of the unnormalized relational model, to deal with the storage issue.[8] Some examples of NoSQL databases are MongoDB, Apache Cassandra and Redis. These databases are more scalable and easier to query with as they do not involve expensive operations like JOIN.{{Citation needed|date=June 2018}} See also
References1. ^1 2 3 {{Cite book|title=The Unnormalized Relational Data Model|last=Kitagawa|first=Hiroyuki|last2=Kunii|first2=Tosiyasu L.|publisher=|isbn=978-4-431-70049-4|location=|pages=1, 5, 7, 10|via=|date=1990-02-06}} {{Database normalization}}2. ^1 {{Cite web|url=http://www.studytonight.com/dbms/database-normalization.php|title=1NF, 2NF, 3NF and BCNF in Database Normalization {{!}} DBMS Tutorial {{!}} Studytonight|website=www.studytonight.com|access-date=2016-09-14}} 3. ^{{Cite journal|last=Codd|first=E. F.|date=1970-06-01|title=A Relational Model of Data for Large Shared Data Banks|journal=Commun. ACM|volume=13|issue=6|pages=377–387|doi=10.1145/362384.362685|issn=0001-0782}} 4. ^{{Cite web|url=http://michaeljswart.com/2011/01/ridiculously-unnormalized-database-schemas-part-one/|title=Ridiculously Unnormalized Database Schemas – Part One|date=2011-01-19|language=en-US|access-date=2016-09-14}} 5. ^{{Cite web|url=https://www8.cs.umu.se/kurser/TDBC86/H05/Slides/20_OH_rellim.pdf|title=Limitations of the relational model|last=|first=|date=|website=|publisher=|access-date=}} 6. ^1 {{Cite web|url=https://www.techwalla.com/articles/advantages-disadvantages-of-normalizing-a-database|title=Advantages & Disadvantages of Normalizing a Database {{!}} Techwalla.com|access-date=2016-09-14}} 7. ^{{Cite journal|last=Abiteboul|first=Serge|last2=Bidoit|first2=Nicole|date=1986-12-01|title=Non-First Normal Form relations: An algebra allowing data restructuring|url=http://www.sciencedirect.com/science/article/pii/0022000086900589|journal=Journal of Computer and System Sciences|volume=33|issue=3|pages=361–393|doi=10.1016/0022-0000(86)90058-9}} 8. ^{{Cite journal|last=Moniruzzaman|first=A B M|last2=Hossain|first2=Syed Akhter|date=2013|title=NoSQL Database: New Era of Databases for Big data Analytics - Classification, Characteristics and Comparison|url=|journal=International Journal of Database Theory and Application|volume=6|issue=|doi=|pmid=|access-date=|via=}} 1 : Data modeling |
|||||||||||||||||||||||||||
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。