Mapa mental
Relational Model

Mind map: Relational model
Conteúdo do mapa
Relational Model
Relation = A relation is a table with columns and rows.
- Degree of a relation = is the number of attributes it contains.
- Cardinality of a relation = is the number of tuples it contains
- Relational database is a collection of normalized relations with distinct relation names.
Attribute = is a column of a relation.
Domain = is the set of allowable values for one or more attributes.
- Relation Schema: A named relation defined by a set of attribute and domain name pairs.
- Relational database A set of relation schemas, each with a distinct name. schema
Tuple = is a row of a relation.
Superkey = is an attribute, or set of attributes, that uniquely identifies a tuple within a relation.
- Primary Key: The candidate key that is selected to identify tuples uniquely within the relation.
Candidate Key = A superkey such that no proper subset is a superkey within the relation
- Foreign Key: An attribute, or set of attributes, within one relation that matches the candidate key of some (possibly the same) relation.
Data Base Constraits
- Integrity Constraits
- Null: Represents a value for an attribute that is currently unknown or is not applicable for this tuple.
- Entity integrity In a base relation, no attribute of a primary key can be null
- Referential integrity: If a foreign key exists in a relation, either the foreign key value must match a candidate key value of some tuple in its home relation or the foreign key value must be wholly null.
- General Constraits: Additional rules specified by the users or database administrators of a database that define or constrain some aspect of the enterprise.
- Integrity Constraits
Base A named relation corresponding to an entity in the conceptual schema, relation whose tuples are physically stored in the database.
View The dynamic result of one or more relational operations operating on the base relations to produce another relation. A view is a virtual relation that does not necessarily exist in the database but can be produced upon request by a particular user, at the time of request.
Informações
- Descrição
- Mapa Mental sobre Relational Model, criado por Hector M. Takami em 02-02-2017.
- Criado por
- Hector M. Takami
- Visualizações
- 3
- Avaliação
Mais sobre Relational Databases and the Relational Model