Write about your understanding of databases. Explore the database advantages and write about database concepts such as primary and foreign keys


Database



Introduction 

Data is actual information about any object in various format for example, your name, age, weight, etc. are some data related to you. Image, file, pdf, etc. are also data.

A database is a systematic collection of data that is organized and stored in a way that allows efficient data storage, retrieval, manipulation, and management.  Databases are essential tools for businesses, organizations, and individuals to store and manage large volumes of structured and sometimes unstructured data. They provide a systematic way to manage data and ensure data integrity, consistency, and security.

For instance, Facebook stores, manipulates, and present data to give suggestions of friend. For advertisement, and a lot more. Peterson (2023).

 

Advantages of Databases:

It can be stored and retrieved in various techniques.

It minimises the data redundancy.

It balances the needs of multiple applications using the same data.

It has uniform administration procedures for data.

Offers Data Integrity and Security.

Reduced Application Development Time.


Primary and Foreign Keys 

Primary keys in relational databases serve as distinct IDs for each record in a table, maintaining data integrity, and facilitating effective data retrieval through indexing. They guarantee record exclusivity and provide as a starting point for creating associations with other tables using foreign keys. Contrarily, foreign keys establish relationships across tables, upholding referential integrity and preserving data consistency. They simplify database administration by preventing data anomalies, facilitating complicated data structures, and launching cascade processes. Together, primary and foreign keys are essential elements for creating relational database systems that are well-organized and durable.


Research:

Peterson (2023). What is Database? Defination, Meaning, Types with Example by Guru99,       Available at: https://www.guru99.com/introduction-to-database-sql.html

Yeh, D., Li, Y. and Chu, W., (2008) Extracting entity-relationship diagram from a table-based legacy database. Journal of Systems and Software, 81(5), pp.764-771


Comments