Skip to main content

Understanding Of Databases. Database Advantages And Concepts Such As Primary And Foreign Keys.

 


What is a database?

(Vecteezy, n.d.)


An instrument for gathering and arranging information is a database. Databases can include data about people, things, orders, and anything else. In a spreadsheet or word processing application, lists frequently begin as databases. Redundancies and inconsistencies in the data start to show themselves as the list gets longer. Lists of data make it difficult to comprehend what they mean, and there are few options to search for or extract certain subsets of data for analysis. It is a good idea to move the data to a database made by a database management system (DBMS), such as Access, whenever these issues start to arise. A container of items is a digital database. Multiple tables may exist in a single database (Microsoft, 2021).


Advantages 
A database management system (DBMS) is essentially a set of software tools and applications that can access, analyse, and alter data. By taking into account the proper security measures, it permits access to, recovery of, and use of such data. For improved data integration and security, the database management system (DBMS) is quite helpful. The list below includes a few of them.

Enhanced Data Security 
The database is more vulnerable to security problems the easier it is to access and use. The danger to data security rises as a result of the rate at which data is shared or transferred growing along with the user base. It is commonly utilised in the corporate sector as businesses devote significant sums of money, time, and effort to guarantee that data is safe and is used appropriately. A database management system (DBMS) offers an improved framework for data privacy and security standards, assisting businesses in enhancing data security.

Reduced Data Inconsistency
When various versions of the same data exist in different places across files, data inconsistency arises. Thus, by properly designing a database, the amount of data inconsistency may be considerably minimised.

Better Decision-making
As a result of DBMS, we now have better data management and access, which enables us to produce information of higher quality. On this basis, choices may be taken with more accuracy. Accuracy, reliability, and read-time efficiency are all improved by better data quality. The structure provided by DBMS makes it simple to increase data quality, but it does not guarantee it.

Data Abstraction
Giving users access to an abstract view of the data is one of a database system's main goals. When developers utilise a variety of sophisticated algorithms to improve the effectiveness of databases that users can access but are disguised by different levels of data abstraction, users can engage with the system more readily.

Data Redundancy Reduction
A structured database's DBMS feature prevents the entry of duplicate entries into the database when dealing with it (geeksforgeeks, 2019).


Concepts
Primary Key
A primary key is a unique column (or set of columns) assigned to relational database table(s) in order to uniquely identify each table entry. For easy parsing of the table's contents, a primary key is utilised as a unique identifier. A table can only have one main key. The major attributes of a primary key are:
  • Each row of data must have a different value in it.
  • Null values are not permitted in it.
  • A primary key value is required for each row.
  • A primary key may make use of one or more of the underlying data model's fields, or it may be established as a distinct additional field.

Foreign Key
A column or set of columns in a relational database table known as a foreign key serves as a connection between the data in two different databases. It refers to the primary key of another table, creating a link between the two tables and serving as a cross-reference between them.

In a relational database system, the foreign key notion is used in the majority of tables. Data from a domain must be added to various tables in complex databases and data warehouses in order to preserve their relationship with one another. Foreign key theory is where the idea of referential integrity originated.

Below, is an example of the relationship between these two concepts.

(Singh, 2020)





References

geeksforgeeks (2019). Advantages of Database Management System - GeeksforGeeks. [online] GeeksforGeeks. Available at: https://www.geeksforgeeks.org/advantages-of-database-management-system/ [Accessed 18 Feb. 2023].

Microsoft (2021). Database basics. [online] support.microsoft.com. Available at: https://support.microsoft.com/en-us/office/database-basics-a849ac16-07c7-4a31-9948-3c8c94a7c204 [Accessed 18 Feb. 2023].

Rabelo, J. (2019a). What is a Foreign Key? - Definition from Techopedia. [online] Techopedia.com. Available at: https://www.techopedia.com/definition/7272/foreign-key [Accessed 18 Feb. 2023].

Rabelo, J. (2019b). What is a Primary Key? - Definition from Techopedia. [online] Techopedia.com. Available at: https://www.techopedia.com/definition/5547/primary-key [Accessed 18 Feb. 2023].

Singh, M. (2020). Primary key Vs Foreign Key in SQL. [online] Medium. Available at: https://macxima.medium.com/primary-key-vs-foreign-key-in-sql-d89260b74e1c [Accessed 18 Feb. 2023].

Vecteezy. (n.d.). Download Free Vectors, Clipart Graphics, Vector Art & Design Templates. [online] Available at: https://www.vecteezy.com/free-vector/database-logo [Accessed 18 Feb. 2023].






Comments

Popular posts from this blog

Website Homepage Wireframe: digital and hand sketch

  In order to create an online gaming store that is easy on the eye, informative and easy to navigate, the wireframe and structure need to be efficient. Below are two forms of how I would imagine my website to look like. Although, not the final piece, this digital demonstration envisions how the homepage/landing would be. The Gaming market is ever expanding, as such in order to  catch the attention of a potential customer, displaying the most in-demand products at the top is vital. Also, is a picture of the hand sketch of the homepage. It is still a work in progress, however, it can aid in the finalizing of elements and connection of web pages.

Invention of E-commerce and WWW(World Wide Web)

A number of people and organisations are responsible for the development of e-commerce and the World Wide Web. E-commerce, also known as electronic commerce, is the buying and selling of goods and services via the internet. CompuServe, an electronic marketplace launched in 1979, was the first known example of e-commerce (Turban et al., 2014, p.4) (History of Information) The World Wide Web, also known as the Web, is a network of interconnected hypertext documents that can be accessed via the internet. Tim Berners-Lee, a British computer scientist, invented the Web in 1989. (Berners-Lee, Fischetti, & Bly, 1999, p. 1). Berners-Lee created the first Web browser and Web server, as well as the first Web page, at the European Organization for Nuclear Research (CERN). Tim Berners-Lee (Spary, 2020) References Berners-Lee, T., Fischetti, M., & Bly, S. (1999). Weaving the web: The original design and ultimate destiny of the World Wide Web by its inventor. HarperSanFrancisco. CompuServe, ...

About Pages/Brand Stories Research For 2 Similar E-Commerce Websites

  About Page (Legal Knocks, n.d.) The 'About Us' page  is a great digital asset. Anyone coming to your website for the first time will be curious to learn more about the business and will go to the About page to do so. It is a crucial step in the website design process for businesses (Dublino, 2023). Importance 1. The About page encourages a sense of familiarity and trust. 2. The About page explains the possibilities to visitors. 3. By introducing visitors to you and your staff on the About page, your company becomes more approachable. (Dublino, 2023) Best Practices 1. Continue to focus on your customers when writing your About page. You don't have to talk about yourself only on your about page. Visitors to your website are there because they require assistance with an issue or difficulty. 2. Share your narrative on your About page. The attention of your audience might be attracted by delivering a captivating story. A compelling narrative about the humble beginnings of ...