Collection
zero Useful+1
zero

Relational Model

relational model
This entry is missing Overview , add relevant content to make the entry more complete, and it can also be upgraded quickly. Hurry up edit Come on!
For database management relational model (English: Relational model) is based on Predicate logic and set theory One of data model , widely used in data base in Originally established in 1969 by Edgar Frank Codd Propose.
Chinese name
relational model
Foreign name
Relational Model
Presenter
Edgar Frank Codd
Category
data model
Model
relational model The basic assumption of data Are expressed mathematically relationship That is to say n individual aggregate Of Cartesian product One of subset , about this data reasoning Through binary (that is, no NULL )Of Predicate logic This means that for every proposition There are two possibilities assignment : either true or false. Data via Relational calculus and Relational algebra To operate. Relational model is a data model that uses two-dimensional table structure to express entity types and relationships between entities
The relational model allows designers to Database normalization To build a information Consistent model. Access plan And other implementation and operation details DBMS The engine should not be reflected in the logical model. This is opposite to the common practice of SQL DBMS Performance tuning It is often necessary to change the logical model.
The basic relationship building blocks are domains or data type tuple yes attribute Order of Multiple set (multiset). Attributes are ordered pairs of fields and values. Relational variable (relvar) is the domain and name Ordered pair A set of (ordered pairs) that serves as a relational Header (header)。 relationship Is a collection of tuples. Despite these Concept of relationship They are mathematically defined and can be loosely mapped to traditional database concepts. A table is a recognized visual representation of a relationship; Tuples similar to that 's ok The concept of.
The basic principle of the relational model is Information principle : All information Are represented as Data value Therefore, the relationship variable Design time Are not related to each other; Instead, designers use the same field , if an attribute depends on another attribute, the Referential integrity To force this dependence