Professional Documents
Culture Documents
DBMS Concepts
Wk 2 – Lec 4
Topics:
• Program-data dependence
•
•
Duplication of Data Database Management
Incompatibility of Files
• Limited Data Sharing Solution Approach was
• Lengthy Development Times
• Excessive program maintenance introduced
• Fixed queries and proliferation of applications
• Questionable data integrity
Solution Database
and DBMS
What is Data?
• Data is facts and statistics stored or free flowing over a network, generally it's raw and
unprocessed.
• Data becomes information when it is processed, turning it into something meaningful.
What is database?
Source: https://www.bmc.com/blogs/dbms-database-management-systems/
What is DBMS?
• It provides convenient and efficient ways to store, access, update and manage
data.
3. Procedures
• refer to general instructions to use a DBMS such as
procedures to setup and install a DBMS, to login and logout
of DBMS software, to manage databases, to take backups,
generating reports etc.
Key Components of DBMS
5. Query processor.
• a fundamental component of the DBMS,
• acts as an intermediary between users and the DBMS data engine in order to
communicate query requests.
• the query processor also optimizes queries to ensure fast processing and accurate
results.
7. Database manager.
• allows a set of commands to perform different DBMS operations that include creating,
deleting, backup, restoring, cloning, and other database maintenance tasks.
• The database manager may also be used to update the database with patches from
vendors.
8. Database engine.
• This is the core software component within the DBMS solution that performs the core
functions associated with data storage and retrieval.
• A database engine is also accessible via APIs that allow users or apps to create, read,
write, and delete records in databases.
9. Reporting. The report generator extracts useful information from DBMS files and displays
it in structured format based on defined specifications. This information may be used for
further analysis, decision making, or business intelligence.
Advantages and Benefits of DBMS
1. Data security. DBMS allows organizations to enforce policies that enable compliance and
security. The databases are available for appropriate users according to organizational policies.
The DBMS system is also responsible to maintain optimum performance of querying operations
while ensuring the validity, security and consistency of data items updated to a database.
3. Data access and auditing. Controlled access to databases. Logging associated access
activities allows organizations to audit for security and compliance.
4. Data integration. Instead of operating island of database resources, a single interface is used
to manage databases with logical and physical relationships.
proliferation of applications
Situation/Scenario when we need a DBMS
A company has a large collection (say, 500 GB) of data on employees, departments,
products, sales, and so on. This data is accessed concurrently by several employees.
Questions about the data must be answered quickly, changes made to the data by different
users must be applied consistently, and access to certain parts of the data (e.g., salaries)
must be restricted.
We can try to manage the data by storing it in operating system files. This approach has
many drawbacks, including the following:
1. We probably do not have 500 GB of main memory to hold all the data. We must therefore
store data in a storage device such as a disk or tape and bring relevant parts into main
memory for processing as needed.
2. Even if we have 500 GB of main memory, on computer systems with 32-bit addressing,
we cannot refer directly to more than about 4 GB of data. We have to program some
method of identifying all data items.
Situation/Scenario when we need a DBMS
3. We have to write special programs to answer each question a user may want to ask
about the data. These programs are likely to be complex because of the large volume of
data to be searched.
4. We must protect the data from inconsistent changes made by different users accessing
the data concurrently. If applications must address the details of such concurrent access,
this adds greatly to their complexity.
5. We must ensure that data is restored to a consistent state if the system crashes while
changes are being made. Operating systems provide only a password mechanism for
security. This is not sufficiently flexible to enforce security policies in which different users
have permission to access different subsets of the data.
Situation/Scenario when we need a DBMS
A DBMS is a piece of software designed to make the preceding tasks easier. By storing data
in a DBMS rather than as a collection various files, we can use the DBMS's features to
manage the data in a robust and efficient manner.
As the volume of data and the number of users grow hundreds of gigabytes of data and
thousands of users are common in current corporate databases DBMS support becomes
indispensable.
Users of DBMS
End Users
• End users are the one who store, retrieve, update and
delete data.
Applications of Database
https://www.w3schools.in/dbms/
https://www.studytonight.com/dbms/overview-of-dbms.php
https://www.quackit.com/database/tutorial/
https://beginnersbook.com/2015/04/dbms-introduction/
https://www.tutorialspoint.com/dbms/index.htm
https://www.bmc.com/blogs/dbms-database-management-systems/
Thank you!