The Worlds of Database Systems Flashcards
DBMS
Database Management System
database
A collection of data that is managed by a DBMS.
schema
logical structure of data
relations
data organized as a table
SQL stands for?
Structure Query Language
XML stands for?
eXtensible Modeling Language
What is information integration?
Joining the information of many related databases into a whole.
Data Warehouse
Where information from many legacy databases is copied periodically, with the appropriate translation to a central database.
DML stands for?
Data Manipulation Language
DDL stands for?
Data definition language
What does the execution engine do?
The execution engine issues a sequence of requests for small pieces of data, typically records or tuples of a relation, to a resource manager that knows about data files (holding relations), the format and size of records in those files, and index files, which help find elements of data files quickly.
Overview of Query Processing
Using DML, interacts with DBMS. Doesn’t affect the schema of database but may change content.
Database management system components
What does buffer manager do?
Task is to bring approciate portions of data from secondary storage (disk) where it’s kept permanantly, to the main-memeory buffers.
Usually the page or “disk block” is the unit of transfer between buffers and disk.
Partition the available memory into buffers.
What is a transaction?
Way that queries and DML are grouped.
A transaction is a unit that must be executed atomically and in isolation from one another.
Any query or modificiation action can be a transaction by itself.
Must be durable.