Section 1 Flashcards
What is a Database Application
Is a software that helps business users interact with database systems
Database Administrator
Is responsible for securing the database system against unauthorized users. A —- enforces procedures for user access and database system availability.
Authorization
Many database users should have limited access to specific tables, columns, or rows of a database. database systems authorize individual users to access specific data.
Rules
Database systems ensure data is consistent with structural and business rules.
Query processor, query optimization
Interprets queries, creates a plan to modify the database or retrieve data, and returns query results to the application. The query processor performs —– to ensure the most efficient instructions are executed on the data.
Storage manager, indexes
Translates the query processor instructions into low-level file-system commands that modify or retrieve data. Database sizes range from megabytes to many terabytes, so the —– uses —- to quickly locate data
Transaction manager
Ensures transactions are properly executed. The —- prevents conflicts between concurrent transactions. The —– also restores the database to a consistent state in the event of a transaction or system failure.
Metadata
Is data about the database, such as column names and the number of rows in each table
Relational database
Stores data in tables, columns, and rows, similar to a spreadsheet.
All —– support the SQL query language.
Relational databases are
They are ideal for databases that require an accurate record of every transaction, such as banking, airline reservation systems, and student records.
MongoDB
Sponsored by: MongoDB,
Type: NoSQL,
License: Open source,
DB-Engines rank: 5
INSERT
Inserts rows into a table
SELECT
Retrieves data from a table
UPDATE
Modifies data in a table
DELETE
Deletes rows from a table