Explore tens of thousands of sets crafted by our community.
Database Design Fundamentals
12
Flashcards
0/12
ACID Properties
ACID stands for Atomicity, Consistency, Isolation, Durability and is a set of properties that guarantee database transactions are processed reliably. Example: A bank transaction is processed as a single unit and persists even after a system failure.
Transactional Control Language (TCL)
TCL is a subset of SQL commands used to manage the changes made by DML statements, providing transaction management. Example: Commands like COMMIT and ROLLBACK to finalize or undo data modifications.
Normalization
Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity. Example: transforming a single table with repeated information into multiple tables with unique information and references between them.
Entity-Relationship Model (ER Model)
The ER Model is a conceptual tool for designing databases, using entities, attributes, and relationships to represent data. Example: An ER diagram represents customers and orders as entities with a relationship between them.
Primary Key
A primary key is a unique identifier for a row in a table and is used to ensure data integrity. Example: Using a 'customer_ID' as a primary key in a 'Customers' table.
Referential Integrity
Referential integrity ensures that the relationship between tables remains consistent, such that the foreign key in one table always refers to a valid primary key in another. Example: Deleting a customer record also deletes related orders.
Data Manipulation Language (DML)
DML is a subset of SQL commands used to insert, update, delete, and retrieve data from a database. Example: INSERT, UPDATE, DELETE, and SELECT statements.
Foreign Key
A foreign key is a column or group of columns in a relational database table that provides a link between data in two tables. Example: An 'order_ID' in an 'Orders' table that references the 'ID' in a 'Customers' table.
Data Definition Language (DDL)
DDL consists of SQL commands that define the database structure. Example: Commands like CREATE, DROP, and ALTER to create, remove, or modify database objects.
Data Warehousing
Data Warehousing involves collecting and managing data from various sources to provide meaningful business insights. Example: A company's historical sales data is collected into a central repository to analyze trends.
Indexing
Indexing is the technique of optimizing database searches by creating a data structure that improves retrieval speeds. Example: An index on a 'last_name' column to expedite searches in a large 'Employees' table.
Structured Query Language (SQL)
SQL is a standard language used for managing and manipulating relational databases. Example: 'SELECT * FROM Customers WHERE Country='USA';' retrieves all customer records from the USA.
© Hypatia.Tech. 2024 All rights reserved.