POD Chapter 2 Notes
POD Chapter 2 Notes
Database Models-
- A Database model defines the logical design and structure of a database which describes
how data will be stored, accessed and updated in a database management system.
- It gives idea how your final system or software will look like after development is
completed.
- List of data models:
1. Hierarchical Model
2. Network Model
3. Object Oriented Database Model
4. Entity-relationship Model
5. Relational Model
- Among these models, Relational Model is the most widely used database model.
Disadvantage:
Concepts:
1. Domain:
- A domain is the set of permitted values for one or more attributes.
- It defines the potential values that an attribute may hold.
- For e.g. If the age of the student in class is between 15 and 20, then we can define a set
of values for the age attribute of student a sthe set of integers between 15 and 20.
2. Flexibility: information from multiple tables can be retrieved easily at a time by joining
the tables.
3. Security: Security control and authorization can also be implemented more easily by
moving sensitive attributes in a given table into a separate relation with its own
authorization controls.
4. Data Independence: if any changes are made in database structure then there is no
need to make changes in the program. For e.g. We can modify the size or data type of a
field without making any change in application.
− It is the type of database in which no. of databases are stored at various locations
and interconnected through the computer network.
− In other words, A distributed database is a collection of multiple interconnected
databases, which are spread physically across various locations that communicate
via a computer network.
− In distributed database system each site may have its own memory and its own
database server.