Database


 What is a database?

Answer: A database is a type of data storage that allows users to store and manipulate data. It makes data management easier by allowing them to easily access and manage their data.



Four types of databases

  • Rational database
  • Object-Oriented database
  • Hierarchical database
  • Network database

 

Rational database - A relational database is a type of database that holds information related to each other.  It uses a precise representation of data in tables and is based on the relational model. Each row of the table is documented with a unique ID, known as the key, which makes it easy to set relationships among data points. The columns of the table also have attributes of the data. Each record has a value that can be assigned to it.

Image of Rational database



 

Object-Oriented database- The concept of object-oriented databases emerged during the 1970s to address the need for a more integrated approach between various programming languages. Although they have been around for a long time, the adoption of these databases has been relatively low due to the growth of relational databases and functional programming languages. However, as the user community has grown, it is now able to provide fast and simple queries.

Image of Object-Oriented database



 

Hierarchical database- The hierarchical database model is ideal for use cases that involve the collection of information related to multiple employees working in a single department. The focus of the database is on the hierarchy, which is represented by the multiple employee reports. The tree-like structure of the hierarchical database provides a framework for storing data. There is a directory called "parent" that holds the records that link to other branches.

 Image of Hierarchical database



Network database- A network database is a type of model that allows multiple files or records to be linked to each other. It is typically regarded as an upside-down tree, with the members' information being the branch that connects to the owner. Relationships are in a net-like structure, which allows multiple data elements to be pointed to each other.

Image of Network database




Class Activity

Use the information above to answer the following questions.

Click the link below to access your class activity

Comments