Database Flashcards
(146 cards)
is the process of determining the data storage organization and data access
characteristics of the database to ensure its integrity, security, and performance. This is
the last stage in the database design process.
Physical Design
must perform such basic
functions with minimal user effort, and its command structure and syntax must be easy to learn
database language
It is the component of a database management system that attempts to select the
most efficient way to execute a query.
Query Optimizer
defines transaction management based on transaction isolation levels.
ANSI SQL standard (1992)
allows you to create database and table structures, perform basic data management chores (add, delete, and modify), and perform complex queries designed to transform the raw data into useful information.
Database language
A — statement is reached, in which case all changes are aborted and the
database is rolled back to its previous consistent state.
ROLLBACK
the changes are permanently applied to the database.
write phase
The scheduler’s main job is to create a —- of a transaction’s
operations, in which the interleaved execution of the transactions (T1, T2, T3, etc.) yields the same results as if the transactions were executed in serial order (one after
another).
serializable schedule
It occur when a transaction accesses data before and after one or more other transactions
finish working with such data.
Inconsistent Retrieval
Refers to an attribute or field that serves as a unique identifier
for a particular record within a relation.
Primary Key
A process that uses data modelling techniques to create a model of a database structure that represents real world objects as realistically as possible. The design is both software- and hardware-independent
Conceptual Design
(several copies of the transaction log) ensure that a physical disk failure will not impair the DBMS’s ability to recover data
Redundant transaction logs
forces transactions to
read only committed data. This is the default mode of operation for most databases
(including Oracle and SQL Server). At this level, the database will use exclusive locks on data, causing other transactions to wait until the original transaction commits.
Read Committed
Symbols in Crowfoot’s Notation:
Entities (Tables)
Relationships
Cardinality (Multiplicity)
A —- statement is reached, in which case all changes are permanently
recorded within the database. The —- statement automatically ends the
SQL transaction
COMMIT
must be portable; that is, it must conform to some basic standard, so a person does not have to relearn the basics when moving from one RDBMS to another
Structured Query Language (SQL)
refers to a set of activities and procedures designed to reduce the response time of the database system—that is, to ensure that an end-user query is processed by the DBMS in the minimum amount of time
Database performance tuning
the over-all design of a database.
Schema
Evolution of Data Dodels
- HIERARCHICAL MODEL
- NETWORK MODEL
- RELATIONAL MODEL
- ENTITY RELATIONSHIP MODEL
- OBJECT-ORIENTED MODEL
- EXTENSIBLE MARKUP LANGUAGE
- Emerging Data Model: BIG DATA
- Emerging Data Model: NoSQL
is the process of database design and implementation
Database Development
It occurs when two transactions, T1 and T2, are executed concurrently and the first transaction (T1) is rolled back after the second transaction (T2) has already accessed
the uncommitted data—thus violating the isolation property of transactions.
Uncommitted Data
constitutes the building blocks of information.
Data
The use of locks based on the assumption that conflict between transactions is likely is
usually referred to as —–.
pessimistic locking
All lock information is handled by a —-, which is responsible for assigning
and policing the locks used by the transactions.
lock manager