Database Management System 11
Database Management System 11
Database Management System 11
Data Examples
The number of visitors to a website in one month.
Inventory levels in a warehouse on a specific date.
Individual satisfaction scores on a customer service survey.
The price of a competitors’ product.
Information Examples
Understanding that changes to a website have led to an increase or
decrease in monthly site visitors.
Identifying supply chain issues based on trends in warehouse
inventory levels over time.
Finding areas for improvement with customer service based on a
collection of survey responses.
Determining if a competitor is charging more or less for a similar
product.
Database
A database is information that is set up for easy access, management
and updating. Computer databases typically store aggregations of data
records or files that contain information, such as sales transactions,
customer data, financials and product information.
Databases are used for storing, maintaining and accessing any sort of
data. They collect information on people, places or things. That
information is gathered in one place so that it can be observed and
analyzed. Databases can be thought of as an organized collection of
information.
Advantages of Databases
1) Data Centralization: Databases centralize data storage, providing
a single, organized repository for easy management and retrieval.
2) Data Integrity: Databases enforce integrity constraints, ensuring
the accuracy and reliability of data through validation rules.
3) Efficient Data Retrieval: Databases offer efficient retrieval
mechanisms, enabling quick and precise access to specific data
using queries.
4) Data Security: Databases implement access control mechanisms
to secure data, ensuring that only authorized users can view or
modify information.
5) Reduction of Data Redundancy: Databases minimize redundancy
by storing data in a centralized manner, reducing the likelihood of
inconsistent or duplicated information.
6) Concurrency Control: Databases manage simultaneous access to
data by multiple users or applications, preventing conflicts and
ensuring data consistency.
7) Scalability: Databases can scale to accommodate growing
amounts of data or increasing user demands without
compromising performance.
8) Data Independence: Databases provide a level of abstraction
between the physical data storage and the applications, allowing
changes to one without affecting the other.
Relational database
A relational database is a type of database that uses a structure that
allows data to be organized and accessed in a manner that is consistent
and efficient. The foundation of a relational database is the relational
model, which represents data as tables (relations) consisting of rows and
columns. The relationships between tables are established through
keys, providing a logical and structured way to manage and query data.
In this example:
The "Author ID" in the "Books" table serves as a foreign key referencing
the "Author ID" in the "Authors" table, establishing a relationship
between the two tables.
Field
Record
Table
Database
Foreign Key