LEC 7 Operation in Relational Database Model
LEC 7 Operation in Relational Database Model
Database Model
Operations in Relational Model
Four basic update operations performed on relational database model are
Insert, update, delete and select.
3. Modify allows you to change the values of some attributes in existing tuples.
Whenever one of these operations are applied, integrity constraints specified on the relational
database schema must never be violated.
Insert Operation
The insert operation gives values of the attribute for a new tuple which should be inserted into a
relation.
Update Operation
You can see that in the below-given relation table CustomerName= 'Apple' is updated from
Inactive to Active.
Delete Operation
To specify deletion, a condition on the attributes of the relation selects the tuple to be deleted.
Structural Independence: The relational database is only concerned with data and not with a structure. This
can improve the performance of the model.
Easy to use: The Relational model in DBMS is easy as tables consisting of rows and columns are quite natural
and simple to understand
Query capability: It makes possible for a high-level query language like SQL to avoid complex database
navigation.
Data independence: The Structure of Relational database can be changed without having to change any
application.
Scalable: Regarding a number of records, or rows, and the number of fields, a database should be enlarged to
enhance its usability.
Disadvantages of using Relational Model
1. Few relational databases have limits on field lengths which can't be exceeded.
2. Relational databases can sometimes become complex as the amount of data grows, and the
relations between pieces of data become more complicated.
3. Complex relational database systems may lead to isolated databases where the information
cannot be shared from one system to another.