






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of database management systems (dbms), their requirements, types, and architecture. It covers the concept of a database, the need for dbms, file systems as early attempts, relational database systems, and the components of a dbms including the storage manager, query manager, and transaction manager.
Typology: Study notes
1 / 12
This page cannot be seen from the preview
Don't miss anything!







-^
What is a database?
A collection of data that is managed by adatabase management system, DBMS.•^
Requirements of a Database System1.^
Allow users to create new databases, specify the logical structure ofdata (schema) using specialized language, data-definition language
2.^
Give users the ability to query the data, and modify the data, using alanguage called a query language or data-manipulation language.
3.^
Support storage of very large amounts of data (Gb >), over a longperiod of time, secure from accidents, and unauthorized access,allowing efficient access to the data.
4.^
Control concurrent access to the data, presenting “correct” views of thedata to each user, preventing accidental corruption of the data due tosimultaneous access patterns.
-^
Relations are tables, their columns are headed byattributes, describing the entries in the column.
-^
Below the attributes are the rows or the tuples
checking
savings
type
balance
accountNo
Smaller and Smaller, Bigger and Bigger Systems
-^
Very sophisticated, high-performance database systems can be run onregular desktop machines.
-^
The quantities of data needed to be stored and manipulated arecontinuously growing. The structure of the data stored is becomingmore and more complex.
-^
Terabytes (1000 gigabytes) is becoming more like a norm than anexception, petabytes (1000 terabytes) databases have surfaced.
-^
Secondary storage (disk arrays), tertiary storage (tapes, CD, DVD)have higher access times, but are cheaper.
-^
Parallel computing is also required due to both the nature of theapplications and the vast amounts of data accessed.
Storage Manager– Obtains the requested information from the data storage– Modifies the information if requested– Indexes are used (data structures that help us find data
items quickly given a part of their value). Advanceddata structures are used for the indexes (B-tree)
the metadata.
the disk and obtains the block(s) containing therequested data.
the memory blocks, obtaining disk blocks from the filemanager, trying to optimize the access to data.
more you minimize the number of I/O operations thefaster the entire system will be.
Transaction Manager– A DBMS allows the user to group one or more queries
and/or modifications into a transaction (a group ofoperations that must appear to have been executedtogether sequentially, as a unit)
off. Complexity and high-concurrency versus simpler lockingmechanism and less granular access.
(medium that will survive a power failure). Transaction isusually kept in memory as well, for speed. Logging isextremely important to assure durability.
transactions are computed “tentatively”, recorded, but nochanges are made to the database until the transaction getscommited. Changes copied to the log, then copied to database.