Explore tens of thousands of sets crafted by our community.
Data Modeling Concepts
20
Flashcards
0/20
Entity
An entity is an object or thing of importance to a domain that needs to be represented in a database. It often corresponds to a table in a relational database system.
Attribute
Attributes are pieces of information that describe various characteristics of an entity. In a database, these are often the columns of a table.
Primary Key
A primary key is a unique identifier for a database record within a table and is used to ensure data integrity. It must contain unique values, and it cannot contain null values.
Foreign Key
A foreign key is a field (or collection of fields) in one table that uniquely identifies a row of another table. It is used to establish and enforce a link between the data in two tables.
Normalization
Normalization is a process in database design that organizes tables to minimize redundancy and dependency. It involves dividing large tables into smaller, more manageable ones while preserving data integrity.
ACID Properties
ACID stands for Atomicity, Consistency, Isolation, Durability. These are a set of properties that guarantee that database transactions are processed reliably.
Cardinality
Cardinality refers to the uniqueness of data values contained in a column. High cardinality means that the column contains a large proportion of totally unique values.
Stored Procedure
A stored procedure is a set of precompiled SQL commands that can be executed on a database. It helps promote code reuse and encapsulation of database operations.
Relationship
In the context of databases, a relationship is a connection between two or more database entities. Relationships are used to model how data from one entity relates to another.
Relational Database
A relational database is a type of database that stores and provides access to data points that are related to one another. Data is organized into tables which can be linked by foreign keys.
Index
An index is a data structure that improves the speed of data retrieval operations on a database table at the cost of additional writes and storage space to maintain it.
Data Type
A data type, in the context of databases, is an attribute that specifies the type of data that a column can hold, such as integer, text, date, etc.
Entity-Relationship Diagram (ERD)
An ERD is a visual representation of the entities within a domain, their attributes, and relationships. It is used in data modeling to conceptualize the database structure.
View
A view is a virtual table in databases that is based on the result-set of an SQL statement. Unlike regular tables, a view does not form part of the physical schema.
Referential Integrity
Referential integrity is a concept in which a foreign key in one table corresponds to a primary key in another. It ensures that the relationship between tables remains consistent.
Schema
A schema is an outline of a database's logical structure, including the definitions of tables, fields, relationships, views, indexes, and stored procedures.
Non-Relational Database
Non-relational databases, also known as NoSQL databases, store data in a format other than relational tables. They can handle a variety of data models including document, key-value, wide-column, and graph formats.
Denormalization
Denormalization is the process of intentionally introducing redundancy into a database design to improve performance in certain query scenarios, at the expense of data anomalies.
Data Redundancy
Data redundancy occurs when the same piece of data is stored in multiple places. It is often eliminated through normalization to save space and ensure data consistency.
Transactions
Transactions in databases represent a unit of work that is executed as a single operation. They adhere to ACID properties, ensuring data integrity and consistency.
© Hypatia.Tech. 2024 All rights reserved.