Help shape GoConqr. What should we add next?

Mind map

Relational Model

Hector M. Takami Spanish

Mind map on relational model: relation, keys, integrity constraints and base and view relations

Mind map: Relational model

Map content

Relational Model

  1. 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.
  2. Attribute = is a column of a relation.

  3. 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
  4. Tuple = is a row of a relation.

  5. 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.
  6. 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.
  7. 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.
  8. Base A named relation corresponding to an entity in the conceptual schema, relation whose tuples are physically stored in the database.

  9. 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.

Information

Description
Mind Map on Relational Model, created by Hector M. Takami on 02/02/2017.
Views
3
Rating

More on Relational Databases and the Relational Model

Feedback

What is it about?

What should we add next?