Unit 1 Dbms
Unit 1 Dbms
Tuple − A single row of a table, which contains a single record for that relation
is called a tuple.
Relation key − Each row has one or more attributes, known as relation key,
which can identify the row in the relation (table) uniquely.
Attribute domain − Every attribute has some pre-defined value scope, known
as attribute domain.
A Sample Relational Database
Hierarchical Model
In this model each entity has only one parent but can have
several children . At the top of hierarchy there is only one
entity which is called Root.
Network Model
In the network model, entities are organised in a graph,in which
some entities can be accessed through sveral path
Physical Data Models
Three levels:
• External
• Conceptual
• Internal
• "Relational" refers to how the data appears to users, so to the
external and conceptual levels
– How it appears (as tables) and
– How you operate on it
• Use the layer pattern to manage complexity.
• Three levels:
– Internal/Physical level: Describes physical storage
structure of the database
– Conceptual/Logical level: Describes logical structure of the
whole database
– External or view level: Describes part of the database for a
particular user group; provide the right level of abstraction
and security control.
• The point of external views: to give different users different views of the data
The Conceptual Level
• Conceptual schema
• Routine Maintenance
Some of the routine maintenance activities of a DBA is
given below.