Database Specialist Examination key terms
Database Specialist Examination · Get comfortable with the vocabulary.
- 概念データモデル (conceptual data model)
- Related: エンティティ (entity), リレーションシップ (relationship), 3層スキーマ (three-schema architecture)
A business-level picture of the entities, relationships, and rules that an organization's data must capture, drawn without reference to any particular DBMS or physical storage arrangement.
- エンティティ (entity)
- Related: リレーションシップ (relationship), 主キー (primary key), 概念データモデル (conceptual data model)
A distinguishable person, object, event, or concept that the business needs to keep data about; in a relational database each entity type usually becomes one table whose rows are instances.
- リレーションシップ (relationship)
- Related: エンティティ (entity), カーディナリティ (cardinality), 外部キー (foreign key)
The association between entities that carries business meaning, such as a customer placing an order; it is implemented by a foreign key or, for many-to-many cases, by a separate associative table.
- カーディナリティ (cardinality)
- Related: リレーションシップ (relationship), 外部キー (foreign key)
How many instances of one entity can be linked to one instance of another - one-to-one, one-to-many, or many-to-many - which decides where the foreign key is placed.
- データ標準化 (data standardization)
- Related: データディクショナリ (data dictionary), 概念データモデル (conceptual data model)
Organization-wide agreement on names, formats, code values, and definitions of data items, so the same fact is recorded identically in every system and can be compared across them.
- データディクショナリ (data dictionary)
- Related: データ標準化 (data standardization), 概念データモデル (conceptual data model)
A catalog of data elements with names, types, lengths, allowed values, and relationships; designers use it as documentation, and the DBMS maintains a live version as its system catalog.
- スーパータイプ/サブタイプ (supertype/subtype)
- Related: エンティティ (entity), 概念データモデル (conceptual data model), 正規化 (normalization)
A modeling pattern where a general entity holds attributes common to several specialized entities, and each subtype adds attributes of its own; implemented as separate tables or one table with a type code.
- 3層スキーマ (three-schema architecture)
- Related: 概念データモデル (conceptual data model), 物理データベース設計 (physical database design), ビュー (view)
The separation of a database into external schemas (user views), a conceptual schema (the whole logical structure), and an internal schema (physical storage), giving logical and physical data independence.
- 正規化 (normalization)
- Related: 関数従属性 (functional dependency), 非正規化 (denormalization), 主キー (primary key)
The step-by-step decomposition of relations so each fact is stored once, removing insert, update, and delete anomalies; it proceeds through first, second, and third normal form and beyond, trading joins for consistency.
- 関数従属性 (functional dependency)
- Related: 正規化 (normalization), 主キー (primary key)
A rule stating that whenever two rows agree on attribute set A they must also agree on attribute set B, written A→B; it is the basis for finding candidate keys and normal forms.
- 主キー (primary key)
- Related: 外部キー (foreign key), エンティティ (entity), 正規化 (normalization)
The column or combination of columns chosen to identify each row uniquely; it must be unique and never null, and other tables point to it through foreign keys.
- 外部キー (foreign key)
- Related: 主キー (primary key), 参照整合性 (referential integrity)
A column or columns in a child table whose values must match a primary or unique key value in a parent table, enforcing referential integrity between the two tables.
- 参照整合性 (referential integrity)
- Related: 外部キー (foreign key), 一貫性制約 (integrity constraint)
The constraint that every foreign key value must match an existing parent row or be null where allowed, so inserts, updates, and deletes cannot leave orphaned child records.
- 論理データベース設計 (logical database design)
- Related: 物理データベース設計 (physical database design), 正規化 (normalization), 概念データモデル (conceptual data model)
Turning the conceptual model into normalized tables, keys, and constraints on a product-independent basis, deciding what each table represents and how each row is identified.
- 物理データベース設計 (physical database design)
- Related: 論理データベース設計 (logical database design), インデックス (index), パーティショニング (partitioning)
Mapping the logical design onto a specific DBMS: choosing data types, indexes, partitioning, and storage placement so that performance and capacity targets are met.
- 非正規化 (denormalization)
- Related: 正規化 (normalization), インデックス (index)
Deliberately adding redundancy to a normalized schema, for example duplicating columns or pre-joining tables, to avoid expensive joins in read-heavy workloads at the cost of extra update logic.
- インデックス (index)
- Related: 物理データベース設計 (physical database design), 実行計画 (execution plan), 主キー (primary key)
An auxiliary structure, usually a B-tree, that lets the DBMS locate rows without scanning the whole table; it speeds reads but adds storage and maintenance cost to every insert, update, and delete.
- データ定義言語 DDL
- Related: データ操作言語 DML, ビュー (view), 一貫性制約 (integrity constraint)
The part of SQL that creates and alters schema objects such as tables, views, indexes, and constraints, mainly through the CREATE, ALTER, and DROP statements.
- データ操作言語 DML
- Related: データ定義言語 DDL, ACID特性, 結合 (JOIN)
The part of SQL that works on rows rather than definitions: SELECT to retrieve, and INSERT, UPDATE, DELETE, MERGE to change data, normally executed inside a transaction.
- ビュー (view)
- Related: データ定義言語 DDL, 3層スキーマ (three-schema architecture), 結合 (JOIN)
A named query stored in the database that behaves like a virtual table; it can hide columns, simplify complex joins, and, when updatable, pass changes through to the base tables.
- ストアドプロシージャ (stored procedure)
- Related: トリガ (trigger), データ操作言語 DML
A program stored and run inside the database server, grouping SQL statements with control logic so clients call a single unit and the logic is shared by all applications.
- トリガ (trigger)
- Related: ストアドプロシージャ (stored procedure), 一貫性制約 (integrity constraint)
Procedural SQL that the DBMS fires automatically when an insert, update, or delete occurs on a specified table, often used for auditing, derived values, or complex business rules.
- ウィンドウ関数 (window function)
- Related: データ操作言語 DML, 実行計画 (execution plan)
A SQL function that computes a value over a set of rows related to the current row, such as a running total, rank, or moving average, without collapsing rows the way GROUP BY does.
- 結合 (JOIN)
- Related: リレーションシップ (relationship), 実行計画 (execution plan)
An operation that combines rows from two tables on a matching condition; inner joins keep only matches, while outer joins also keep unmatched rows from one or both sides.
- ACID特性
- Related: トランザクション分離レベル (isolation level), 一貫性制約 (integrity constraint), 排他制御 (locking)
Four guarantees for a transaction: atomicity (all or nothing), consistency (constraints preserved), isolation (concurrent work does not interfere), and durability (committed changes survive a failure).
- トランザクション分離レベル (isolation level)
- Related: ACID特性, 排他制御 (locking), 多版同時実行制御 MVCC
A setting that trades consistency against concurrency by controlling which anomalies remain possible: read uncommitted, read committed, repeatable read, and serializable, ordered from weakest to strongest.
- 排他制御 (locking)
- Related: デッドロック (deadlock), トランザクション分離レベル (isolation level), 多版同時実行制御 MVCC
Mechanisms that coordinate concurrent transactions, typically by taking shared or exclusive locks on rows or pages, so conflicting reads and writes cannot interleave in a way that corrupts results.
- デッドロック (deadlock)
- Related: 排他制御 (locking), トランザクション分離レベル (isolation level)
A state where two or more transactions each hold a lock the others need and all wait indefinitely; the DBMS detects the cycle and aborts one victim so the others can finish.
- 2相コミット (two-phase commit)
- Related: ACID特性, レプリケーション (replication)
A protocol for distributed transactions: a prepare phase in which every participant votes and reserves resources, then a commit or rollback phase driven by the coordinator's decision.
- 多版同時実行制御 MVCC
- Related: トランザクション分離レベル (isolation level), 排他制御 (locking)
A concurrency method that keeps several versions of a row so readers see a consistent snapshot without blocking writers; the cost is storing and later cleaning up old versions.
- 一貫性制約 (integrity constraint)
- Related: 参照整合性 (referential integrity), ACID特性, トリガ (trigger)
Declarative rules the DBMS enforces on stored data - NOT NULL, UNIQUE, CHECK, primary and foreign keys - rejecting any statement that would leave the database violating them.
- 実行計画 (execution plan)
- Related: インデックス (index), 結合 (JOIN), 物理データベース設計 (physical database design)
The access path the optimizer chooses for a SQL statement, showing join order, join methods, and index use; reading it is the first step when a query performs poorly.
- パーティショニング (partitioning)
- Related: 物理データベース設計 (physical database design), インデックス (index)
Splitting a large table or index into smaller physical pieces by range, list, or hash, so maintenance and backup can work piece by piece and scans skip irrelevant pieces.
- レプリケーション (replication)
- Related: 2相コミット (two-phase commit), データウェアハウス (data warehouse)
Continuously copying changes from a primary database to one or more replicas, used for read scale-out, availability, and disaster recovery; replication lag is the usual trade-off.
- 暗号化 (encryption)
- Related: 監査ログ (audit log)
Encoding stored or transmitted data with a key so unauthorized parties cannot read it; applied to data at rest, data in transit, and specific columns holding sensitive values.
- 監査ログ (audit log)
- Related: 暗号化 (encryption)
A record of who accessed or changed which data and when, kept apart from the transaction log so that investigations and compliance checks can reconstruct activity after the fact.
- データウェアハウス (data warehouse)
- Related: ETL, レプリケーション (replication)
A consolidated store that gathers data from many operational systems, cleans and historizes it, and organizes it for analysis rather than for day-to-day transaction processing.
- ETL
- Related: データウェアハウス (data warehouse)
Extract, transform, load: the process that pulls data from source systems, cleanses and conforms it, and loads it into a warehouse or data mart, usually on a schedule.