Zbook Chapter 1 Flashcards
(356 cards)
Information Management System
a software application that manages corporate data for a specific business function
What is a database administrator responsible for?
Securing the database system against unauthorized users and enforcing procedures for user access and database system availability.
What does a database designer determine?
The format of each data element and the overall database structure.
What priorities must a database designer balance?
Storage, response time, and support for rules that govern the data.
What does a database programmer do?
Develops computer programs that utilize a database and writes applications that combine database query languages and general-purpose programming languages.
Who is a database user?
A consumer of data in a database who requests, updates, or uses stored data to generate reports or information.
How do database users usually access the database?
Via applications, but they can also submit queries directly to the database system.
How can small databases shared by one or two users be managed?
In a text file or spreadsheet.
Why are text files and spreadsheets inadequate for large, complex databases?
Because as databases grow in size, complexity, and use, they have special requirements that text files and spreadsheets cannot meet.
What happens to query response time when many users and applications access large databases simultaneously?
Query response time degrades rapidly.
How do database systems maintain fast response times?
By structuring data properly on storage media and processing queries efficiently.
By structuring data properly on storage media and processing queries efficiently.
Because many database users should have limited access to specific tables, columns, or rows of a database.
How do database systems ensure security?
By ensuring authorized users only access permissible data and protecting against hackers through encryption and restricted access.
What do database systems ensure regarding data consistency?
That data is consistent with structural and business rules, such as synchronizing multiple copies of data and ensuring referenced data exists.
What must database systems do in case of failures?
Recover from failures and restore the database to a consistent state without loss of data.
What is a transaction in database systems?
A group of queries that must be either completed or rejected as a whole to ensure data consistency.
Why must a transaction be processed completely or not at all?
Because executing some but not all queries can result in inconsistent or incorrect data.
Give an example of a transaction that must be processed completely or not at all.
A debit-credit transaction where $100 is transferred from one bank account to another. Both the debit and credit queries must succeed or fail together.
What must database systems do if a computer or application fails while processing a transaction?
Reverse partial results and restore the database to the values prior to the transaction.
Why is it important to prevent conflicts between concurrent transactions?
To avoid conflicts that can occur when multiple transactions access the same data at the same time.
Give an example of a conflict between concurrent transactions.
Sam selects a seat on a flight, and Maria purchases the same seat in a separate transaction before Sam completes his transaction, making the seat unavailable for Sam.
What must database systems ensure about transaction results?
That transaction results are never lost and are always saved on storage media, regardless of application or computer failures.
What does the architecture of a database system describe?
The internal components and the relationships between components.