Journal logo

A summary of Relational Model Database Management System

A summary of Relational Model Database Management System

By Karen AnthonyPublished 4 years ago 5 min read
Like

The relational model is a database that represents relations. It is a collection or a table of relational values. Each row in this table has a collection of data values that are related to one another. They provide information that is relevant to the business operations or the real-world if used for general purposes.

The name of the table and column aid in the interpretation of values in every row. This data presents a group of relations. In this model, this data is stored and collected in the form of a table. Its physical storage generally is influenced in the manner via which they have been arranged logically.

Given below are some examples of relational DBMS systems -

1. Informix Dynamic Server & DB2 – IBM

2. RDB & Oracle-Oracle

Access & SQL Server- Microsoft Concepts of the Relational Database Models

1. Attribute- This refers to every column present in the table. Characteristics refer to the properties that define any relations, for instance, Name, Roll No, Student, etc.

2. Table- In this model, the relations are stored and saved in the form of tables with their entities. The table has two columns and rows. Every row has the records, and every column will have the attributes.

3. Tuple- This refers to the single row of the table with one record

4. Relation Schema- This refers to the relation name with attributes

5. Degree- This has the total number of attributes along with the relation name

6. Cardinality- Represents the total rows inside the table

7. The column refers to the value set for specific attributes

8. Relation instance- Refers to a finite group of tuples present in the RDMS system. The cases of relation never have the chances of duplicate tuples

9. Each row has a single, more than once, or multiple attributes. This is known as the related key.

10. Attribute domain- Each attribute contains a pre-defined value. Its scope is called the attribute domain.

Constraints of Relational Integrity

Relational integrity refers to conditions that should exist about it to be valid. The constraints for integrity have been derived from rules represented in the database.

Integrity constraints can be of several types. These constraints on the system are divided primarily divided into-

1. Domain constraints

2. Constraints for Referential integrity and others.

Domain constraints

The domain constraints have violated the value of the attribute does not appear in its corresponding domain or is not of the appropriate data type.

Domain constraints mean that inside every tulpe, the value of every attribute must be unique. This can be specified in the form of data types that include real numbers, variable-length strings, characters, Booleans, and more.

Constraints of referential integrity in the database

This is based on the idea of foreign keys. It refers to a significant attribute of any relationship that can be applied to another relationship. The constraints for referential integrity occur when the relation indicates a critical attribute that is of the same or a different relation. For this to take place, the table should have a crucial element. For more information on these integrity constraints on the relational database management systems, you can contact qualified consultants from RemoteDBA.

What are the general forms of operations present in a Relational Model?

You can use four basic operations in the relational database model- update or modify, insert, delete, and select.

Modify signifies you can change the value of a few of the attributes in the tuples present

Insert, as the name suggests, is used when you want to place any data in the relation

Delete helps you to remove tuples in the table

Select is used when you choose a particular data range in the table.

If you use any one of the above operations, the specified integrity constraints on the relational database's schema are not violated.

What are the best practices for you to use in creating a relational model?

• The data in the system should always be represented in the form of collected relations

• You should depict every relation very clearly in the tables

• The rows created should contain the data of the instances of any entity

• The columns should contain data about all the entity attributes

• The table cells should contain one value

• You should give a unique name to each column

• Two rows should not be the same

• Values from one attribute must be from a single domain

Benefits of a relational model database system

1. Simple- The relational model is simple if you compare it to a network or a hierarchical model

2. Independent from the structure- The relational database focuses on the data and not on the structure. This helps to boost the performance of the system better.

3. User-friendly- The relational model is simple for you to use as the tables comprise of columns and rows. The model is natural and straightforward to understand.

4. The capability of the query- SQL language is a high-level language for queries, and when used here, you can avoid complicated database navigation.

5. Data modifications- You can change the structure of the database without the need to change the application.

6. Scalability- The system should be enlarged for enhancing its use irrespective of the number of rows, records, and fields it has.

Disadvantages of the relational model database

1. There are just some relational models that have restrictions on the length of the fields that cannot be exceeded.

2. Relational databases do become complicated to manage when the volume of the data increases. The relations between these bits of data become quite complicated.

3. If the database becomes complicated, this leads to isolated systems where data cannot be shared from one database to another.

When it comes to the maintaining and performance tuning of a relational database, you should keep the above points in mind. It is prudent to rely on skilled professionals with experience in these systems for performance tuning and maintenance without hassles.

business
Like

About the Creator

Karen Anthony

Reader insights

Be the first to share your insights about this piece.

How does it work?

Add your insights

Comments

There are no comments for this story

Be the first to respond and start the conversation.

Sign in to comment

    Find us on social media

    Miscellaneous links

    • Explore
    • Contact
    • Privacy Policy
    • Terms of Use
    • Support

    © 2024 Creatd, Inc. All Rights Reserved.