Practice Test 2 Flashcards
(47 cards)
Process of denormalization
Merging tables
MySQL Enterprise
High end commercial installations, like backup and security
LOWER()
Function used to convert a string to lowercase
One of the primary functions of a DBMS
Managing database security and access
GROUP BY function
Aggregates/query’s rows based on a common criteria
Main advantage of a sorted table
Optimal for queries that read data in sort order
CONCAT()
Function that combines two or more strings into a single one
JOIN
Function that combines rows from two tables based on related columns
Composite attribute
An attribute that can be divided into smaller parts, turning into a more basic attribute
How are weak entites represented in a ER diagram
Double rectangle
Storage engine
Manages the physical storage of data (read, write, indexing, data integrity). Works with the query processor to read or write as needed
query optimizer
Determines the most efficient way to execute an SQL query. works with the query processor
Query Processor
responsible for parsing, translating, optimizing, and executing SQL queries from multiple connections (users). Works closely with the optimizer
Connection manager
Manages the connections between the database and client applications.
Hash table
structure that provides an efficient way to store and retrieve data using key-value pairs. Uses a function and key to determine the bucket in each row
CURDATE()
Function that returns the current date but not time
TIMESTAMP()
Returns current date and time
Delete
removes rows from a database
Table Cluster
database storage technique where multiple tables that share common columns are stored together in the same physical data blocks. Can improve performance and reduce disk space but can increase complexity and DB maintence and performs poorly for joins with non-cluster key columns
NoSQL
Designed to handle large volumes of unstructured or semi-structured data.
pro: fast read and write, scaling, diverse data type
con: consistency and complexity
MySQL has how many architecture layers?
four
IN function
Checks if a value matches a value from a list
Cardinality
Max or min number of entities that can be involved in a relationship
2NF
Non-key attributes must be fully dependent on the primary key, it cannot depend on only 1 part of the composite key for example.