




































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





































◉ Analog Data Answer: Most common before computers. Audio was recorded as vibrations impressed on vinyl disks. ◉ Digital Data Answer: Most common today. Encoded as 0s and 1s on electronic magnetic data. ◉ Database Answer: A collection of data in structured format. In principle, can be stored on paper or even clay tablets. ◉ Database System (DBMS)
Answer: Software that reads and writes in a database. ◉ Query Answer: A request to retrieve or change data in a database. Typically inserts new data, retrieves data, updates, data, or deletes data from a database. ◉ Query Language Answer: Specialized programming language designed specifically for database systems. Reads and writes data efficiently. ◉ Database Application Answer: Software that HELPS business users interact with database systems. ◉ Database Administrator Answer: What role am I?
Answer: What role am I? A consumer of data in a database. They request, update, or use stored data to generate reports or information. ◉ Transaction Answer: A group of queries that MUST be completed or rejected as a whole. ◉ Architecture Answer: Describes the internal components AND the relationships between components. ◉ Query Processor Answer: Interprets queries, creates a plan to modify the database or retrieve the data, and returns query results to the application. Performs query optimization. ◉ Query Optimization
Answer: Ensures efficient instructions are executed on the data from the Query Processor. ◉ Storage Manager Answer: Translates the query processor instructions into low-level file-system commands that modify OR retrieve data. Uses indexes to quickly locate data. ◉ Transaction Manager Answer: Ensures transactions are properly executed. Prevents conflicts between concurrent transactions. Also restores the database to a consistent state in the event of a failure. ◉ Log Answer: A file containing a complete record of ALL inserts, updates, and deletes processed by the database. The records can be used to restore a database. ◉ Catalog/Data Dictionary/Repository Answer: A directory of tables, columns, indexes, and other database objects.
Answer: Inserts rows into a table. ◉ SELECT Answer: Retrieves data from a table. ◉ UPDATE Answer: Modifies data in a table. ◉ DELETE Answer: Deletes rows from a table. ◉ CREATE TABLE Answer: Creates a new table by specifying the table and column names. ◉ Data Type
Answer: Indicates the TYPE of data that can be stored in a field of a column. ◉ Data Independence Answer: Allows database administrators to improve query performance by changing the organization of data on storage devices, without affecting query results or changes to programs. ◉ Database Design Answer: A specification of database objects such as tables, columns data types, and indexes. Also refers to the process used to develop the specifications. ◉ Metadata Answer: Data ABOUT the database, such as column names and the number of rows in each table. ◉ Database Design - Analysis
◉ Application Programming Language (API) Answer: A library of procedures or classes that links a host programming language to a database. ◉ Schema Answer: The structure of tables in the database. ◉ Foreign Key Answer: What a primary key from one table is called when it is referenced in another table. Important when starting to build relationships between tables. Refers to a primary key. ◉ One-to-Many Answer: This is the most common relationship. Associates ONE record in ONE table with MULTIPLE records in another table. ◉ One-to-One Answer: Associates only ONE record on one table with ONE record on another table.
◉ Data Manipulation Language (DML) Answer: What language am I? Allows users to access and modify the data to MAKE queries, and GENERATE reports. Interacting with the data. ◉ Data Definition Language (DDL) Answer: What language am I? Allows a database administrator to DEFINE the database structure, schema, and subschema. ◉ Data Control Language (DCL) Answer: What language am I?
Answer: Installed with MySQL Server AND allows developers to EXECUTE SQL commands using an editor. ◉ Database Model Answer: A conceptual framework for database software containing 3 parts: Data Structures Operations Rules ◉ Relational Model Answer: A database model based on mathematical principles with three parts: Data Structures Operations
Rules ◉ Set Answer: A collection of values or elements with NO INHERENT order / unordered. Denoted with braces {}. ◉ Domain Answer: A named set of possible database values, such as integers, dictionary words, or logical values (TRUE and FALSE). ◉ Tuple Answer: A finite sequence of values, each drawn from a fixed domain. Ordered in parentheses. ◉ Relation Answer: A NAMED set of tuples, all drawn from the same sequence of domains.
Answer: Has a name and a data type. ◉ Row Answer: An unnamed sequence of values. Each value corresponds to a column and belongs to the column's data type. ◉ Cell Answer: A single column of a single row. In relational databases, each contains exactly one value. ◉ Aggregate Answer: Computes functions over multiple table rows, such as SUM and COUNT. ◉ Join Answer: A SELECT statement that combines data from two tables (left and right), into a single result. The tables are combined by comparing columns from the left and right tables.
◉ Data Query Language (DQL) Answer: What language am I? Retrieves data from the database. ◉ Data Transaction Language (DTL) Answer: What language am I? Manages database transactions. ◉ Database System Instance Answer: A single executing copy of a database system. Personal computers usually run just one. ◉ DROP TABLE Answer: This statement deletes a table, along with all the table's rows, from a database.
Answer: Deletes ALL ROWS from a table. ◉ MERGE Answer: Selects data from one table, called the source, and inserts the data to another table, called the target. If the primary keys of source and target rows match, the target values are updated to the corresponding values. ◉ Primary Key Answer: A column, or group of columns, used to identify a row. Usually the table's FIRST column. ◉ Simple Primary Key Answer: Consists of a single column. ◉ Composite Primary Key
Answer: Consists of multiple columns and are denoted with parentheses (). ◉ Referential Integrity Answer: A relational rule that requires foreign key values are either fully NULL or match some primary key value. ◉ CASCADE Answer: Propagates primary key changes to foreign keys. ◉ Constraint Answer: A rule that governs allowable values in a database. ◉ Column Constraint Answer: Appears after the column name and data type in a CREATE TABLE statement. Govern values in a single column.