SQL is a language for working with databases, but the central issue is not simply writing a query: it is using shared concepts with shared meanings. Some of the most costly database mistakes begin with an incorrect join, a mistaken expectation about isolation, or an unsupported assumption that a field is unique. This SQL and Database Glossary is therefore more than a list to memorise. Each entry goes beyond a short definition to explain practical failure points and connections to related ideas, providing a reference layer for reasoning about real systems.
A
ACID
The four properties associated with reliable transactions: atomicity, consistency, isolation and durability. Together they support all-or-nothing changes, valid states, controlled concurrency and persistence after commitment. The precise guarantees depend on configuration and application rules; ACID is not a blanket promise that any database can never lose data. Implementing these properties can involve coordination, logging, locking or other performance costs.
Active–active replication
A replication architecture in which more than one node accepts writes. It can distribute workload and improve geographic access, but concurrent changes require conflict resolution. Simple last-writer-wins policies can discard valid updates. Applications must understand the consistency guarantees and decide how conflicting or causally related changes are handled rather than assuming that accepting writes everywhere preserves every operation automatically.
Active–passive replication
An arrangement with one active writer and one or more replicas available to take over. It is often simpler to coordinate than multiple writable nodes. Failover still requires detection, promotion and safe fencing of the former primary. Delay or data loss can occur depending on replication synchronisation, lag and the point at which a write is acknowledged.
Ad hoc query
A query written for an immediate, specific need rather than a predefined reporting process. It enables flexible exploration, but different analysts may calculate the same KPI with different filters, joins or definitions. Without agreed semantics and reusable reference queries, apparently comparable results can diverge. Exploratory freedom should therefore be distinguished from the rules used for authoritative reporting.
Adaptive query optimisation
Techniques through which a database adjusts aspects of execution using information obtained at runtime, including actual row counts or data distribution. Adaptation can improve performance when estimates are inaccurate. Depending on the engine and mechanism, changing plans may also produce variable execution times. Understanding which decisions can change, and when, is important when investigating plan instability or inconsistent latency.
Aggregate function
A function producing a summary result from a set of input values, such as `COUNT`, `SUM`, `AVG`, `MIN` or `MAX`. A common error is aggregating after a join has multiplied rows, particularly in many-to-many relationships. The function may be working correctly while the input grain is wrong, producing inflated counts or totals.
Aggregation
Summarising data at a defined level, such as daily revenue or users by country. The grouping dimensions, time boundaries and handling of missing values determine what the result means. If the intended grain is unclear, metrics that share a label may not be comparable. A reliable definition states what is counted and the level at which it is summarised.
Alias
A temporary name assigned to a table, expression or output column, often using `AS`. Aliases can make queries clearer, especially when names are long. Self-joins and queries involving several tables need a consistent naming discipline. Ambiguous or arbitrary aliases make it difficult to identify which relation supplies a value and can conceal incorrect joins or references.
ALTER TABLE
A command used to modify an existing table’s definition, for example by adding or removing a column or changing a type. Production impact depends on the engine, operation and data volume. Some changes require substantial locking or a table rewrite; others can be metadata-only. Downstream compatibility and schema evolution must be considered alongside the immediate execution time.
ANSI SQL
A common name for SQL features specified through standards work, now developed jointly through ISO and IEC with national standards participation. Database engines implement differing versions, optional features and extensions. Even apparently portable queries can differ in date functions, string operations, data types and upsert behaviour. Standards-oriented design improves portability, but testing the intended dialect remains necessary.
Anti-join
A query pattern returning rows from one relation that have no matching row in another. Typical expressions use `NOT EXISTS` or an appropriate `LEFT JOIN` followed by a test for a missing match. Null semantics require care, especially when substituting `NOT IN` or testing a nullable column. An incorrect formulation can silently exclude or include unintended rows.
Append-only table
A design in which new records are inserted while existing records are not ordinarily updated or deleted. It supports history, auditing and reproducibility. Applications needing the current state must define how to identify the latest applicable record or derive state from events. Retention, corrections and version ordering remain design questions; append-only storage does not resolve them by itself.
Application lock
A lock coordinated according to application-level business rules, such as allowing only one active operation for a particular user. It may use database advisory locks or an external coordination service. This can complement ordinary row locking, but incorrect scope, ordering or expiry can create deadlocks and race conditions. All relevant writers must follow the same protocol for the intended protection to hold.
ARIES recovery algorithm
Algorithms for Recovery and Isolation Exploiting Semantics: an influential log-based approach to transaction recovery after a crash. It uses techniques including analysis, redo and undo to restore the required state while supporting concurrency. Users do not normally invoke the algorithm directly, but it explains how some database systems recover without retaining incomplete transactions as valid committed work.
Array
A data type or structure holding multiple ordered elements, which some databases support within a column. Arrays can be useful for genuinely array-valued attributes, but can complicate indexing, filtering and joins when used in place of a suitable relational model. Normalisation and query requirements must be considered. The presence of an array alone does not establish that a design is inappropriate.
ASC (ascending order)
A sort direction specified in expressions such as `ORDER BY column ASC`. It is commonly the default direction, but an explicit declaration can make intent clearer. Ascending order does not establish a deterministic order between equal values; add an appropriate tie-breaker when necessary. Null placement and collation can also affect the result and differ between engines.
Asynchronous replication
Replication in which a primary can acknowledge a change before the relevant replica has confirmed that it received or applied it. This can reduce write latency, but replicas may return older data. Failover can lose acknowledged changes that had not reached the promoted replica. The acceptable lag and recovery guarantees must therefore be defined rather than inferred from the existence of replication.
Atomicity
The all-or-nothing property of a transaction: its changes are committed together or treated as not having occurred. Without atomicity, a failure could leave only some steps applied. This is particularly dangerous in financial transfers, inventory movements and other operations requiring coordinated updates. External side effects require additional design because a database transaction does not automatically include unrelated services.
Attribute (column)
A named property represented by a column in a relational table. Good design specifies the meaning, type, units, allowed values and nullability of the attribute. Without that semantic contract, different teams can interpret the same field differently even when queries run successfully. Clear names help, but documentation and enforceable constraints are also needed to maintain a consistent meaning.
Authentication
The verification of the identity attempting to access a system, using mechanisms such as passwords, keys or single sign-on. In a database, weak configuration can permit unauthorised entry. Proper authentication supports accountability and traceability, but must be combined with authorisation and appropriate auditing. Establishing who a user is does not, by itself, determine what that user should be allowed to read or change.
Authorisation
The determination of which actions or resources an authenticated identity may access, commonly through roles, privileges and grants. A frequent failure is allowing broad read permissions to expand over time until they expose sensitive information. Least-privilege design and regular review help limit that drift. Application checks and database permissions need to agree, including for service accounts and administrative operations.
Auto-increment
Automatic assignment of increasing values to a column, often a surrogate primary key. The mechanism is straightforward for generating identifiers but should not be assumed to produce gap-free numbers. Distributed writers require coordination or distinct ranges to avoid collisions. Predictability, imports and attempts to renumber existing records can introduce additional design and security problems.
Autocommit
A mode in which each statement outside an explicit transaction is committed as its own transaction if it succeeds. It is convenient for independent operations, but can leave a multi-step business process partially completed if a later statement fails. Transaction boundaries must therefore be deliberate. Exact behaviour, including which commands may run inside transactions, varies between engines and client libraries.
Autovacuum
PostgreSQL’s automatic maintenance machinery for tasks including vacuuming obsolete row versions and updating planner statistics. It is important to MVCC operation and protection against transaction-ID wraparound. If maintenance falls behind, bloat and poor plans can degrade performance. More aggressive settings consume resources, so configuration should match workload rather than disabling maintenance or assuming that maximum intensity is always preferable.
Availability
The ability of a service to provide its intended functions when required, often measured through uptime and successful requests. High availability requires explicit decisions about failures, recovery, latency and consistency. In distributed systems, network partitions can force choices between responding and preserving particular consistency guarantees. A general “always on” ambition is not a complete architectural specification or a promise that every possible operation will always succeed.
Availability zone
A cloud-provider-defined location containing infrastructure designed to have a degree of failure independence from other zones. Its exact composition varies; it is not synonymous with an entire region. Spreading replicas can improve resilience, but cross-zone latency, cost and shared dependencies still matter. Placement should match the failures the service is intended to survive, supported by tested routing and recovery.
B
B-tree
A balanced tree structure widely used for database indexing, including equality lookups, range predicates such as `BETWEEN`, `<` and `>`, and ordered access. Engines often implement variants such as B+ trees. An unsuitable index may appear useful while increasing write and storage costs. Index design should follow actual filters, ordering and update patterns rather than assuming that adding more trees always improves performance.
Backfill
Loading or correcting historical data after its original processing window. It can repair missing records, but may also change previously reported metrics, particularly where calculations use time windows or revised business rules. Versioning, reconciliation and an explicit policy for restating history help maintain trust. A successful technical load does not automatically establish that all dependent reports have been updated consistently.
Backup
A recoverable copy of data and, where needed, configuration or transaction logs retained for restoration. The existence of backup files is insufficient evidence that recovery will succeed. Restore procedures must be tested, including access to keys, dependencies and the required recovery point. A backup that cannot be restored within the necessary conditions provides little protection during an actual incident.
Backup chain
The compatible sequence of backups and logs needed for a particular restore, such as a base image followed by increments and later changes. Missing, corrupt or incompatible segments can prevent reaching the target point. Retention must preserve dependencies rather than delete files solely by individual age. Monitor and exercise complete chains, not only the success status of the most recent backup job.
Backup strategy
A coordinated approach to protecting data against loss, corruption or disruption. It may combine full, incremental and log-based methods with retention, encryption and controlled access. Required components depend on the engine and objectives. RPO and RTO guide design and testing; even a useful partial recovery can fall short of the service commitment if the complete procedure was never validated.
Backup verification
Establishing that a backup can support the intended recovery, not merely that copying completed. Restoration into an appropriate test environment, integrity checks and representative reconciliation provide stronger evidence than file existence alone. Row counts or checksums are useful but not complete semantic proof. Testing should include keys, dependencies and measured recovery time as well as readable data.
Backup window
A scheduled period or operating policy controlling backup activity and its resource impact. Copying can compete for CPU, storage or network capacity, especially during peak transactional demand. Managed services may restrict scheduling options. The plan should consider actual workload and recoverability needs rather than move backups so far apart that acceptable recovery points can no longer be met.
BACPAC (SQL Server)
An export package containing a database’s schema and data, used in the SQL Server and Azure SQL ecosystem. It can support migration or archival workflows, but is not equivalent to every form of physical database backup. Export and import time and storage requirements can become substantial for large datasets. Supported features and consistency requirements must be checked for the intended use.
Base table
A stored table, distinguished from a derived relation such as a view. Views, reports or materialised summaries may depend on it, directly or through other layers. Clear understanding of its grain and semantics is essential when tracing analytical errors. A query can be syntactically correct while producing misleading results because assumptions about the underlying table are wrong.
Base64 encoding
A representation that converts binary data into a restricted set of text characters for transport or storage in text-oriented systems. It is encoding, not encryption, and does not provide confidentiality. Anyone with access to the encoded value can generally decode it. Treating Base64 as protection for secrets creates a security vulnerability rather than a meaningful barrier.
Batch processing
Processing data in groups at scheduled intervals, such as hourly or daily, rather than handling every event immediately. It can simplify operation and improve cost efficiency, but produces a delay between source events and available results. Whether that delay is acceptable depends on the product’s needs. Some systems combine batch and streaming rather than treating either as universally superior.
BCNF (Boyce–Codd normal form)
A normal form requiring every determinant of a non-trivial functional dependency to be a superkey. It addresses certain redundancy and update-anomaly problems. Decomposition choices must also consider whether dependencies remain straightforward to enforce. In analytical workloads, additional joins can increase complexity or cost, so normalisation decisions should reflect integrity needs and access patterns rather than a blanket rule to maximise table separation.
Benchmark
A defined test used to compare performance under a specified workload and environment. If it does not represent real query patterns, data distributions or concurrency, an apparent improvement may not translate into production benefits. Repeatability and fair configuration are important. Useful benchmarking records the workload, measurement method and relevant resource constraints rather than reporting a single impressive execution time.
BETWEEN
A SQL predicate testing whether a value falls within an inclusive range: the lower and upper endpoints are included. This matters particularly for timestamps, where an apparently date-based upper bound may represent midnight rather than the entire final day. Half-open ranges are often clearer for consecutive time windows. Null values and data-type conversions also require attention when interpreting results.
Binary data
Data represented as bytes, such as images, files or other non-text content. Databases can store it through binary types or BLOBs, but keeping large objects in external object storage with database references may better suit some workloads. The decision depends on access, transactional needs, security, backup and scale. A URL or identifier alone must also be managed so that references remain valid.
Binary log (binlog)
A change log, notably in MySQL, used for replication and point-in-time recovery. Depending on configuration, it can record statements or row-level changes. Change-data-capture systems may consume it as a source of updates. Inadequate retention or missing log segments can make replay or recovery impossible even when a base backup exists, so retention must match the intended recovery and replication requirements.
Bitmap index
An indexing technique representing matches through bitmaps, often effective for analytical filtering on columns with relatively few distinct values. Compressed implementations and engine design influence its usefulness beyond low-cardinality examples such as status flags. Frequent concurrent updates can be problematic in some systems. Storage and maintenance costs should be assessed against workload rather than assuming that any bitmap index is ideal for every categorical column.
Bitwise operation
An operation on the individual bits of values, such as AND, OR or XOR. Bit masks can compactly represent selected flags and support specialised calculations. The approach can also reduce readability and make maintenance fragile when meanings are undocumented. Its use should balance performance or storage benefits against clear semantics, queryability and the risk of incorrect assumptions about encoding.
BLOB (binary large object)
A database type or storage facility for large binary values. Images and files are common examples. Storing them inside a database can increase table size, backup volume and recovery costs, though it can simplify some consistency requirements. The choice should follow the access pattern, transactional requirements and operational constraints rather than a general rule that all files belong inside or outside the database.
Blocking
A situation in which one operation waits because another holds an incompatible lock or resource. Chains of blocked work can sharply increase latency. Long transactions, heavy contention and missing or unsuitable indexes are common contributors. Blocking is not automatically a deadlock: ordinary waiting can resolve when the holder completes, whereas a deadlock involves a cycle that requires intervention.
Bloom filter
A probabilistic structure used to test set membership efficiently. In its standard form, false positives are possible but false negatives are not, provided construction and use are correct. Database engines may use Bloom filters to avoid unnecessary reads or accelerate joins. Their size and hash configuration influence the false-positive rate. A positive result means “possibly present”, not proof of membership.
Boolean
A logical type whose ordinary truth values are true and false. SQL predicates can also evaluate to unknown because of nulls, introducing three-valued logic. A null Boolean value is not the same as false. Confusing the two can change filters, counts and business decisions. The interpretation of missing information must be explicit rather than silently converted to a negative answer.
Bound parameter
A value supplied separately to a parameterised statement instead of being concatenated into SQL text. Correct binding prevents the value from being interpreted as executable SQL and is a central defence against injection. It can also improve reuse of prepared plans, depending on the driver and engine. Identifiers and SQL keywords generally require different handling; parameter binding is not a substitute for every form of query validation.
BRIN (block range index)
A PostgreSQL index that stores summaries for ranges of physical table blocks. It can efficiently reduce scans on very large tables where column values correlate with physical order, such as some time-series datasets. Its storage footprint is comparatively small. When relevant values are scattered across most blocks, summaries eliminate less work, so suitability depends on data layout and query predicates.
Buffer
A memory area used to hold data pages or other information during processing. Keeping frequently accessed pages in RAM can reduce storage access. Poor memory allocation or ineffective buffering increases I/O and latency. Buffer requirements must be considered alongside other memory consumers, concurrency and the operating system rather than assigning all available memory to a single cache.
Buffer cache
A cache of database pages in memory, reducing repeated reads from persistent storage. Its hit ratio provides useful information but is not a complete performance diagnosis. Queries can remain slow despite many cache hits because they consume excessive CPU, wait for locks or process too many rows. Workload analysis should consider the whole execution path, not just disk avoidance.
Bulk insert
Loading many rows through an operation or interface designed for high throughput. Index maintenance, constraints, triggers, logging and concurrent access can affect speed and locking. Appropriate load modes differ by engine and integrity requirements. Disabling safeguards merely to obtain a faster import can create inconsistent data, so the method must balance throughput with correctness and recoverability.
Business intelligence (BI)
The reporting, dashboard and decision-support practices and tools used to interpret organisational data. Their reliability depends on the underlying model and metric definitions. Attractive charts cannot correct duplicated rows, inconsistent filters or an ambiguous calculation. BI quality therefore requires governance of data and semantics, as well as visual design and the technical ability to display results.
Business key
A value or combination of values that identifies an entity in its business context, independently of an artificial technical identifier. Order numbers and invoice numbers are familiar examples. The required scope of uniqueness and potential changes must be defined. Weak business-key design causes recurring duplicates, incorrect joins and reconciliation problems even when every row has a distinct surrogate ID.
Byte order (endianness)
The convention for arranging the bytes of a multi-byte value, commonly little-endian or big-endian. Most SQL users do not interact with it directly. It can nevertheless matter when binary data moves between systems, drivers or file formats. Interpreting a value with the wrong byte order can produce corrupted-looking results even though the transferred bytes are unchanged.
C
Cache
A layer holding frequently accessed data or query results in a form that can be retrieved more quickly, often in memory. It improves responsiveness but can conceal stale information. Applications must state how fresh a result needs to be and how changes invalidate cached copies. Otherwise, users may make decisions from data that is internally valid but no longer current.
Cache hit ratio
The proportion of relevant requests served from a cache rather than requiring a lower-level access. A high ratio can be beneficial, but does not guarantee fast queries. CPU costs, lock contention, network delay or an inefficient access pattern may still dominate. The denominator and cache level must be understood before comparing ratios between systems or interpreting a target value.
Caching
The strategy of retaining data or computed results for later reuse, through mechanisms such as page caches, query-result caches or content-delivery systems. Incorrect expiry or invalidation can repeatedly serve outdated or wrong results. The design must specify consistency, lifetime and update behaviour. A performance gain is useful only if the cached information remains appropriate for its intended decision.
CALL
A statement used by supporting SQL engines to invoke a stored procedure. Procedures can centralise work close to the data, but their transaction rules and capabilities differ by product. Without testing, observability and disciplined maintenance, substantial business logic inside procedures can become difficult to understand or modify. A procedure is not automatically faster or easier to maintain simply because it runs in the database.
Candidate key
A minimal set of attributes that uniquely identifies a row: removing any attribute would lose that identifying property. A table can have several candidate keys, one of which may be chosen as the primary key. Failure to identify and enforce the relevant keys leads to duplicates and incorrect join assumptions. A merely unique but non-minimal set is a superkey, not necessarily a candidate key.
Canonical query
An agreed, standard representation of a query or calculation. It can support consistent coding, plan reuse or a shared definition of a metric. Without a reference implementation, different teams may calculate the same labelled KPI through incompatible queries. Canonicalisation must preserve semantics; superficially similar statements may differ in null handling, time boundaries or row multiplicity.
CAP theorem
A result about distributed systems showing that, during a network partition, a system cannot guarantee both linearizable consistency and availability for every request under the theorem’s definitions. The practical question is how operations behave when nodes cannot communicate. It is not a rule to casually “pick any two” under normal conditions, and its meaning of consistency differs from the C in ACID.
Cardinality
A term with several database meanings: the number of rows in a relation, the number of distinct values in a column, or the multiplicity of an entity relationship, such as one-to-many. Context must identify which is intended. Incorrect assumptions about relationship multiplicity commonly multiply rows in joins and inflate analytical totals, even when individual tables appear correct.
Cardinality estimation
The optimiser’s prediction of how many rows an operation, filter or join will produce. These estimates affect join order, access methods, memory allocation and other planning decisions. Poor estimates can produce an unsuitable plan and highly variable latency. Investigations should compare estimated and actual row counts and examine statistics, correlation and predicates rather than assuming every slow query merely needs another index.
CASCADE
A referential action propagating a deletion or key update to dependent rows, as in `ON DELETE CASCADE`. It can simplify consistent maintenance of relationships. An incorrectly designed cascade can also turn one deletion into a much larger, unexpected loss of data, so dependencies and transactional safeguards must be understood before use.
CASE expression
SQL’s standard conditional expression, used to select a result according to conditions. It can improve clarity, but deeply nested expressions often hide a tangle of business rules. Where appropriate, reusable modelling or transformation layers can make those rules easier to govern. Moving logic elsewhere is a design choice rather than a requirement for every condition.
Case sensitivity
Whether string or identifier comparisons distinguish uppercase from lowercase. Text behaviour depends on collation, data type and engine rules; identifier handling may follow a different mechanism. Without explicit assumptions, the same-looking query can return different results across environments. Language-specific cases also matter, including the distinct dotted and dotless I characters in Turkish.
CAST
An explicit conversion between data types, such as `CAST(x AS INTEGER)`. Conversions can introduce rounding, truncation or errors depending on the values and engine. Applying a cast in a join or filter may also prevent an efficient index access. Correctness and performance both require attention to which side is converted and the intended comparison semantics.
Change data capture (CDC)
Capturing inserts, updates and deletions as a stream or sequence of changes. CDC can feed replicas, analytical systems and integration pipelines. Correctness depends on ordering, checkpoints, replay and lag management. Consumers must also handle duplicates or schema changes according to the delivery guarantees, rather than assuming every captured change is automatically applied exactly once everywhere.
CHECK constraint
A database rule requiring row values to satisfy a specified predicate, such as `price >= 0`. It enforces a condition independently of ordinary application validation, but an incorrect rule can reject legitimate records. In SQL, an unknown result caused by nulls commonly does not violate a check; use `NOT NULL` separately when missing values must be prohibited.
Checkpoint
A recovery-related marker or operation establishing how much earlier log history must be considered after a crash. Implementations differ, and a checkpoint need not mean every page is instantaneously written at one moment. Infrequent checkpoints can lengthen recovery; overly aggressive flushing can increase write pressure. Configuration balances steady-state performance with recovery objectives.
Client–server architecture
A model in which a client application or BI tool connects to a database service and submits requests. Network latency, connection management and concurrency influence performance as well as query execution itself. Many short round trips can become expensive. Connection pools and deliberate request boundaries help manage costs without changing the underlying client–server relationship.
Clustered index
An index organisation that determines how table rows are stored relative to its key, with details varying by engine. It can make certain reads efficient, but an unsuitable key can increase update costs and page splits. Physical storage does not eliminate the need for `ORDER BY` when a query requires guaranteed result ordering.
Clustering key
A key used to organise related data near one another physically or logically, particularly in analytical stores. Suitable clustering can improve locality and data skipping for common filters. Poor choices consume maintenance resources without eliminating much scanning. Its meaning and relationship to partitions or indexes differ between products, so the workload and storage engine must guide design.
COALESCE
An expression returning the first non-null argument, for example `COALESCE(a, b, c)`. It provides explicit handling of missing values, but can also conceal why information is absent. Substituting zero or an empty string may change a metric’s meaning rather than repair the data. Type resolution and evaluation details should be checked in the relevant engine.
Collation
Rules governing how text is compared and sorted, including language conventions and, in some implementations, case or accent sensitivity. Different collations can produce surprising equality and join results. They may also affect index compatibility. A consistent collation policy matters across databases and imports, especially when text that appears visually similar has different underlying characters.
Column
A named field in a table, associated with a data type and optional constraints or default. Good design combines the right type, units, name and clearly documented meaning. Otherwise, identically named columns can represent incompatible concepts across systems. Column definitions should also state how missing, invalid or historical values are handled.
Column statistics
Summaries of value distributions used by an optimiser to estimate row counts and select plans. They may include distinct counts, histograms or common values. Stale or insufficient statistics can lead to poor plans and variable performance. Maintenance helps, but correlated columns and unusual predicates may require additional statistics or other modelling considerations.
Columnar storage
Storage organised primarily by column rather than complete row. It can accelerate analytical queries reading a few attributes across many records, often benefiting from compression and vectorised execution. Frequent small updates or transactional access may require different structures or introduce extra costs. Hybrid engines combine approaches; columnar storage is not inherently the best fit for every workload.
Commit
The operation completing a transaction and making its changes committed according to the database’s guarantees. Work not yet committed may be rolled back or lost after a failure. Delaying commitment can prolong locks or retain old row versions. Durability after acknowledgement also depends on relevant settings and infrastructure, including whether synchronous persistence or replication is required.
Commit log
A durable record supporting the persistence and recovery of committed work, with naming and implementation varying between systems. Write-ahead logging generally requires relevant log records to reach the required durability point before affected data pages. Logs may support replication and recovery, but are not automatically a complete application audit trail. Log I/O can become a write bottleneck.
Common table expression (CTE)
A named query expression introduced with `WITH` and used within a statement. It can make complex queries easier to read and support recursion where implemented. Optimisers may inline or materialise it depending on the engine, version and query. A CTE is therefore not inherently a performance optimisation or a guarantee that its result is computed only once.
Composite key
A key made from more than one column. The combination identifies a row even when individual components do not. Correct design states the scope of uniqueness and enforces appropriate constraints. An incomplete join on a composite key can duplicate or mismatch records, while wide keys may increase index and referencing costs.
Compression
Representing stored data using less space. It can reduce storage and I/O but requires processing for encoding and decoding. The net effect depends on data patterns, algorithms, hardware and workload. Some analytical engines gain substantially because less data must be moved, whereas other operations may become CPU-limited. Evaluate both resource use and latency rather than disk size alone.
Concurrency
The ability to manage multiple operations whose execution overlaps. Greater concurrency can improve throughput until resources become saturated, after which contention and queues increase latency. Locks, CPU, memory, I/O and connections may all become limits. Concurrency is related to but not identical with parallel execution, which performs work simultaneously on multiple processing resources.
Concurrency control
Mechanisms ensuring that overlapping transactions behave according to specified isolation guarantees. Locks, multiversion concurrency control and validation-based approaches are examples. Inappropriate settings can cause excessive waiting or permit anomalies the application cannot tolerate. Design should specify required behaviour first, then assess the performance cost, rather than choosing the weakest or strongest setting without reference to business rules.
Connection
A communication channel through which a client interacts with a database, commonly associated with session state and server resources. Uncontrolled connection growth can exhaust capacity. Too few available connections can create application queues. The appropriate number depends on workload and engine design; opening more connections does not necessarily make operations complete faster.
Connection pool
A managed set of reusable connections that avoids repeatedly establishing and closing them. Pool size must match database capacity and application concurrency. An oversized pool can overload the server; an undersized pool increases waiting. Session state, transaction cleanup and timeouts also require care so that one request does not inherit unsafe state from another.
Consistency
A term whose meaning depends on context. In ACID, it concerns preserving declared integrity rules and application invariants across transactions. In distributed systems, consistency models describe which writes reads may observe and how operations are ordered. Stronger visibility guarantees can require coordination; eventual consistency permits temporary divergence. Applications must specify the relevant guarantee rather than assuming that all uses of the word mean the same thing.
Consistent hashing
A distribution technique designed to limit how many keys need reassignment when nodes are added or removed. It can reduce data movement during scaling compared with simple modulo-based placement. Balance still depends on the scheme and key frequencies, and a single heavily used key can remain a hot spot. It is not a complete solution to every sharding or workload-skew problem.
Constraint
A database-enforced rule such as `PRIMARY KEY`, `FOREIGN KEY`, `UNIQUE`, `CHECK` or `NOT NULL`. Constraints protect integrity across multiple writers and application paths. Leaving all validation to application code can allow violations through imports or new services. Constraints nevertheless enforce only what is correctly expressed and supported; they do not establish every aspect of business correctness automatically.
Correlated subquery
A subquery referencing values from an outer query. It expresses useful per-row relationships, but may be costly if executed repeatedly. Some optimisers transform it into an efficient join or other strategy. Rewriting with joins or window functions can help where semantically equivalent, but correlation itself is not proof of row-by-row execution or poor performance.
Cost-based optimiser (CBO)
An optimiser that compares estimated resource costs of alternative execution plans, including I/O and CPU work. Statistics and assumptions about cardinality are central inputs. If estimates poorly describe the actual data, the selected plan may be unsuitable. Estimated cost is a planning model, not a direct promise of elapsed time on a particular machine.
Covering index
An index containing the columns needed to answer a particular query, potentially avoiding additional table lookups. It can improve suitable workloads substantially. Extra included columns increase storage and write-maintenance costs, and some engines still need visibility checks or other accesses. Coverage is a relationship between an index and a query, not a permanent benefit independent of workload.
CREATE DATABASE
A command for creating a database where supported. Initial decisions about encoding, collation and default settings can be costly or difficult to change later. Production preparation should consider ownership, permissions and operational requirements as well as creation syntax. The meaning of a database and the options available differ between engines.
CREATE INDEX
A command creating an index on specified data. A useful index follows actual search, join and ordering patterns. An unsuitable index can add maintenance costs without improving reads, and cannot reliably compensate for incorrect query semantics. Production creation may involve locks and substantial resource use, with online or concurrent options depending on the engine.
CREATE TABLE
A command defining a table’s columns and related schema properties. Choices such as `DATE` versus `TIMESTAMP`, nullability and keys determine how information can be stored and checked. Errors at this layer impose costs on queries, integrations and reporting. A successful statement confirms valid syntax, not that the schema accurately represents the intended business entities.
Cross join
The Cartesian product of two relations: each row from one is combined with every row from the other. It can intentionally generate combinations, such as a small calendar–category grid. Unintended use multiplies rows rapidly and can overwhelm resources. Estimate the resulting size before applying it, particularly when neither input is small.
CRUD
Create, read, update and delete: the basic categories of operations on stored records. Their relative frequency helps guide OLTP design, indexing and transaction strategy. A schema optimised only for reads may impose high update costs, while a write-focused design can complicate retrieval. Business workflows often combine several CRUD steps that require a deliberate transactional boundary.
CSV (comma-separated values)
A text format for transferring tabular records. It is accessible but does not inherently preserve data types, constraints or semantic definitions. Delimiters, quoting, embedded newlines, encoding and line endings require agreement. Incorrect parsing can silently shift columns or reinterpret values. A reliable exchange specifies the dialect and validates the imported data rather than trusting the filename alone.
CTAS (CREATE TABLE AS SELECT)
Creating a table from the result of a query. It is useful for transformations and point-in-time copies, subject to the statement’s consistency guarantees. Constraints, indexes, defaults and other schema properties are not necessarily copied from source tables. Engine behaviour must be checked, and the resulting structure should be validated before treating it as an equivalent replacement.
Cumulative sum
A running total across an ordering, commonly expressed with a window aggregate such as `SUM(x) OVER (ORDER BY …)`. Results depend on partition keys, ordering and the window frame. Ties and default `RANGE` behaviour can produce surprising totals. Explicit, deterministic rules are needed to ensure that an apparently reasonable accumulation corresponds to the intended sequence of events.
Cursor
A mechanism for navigating or fetching a query result incrementally, sometimes row by row. It is useful where controlled iteration is required, but procedural loops can perform poorly compared with an appropriate set-based operation. Not every cursor is inherently slow: server implementation, fetch size and work performed per row matter. Choose the mechanism according to the task rather than habit.
D
Data control language (DCL)
A conventional category of commands managing privileges, notably `GRANT` and `REVOKE`. Poorly designed permissions can expose too much data or prevent legitimate production work. Role design, least privilege and review of inherited rights help avoid both extremes. Command classification and supported permission models differ across engines, so the actual enforcement rules must be understood.
Data definition language (DDL)
Commands defining or changing database structures, such as `CREATE`, `ALTER` and `DROP`; `TRUNCATE` is also commonly grouped here. Locking, transaction behaviour and possible data rewrites vary by engine and operation. A small schema change can therefore cause a substantial interruption. Production planning must consider dependencies and rollback or recovery rather than judging risk from statement length.
Data dictionary
Metadata describing database objects and, in a business dictionary, the meanings, types, units, origins and constraints of fields. A system catalogue and a semantic dictionary overlap but serve different needs. Without shared definitions, syntactically successful SQL can produce incompatible interpretations and metrics. Useful dictionaries are maintained alongside schema changes rather than left as outdated documentation.
Data file
A file used by an engine to persist database pages, or, in another context, an external dataset such as CSV or Parquet. The intended meaning should be specified. Growth, fragmentation, placement and available storage affect operation and performance. Running out of disk space can interrupt writes or maintenance, so monitoring matters even when query design is otherwise sound.
Data integrity
The maintenance of valid, consistent data according to declared rules and relationships. Keys, foreign keys, uniqueness, checks and nullability help enforce it within the database. Application validation alone can be bypassed by other writers or imports. Database constraints are often a practical safeguard, but integrity also depends on correct modelling, transactions and rules that cannot all be expressed through simple constraints.
Data lineage
Information tracing where a dataset or field originated and which transformations produced it. It supports root-cause analysis, impact assessment, auditing and recovery planning. Missing lineage makes it difficult to identify which reports require correction after an upstream change. Useful lineage includes semantic transformations and versions, not merely a diagram of technical pipeline connections.
Data manipulation language (DML)
Commands used to retrieve or modify stored data, commonly including `SELECT`, `INSERT`, `UPDATE`, `DELETE` and `MERGE`, with classifications varying by source. Cost includes more than the count of changed rows: indexes, locks, logging and triggers can add work. Transaction boundaries and access paths influence both performance and the consistency visible to other operations.
Data mart
An analytical dataset focused on a particular business area, such as sales, finance or marketing, often derived from a data warehouse. It can improve accessibility and performance for a team’s needs. Uncontrolled proliferation can create conflicting definitions and duplicated pipelines. Shared semantics, ownership and lineage help retain consistency while allowing specialised views.
Data modelling
Representing entities, relationships and business rules in conceptual, logical or physical structures, including entity–relationship and dimensional models. A weak model creates recurring structural problems that queries can only patch temporarily. Incorrect grain or relationships can produce persistently misleading metrics. Good modelling states assumptions and constraints before optimising storage or writing increasingly complicated corrective SQL.
Data normalisation
Organising relations according to normal forms to reduce avoidable redundancy and insertion, update or deletion anomalies. It is particularly useful for transactional integrity. More separated structures can require additional joins, which may complicate some analytical workloads. The choice should consider dependencies and access patterns, with deliberate denormalisation where justified rather than treating normalisation as an unqualified performance rule.
Data query language (DQL)
A conventional label for statements that retrieve data, principally `SELECT`. It is a pedagogical category rather than a uniform distinction enforced by every SQL standard or engine. Read queries still consume CPU, memory, temporary storage and I/O, and may participate in locking. Poorly controlled analytical reads can therefore affect production even when they make no intended changes.
Data tag
Metadata classifying an object or field, for example as personal, critical or financial information. Tags support discovery, governance and potentially automated policies. Their presence does not guarantee correct enforcement; classification needs ownership and review. Missing or inaccurate tags can make access controls inconsistent or conceal sensitive data, so automated use should rely on a maintained classification process.
Data type
The kind and permitted representation of a value, such as integer, character, date or exact numeric. An unsuitable choice can cause comparison errors, inefficient conversions, index-use problems or loss through rounding and truncation. Range, units, time-zone interpretation and missing values require consideration. A column that accepts a value does not necessarily preserve the meaning intended by its producer.
Data warehouse
An integrated store organised for analytical querying and historical analysis. It often supports a shared view of business performance across source systems. A warehouse alone does not establish one authoritative KPI: definitions, ownership, lineage and versioning are still needed. Without governance, central storage can simply bring inconsistent source assumptions together in one place.
Database
An organised collection of data managed for storage, retrieval and updates, generally through a database management system. Designs include relational and other models and support transactional or analytical uses. The value extends beyond file storage to integrity, concurrency, access control and query processing. Row-oriented and columnar storage are implementation choices, not mutually exclusive definitions of what a database can be.
Database administrator (DBA)
A role responsible for aspects of database operation such as performance, security, backup, restoration, replication and maintenance. Responsibilities vary between organisations and managed-service arrangements. Effective practices often remain unobtrusive because failures are prevented. Poor preparation becomes visible through slow systems, insecure permissions or an inability to recover when needed. Tested procedures and observability are as important as reactive tuning.
Database as a service (DBaaS)
A service model providing database capabilities with specified operations managed by a provider, potentially including backups, patching and failover. It is related to SaaS but more specifically describes a database service. Defaults, resource limits, timeouts and supported configuration still matter. Customers retain responsibilities for access, application correctness and verifying that recovery arrangements meet their needs.
Database cluster
A term commonly describing multiple nodes cooperating to provide database services, potentially supporting availability or scale. It can introduce coordination, failover and maintenance complexity. Terminology is product-specific: PostgreSQL also uses “database cluster” for a collection of databases managed by one server instance. The term alone therefore does not prove that a deployment is distributed or highly available.
Database engine
The core software implementing storage access, query execution, transactions, concurrency control, buffering and logging. Its specific behaviours influence application design and operational choices. MVCC and locking are not always alternatives: many engines use both for different purposes. Understanding the actual guarantees and mechanisms is more useful than assuming that a product label determines every concurrency or performance outcome.
Database gateway
An intermediary handling connectivity, routing, access controls or protocol translation between applications and database services. It can improve observability and centralise selected policies. It also introduces latency and another dependency, potentially becoming a single point of failure. Capacity, redundancy and failure behaviour must be designed explicitly rather than assuming that an additional layer automatically improves reliability.
Database link
A facility allowing one database to access another through database-managed connectivity, particularly familiar in Oracle terminology. It simplifies some cross-system queries but introduces network, security and consistency dependencies. Remote operations may be much more expensive than local ones, and failures can cross administrative boundaries. Permissions, credentials and distributed-transaction behaviour require explicit design rather than treating a link as an ordinary local table.
Database migration
Moving or changing database structures and data, potentially between versions, engines, regions or deployment environments. Successful transfer is only one objective. Validation, semantic compatibility, a recovery or rollback approach and interruption management are essential. Differences in types, collation, constraints and transaction behaviour can matter even when every source row appears to have arrived.
Database package
A grouping of related procedures, functions, variables or types, particularly in environments such as Oracle PL/SQL. It supports organisation and reuse. Oversized packages can become difficult to version, test and understand, with broad dependency effects. Clear interfaces and limited responsibilities help preserve the benefits instead of turning one package into an opaque home for unrelated application logic.
Database proxy
An intermediary providing capabilities such as connection management, routing, failover handling or observability. It can simplify operations, but adds another resource and failure dependency. Capacity, redundancy and session semantics require attention. A proxy cannot automatically hide every failover or route every transaction safely without understanding the system’s consistency and connection-state requirements.
Database snapshot
A representation of database state at a particular point, ideally with defined consistency guarantees. Implementations can use copy-on-write or storage mechanisms rather than copying every byte immediately. Snapshots can support testing, analysis or recovery workflows, but are not automatically independent backups. Freshness, shared dependencies, storage growth and I/O costs must be understood before relying on one for protection.
Database tuning
Improving performance through coordinated consideration of settings, schema, indexes, statistics and statements. The objective is predictable behaviour across representative loads, not merely accelerating one isolated query. Changes should be measured for side effects on other operations. Workload evolution requires review, because a configuration suitable for a small read-heavy service may not fit later write-intensive demand.
Database user
An identity associated with access to a database, whether a person or a service. Engines may distinguish login principals from database users. Separating human and service identities, assigning roles appropriately and preserving auditability improve accountability. Shared unrestricted accounts make it difficult to determine who acted and increase the consequences of a compromised credential.
Deadlock
A cycle in which transactions or processes each wait for resources held by another participant, preventing all from progressing without intervention. Inconsistent lock-acquisition order is a common cause. Engines typically detect a deadlock and abort one participant rather than wait forever. Standardising resource order, shortening transactions and using suitable indexes can reduce occurrence; applications still need safe retry handling.
DECIMAL / NUMERIC
Exact numeric types typically defined by precision and scale. They are useful where decimal values must not be approximated as binary floating point, including many financial calculations. Precision limits and rounding rules still matter, especially during arithmetic and conversion. Choosing an exact type does not eliminate every rounding decision, but avoids treating an approximate floating-point representation as an exact monetary amount.
Declarative SQL
The approach of expressing the result required rather than prescribing every execution step. The optimiser chooses access paths and an execution plan, improving productivity and portability of intent. Changes in statistics or data distribution can nevertheless cause an unexpected performance regression. Declarative syntax therefore reduces procedural specification but does not remove the need to understand plans and workload characteristics.
Decomposition
Splitting a relation into smaller relations, often during normalisation. A lossless decomposition allows reconstruction without creating spurious combinations. Dependency preservation concerns whether the original constraints can be enforced conveniently in the decomposed structure. Ignoring these properties can damage integrity or complicate updates and queries. Decomposition is therefore a modelling decision, not merely dividing columns among more tables.
Default value
A value or expression used when an insertion does not supply a column value, subject to engine rules. Defaults simplify valid common cases but can conceal missing information. Treating an unknown amount as zero, for example, changes its meaning and can distort analysis. A default is not generally applied merely because an explicit null was supplied; the precise behaviour should be checked.
Deferred constraint
A constraint whose enforcement can, where supported and configured, be postponed until a later point such as transaction completion. It enables coordinated changes that temporarily violate a relationship but end in a valid state. Errors may be detected later, making diagnosis less immediate. Not every constraint type or engine supports deferral, and a deferred check is not a disabled check.
Delta
The changes between two defined states or processing points, rather than a complete current snapshot. Delta loads and CDC use this idea to process updates incrementally. Boundaries, ordering, deletion handling and idempotency must be explicit. An ambiguous time cutoff or unsafe replay can duplicate records or omit changes even when each individual extraction appears to succeed.
Denormalisation
The deliberate introduction of redundant or precombined data to simplify access or improve performance. It can be appropriate for analytical or read-heavy needs. The additional copies require an update and reconciliation strategy; otherwise, different representations drift apart. A useful design identifies which source is authoritative and how derived values are maintained rather than accepting inconsistency as an unavoidable cost of faster reads.
Dependency
A relationship in which one database object relies on another, such as a view referencing a table or a procedure using a column. Foreign-key relationships create other dependencies. A maintained dependency map helps predict the impact of schema changes. Without one, apparently local modifications can break reports, integrations and application workflows that were not considered during deployment.
Derived table
A table-like result produced by a subquery within another query, commonly in the `FROM` clause. It can clarify intermediate logic and establish an explicit grain. Depending on the engine and query, the optimiser may merge it into surrounding operations or materialise it. Syntax alone does not establish execution cost; inspect the plan before assuming that the intermediate result is free or repeatedly computed.
Dimension table
A table holding descriptive attributes for analytical entities such as products, customers or dates, commonly within a star schema. Its keys and historical treatment determine how facts are classified. Ambiguous dimensions make it difficult to know the level or period represented by a metric. Clear grain and versioning rules help prevent contradictory BI reports.
Dirty read
Reading a change made by another transaction before that change has committed. If the writer later rolls back, the reader has used information that never became a valid committed state. Some systems permit this under particular isolation settings. It may reduce certain waits but creates serious correctness risks, especially for financial or authoritative reporting; it is not a harmless performance switch.
Disaster recovery (DR)
The plans, processes and infrastructure used to restore service after a major failure or disaster. Their value is established through exercises and measured recovery, not documentation alone. Recovery-point and recovery-time objectives need testing against realistic dependencies and failure conditions. Backups, credentials, networking and operational responsibilities must all work together for the system to recover as intended.
DISTINCT
A modifier eliminating duplicate result rows according to the selected columns and SQL comparison rules. It is useful when set semantics are intended. Applying it merely to hide row multiplication from an incorrect join conceals the underlying modelling problem. The result may look plausible while aggregates or omitted columns remain wrong, so investigate the source of duplication first.
Distributed database
A database architecture storing or processing data across multiple nodes through mechanisms such as partitioning and replication. It can support scale and resilience, but introduces coordination, failover and consistency decisions. Cross-partition transactions may require additional work and communication. Benefits depend on the workload and implementation; distributing a database does not automatically make every query faster or every failure harmless.
Distributed transaction
A transaction coordinating atomic work across more than one resource, node or database. Protocols such as two-phase commit help participants agree on an outcome, but add coordination and can leave resources waiting during failures. Other architectures use sagas or asynchronous patterns with different guarantees. Choosing one requires an explicit account of atomicity, compensation and acceptable intermediate states.
Distributed transaction coordinator (DTC)
A component managing agreement between resources participating in a distributed transaction, familiar in some enterprise platforms. It tracks outcomes and coordinates preparation, commitment or rollback. Network, authentication or configuration errors can create intermittent, difficult-to-diagnose failures. Understanding recovery and in-doubt states is essential; successful local updates alone do not establish that the distributed unit committed consistently.
Domain
The permitted set of values and associated rules for an attribute, such as a status limited to new, paid or shipped. Databases may express domains through dedicated domain types, checks or enumerations. Enforcing them centrally improves integrity across writers. The domain should reflect valid business states and their evolution rather than an arbitrary restriction that later requires unsafe workarounds.
DOUBLE PRECISION / FLOAT
Approximate numeric types based on floating-point representations. They provide useful ranges and efficient calculations for measurements and scientific or telemetry data. Many decimal fractions cannot be represented exactly, so equality tests and accumulated rounding require care. Financial quantities needing exact decimal semantics generally use an appropriate exact numeric type rather than assuming binary floating point preserves every amount precisely.
Downtime
A period in which a service cannot provide its required function. Complete database shutdown is one cause, but extreme latency or persistent errors can have the same practical effect for users. Availability objectives should therefore define successful service, not merely whether a process is running. Monitoring should reflect the operations customers actually need.
DUAL
Oracle’s special one-row table, traditionally used to evaluate expressions or call functions in a `SELECT`. Depending on the database and version, a table may not be required for such expressions. Queries relying on DUAL are not automatically portable to other engines. Portability work should distinguish product-specific syntax from the calculation being requested.
Duplicate key
A conflict with a primary-key or unique constraint. Common causes include retries without idempotency, concurrent writers or an incorrect assumption about business uniqueness. Catching the exception is only part of the response. The write pattern and key definition should be examined so that retries do not discard legitimate work or repeatedly attempt the same invalid insertion.
Durability
The ACID property that committed changes persist within the system’s stated failure guarantees. Logging, durable flushes and, where required, replication contribute to it. Relaxed persistence settings can permit loss of recently acknowledged work after a crash. Guarantees also depend on storage and failure scope, so “committed” should be interpreted with the actual configuration rather than an unlimited promise against every disaster.
Dynamic SQL
SQL text assembled or selected at runtime. It supports flexible queries but can create injection vulnerabilities, poor plan reuse and difficult debugging. Values should normally be bound as parameters rather than concatenated into executable text. Dynamic identifiers require separate validation or safe quoting. Flexible construction should preserve clear permissions and observability rather than bypassing normal access controls.
E
Edge case
A boundary or unusual input that tests assumptions, including nulls, empty strings, date boundaries, division by zero and very large numbers. Such cases occur in real data even when ordinary examples look correct. SQL may return plausible but unintended results rather than an obvious error. Representative testing should deliberately include these conditions instead of relying only on typical records.
Egress
Data leaving a database or infrastructure boundary, such as transfer to another region, cloud or internet destination. Network charges and transfer time can be substantial even when query execution is fast. Result size and placement therefore matter to architecture and cost. Moving computation closer to the data may reduce unnecessary transfers, subject to security and operational requirements.
Elastic scaling
Adjusting resources in response to workload, automatically or through managed controls. It can help handle changing demand, but stateful databases require attention to writes, replication, connection limits and cache warm-up. Adding capacity may involve delay or redistribution. A scaling policy should test transitions and failure modes rather than assuming that more nodes immediately improve every metric without disruption.
Embedded database
A database engine integrated into an application’s process or deployment rather than accessed only as a separate service. SQLite is a familiar example. Simple installation and portability are advantages. Concurrency, backup and scale requirements must match the engine’s design; some embedded databases handle substantial analytical workloads, so “embedded” does not by itself mean unsuitable for all large datasets.
Encryption at rest
Encryption protecting data stored on media, including database files or storage volumes. It reduces exposure from stolen or improperly accessed storage. Effective protection also requires key management, encrypted backups and access controls. It does not automatically prevent an authorised database account from reading plaintext results, so the threat model must distinguish physical-storage protection from application-level confidentiality.
Encryption in transit
Protection of data moving between clients, databases or other components, typically using TLS. Certificate verification and secure configuration are essential; obsolete SSL protocols should not be treated as current equivalents. Handshake and processing costs may affect performance, but do not remove the need for secure transport. Encryption without authenticating the intended endpoint can leave interception risks unresolved.
Endpoint
The address through which a client reaches a database service, commonly involving a hostname, port and sometimes service identifier. Selecting the wrong endpoint can route work to a distant region, stale replica or unintended environment. This affects latency and correctness as well as connectivity. Applications should know whether an endpoint supports writes, reads or automatic failover.
Entity–attribute–value (EAV)
A model storing attributes as name–value relationships rather than fixed columns for every property. It accommodates varying attributes, but often complicates queries, typing, constraints and indexing. Integrity can shift into application logic, and routine analysis may require expensive reconstruction. It can suit particular sparse or extensible domains, provided those trade-offs are explicit rather than treated as free schema flexibility.
Entity–relationship diagram
A visual model of entities, attributes and relationships, including their cardinalities. It helps explain valid join paths and the intended structure of information. An unclear or incorrect model often reappears in production as expensive queries, duplicated rows or misleading metrics. The diagram should reflect actual constraints and historical rules rather than merely show lines between similarly named columns.
ENUM
An enumerated type restricting values to a predefined set, where supported. It improves consistency for genuinely bounded categories. Frequently changing categories can complicate schema evolution and deployment across services. Engine rules differ for ordering, additions and conversions. A reference table or check constraint may be more appropriate in some cases, so the choice should reflect how the value set changes.
Escape character
A mechanism allowing a character with special syntactic meaning to be treated literally in a particular context. For example, `%` and `_` are wildcards in `LIKE` patterns unless appropriately escaped. String literals and pattern syntax may use different escaping rules. Values should normally be parameterised; ad hoc escaping is not a universal substitute for safe query construction.
Event log
Records of relevant system events, such as queries, errors, connections or schema changes. Good logs accelerate root-cause analysis and support accountability. Excessive detail, unprotected personal information or missing rotation can create security and cost problems. Logging policy should define what is collected, who can access it and how long it is retained, rather than recording everything indefinitely.
Eventual consistency
A consistency model under which replicas are expected to converge if updates stop and required communication and processing continue. Reads may temporarily return older or differing values. Applications must tolerate that behaviour or add stronger coordination for selected operations. The phrase does not define a maximum convergence time or resolve conflicts automatically, so practical service guarantees need more detail.
EXCEPT
A set operation returning rows present in the left result but not the right. Plain `EXCEPT` commonly removes duplicates, while `EXCEPT ALL`, where supported, preserves multiplicity through count subtraction. Null comparison in set operations differs from ordinary equality predicates. Understanding those rules prevents unexpected results when reconciling datasets or replacing the operation with a join-based formulation.
Exclusive lock
A lock preventing conflicting access to a resource under the engine’s compatibility rules. It commonly excludes other writers, but whether readers wait depends on isolation and versioning; MVCC readers may continue. Such locks protect coordinated changes but can severely reduce concurrency when held too broadly or too long. Scope and duration matter as much as the lock’s name.
Execution plan
The operations an engine chooses to evaluate a query, such as scans, index access, joins, sorts and aggregation. Plans provide concrete evidence for performance diagnosis. Estimated plans show expectations; runtime information reveals what happened. Useful analysis combines the plan with row counts, resource use and waits rather than assuming a particular operator is always good or bad.
EXISTS
A predicate testing whether a subquery produces at least one row. It expresses existence without requiring the output columns themselves to carry a meaningful value. `NOT EXISTS` is useful for anti-join patterns and avoids some null-related traps of `NOT IN`. Performance still depends on the engine, predicates and indexes; the keyword alone does not guarantee the fastest possible execution.
EXPLAIN
A facility showing an engine’s proposed execution plan without ordinarily executing the query for its result. It is an important first step in investigating unexpected cost. Estimates should be compared with statistics and, when safe, runtime evidence. Syntax and behaviour vary, so confirm whether a particular option actually executes statements before using it on production data.
EXPLAIN ANALYZE
A facility that executes a statement and reports runtime information alongside its plan, such as actual rows and timing. It is valuable for diagnosing inaccurate estimates and bottlenecks. Because the work really runs, expensive queries consume resources and data-changing statements can have effects. Production use requires understanding the engine, statement and transaction boundaries rather than treating it as a harmless plan preview.
Expression index
An index on an expression rather than simply the stored value of a column, such as `LOWER(email)`. It can accelerate matching predicates, including suitable case-insensitive searches. Expressions must meet engine requirements, often concerning volatility or determinism. Unnecessary indexes add write and storage costs. The query’s expression and collation must be compatible with the index for the expected access path.
Extended Events (XEvent)
SQL Server’s event-based diagnostic infrastructure, used to collect information such as waits, deadlocks or execution activity. Targeted sessions can provide useful evidence with controlled overhead. Broad or expensive capture can still affect production. Filters, targets, retention and secure handling of statement data should match the investigation rather than record every possible event indefinitely.
Extension
A module adding capabilities such as functions, types or index methods to a database. Extensions can be powerful, but introduce compatibility, security and maintenance requirements. Managed services may restrict installation or supported versions. A deployment should consider upgrades and recovery as well as initial functionality, because a database relying on an unavailable extension may be difficult to move or restore.
External table
A table-like interface to data stored outside the database’s ordinary managed storage, such as CSV or Parquet files. It supports exploration and integration, but correctness depends on file structure, types, consistency and partition conventions. Performance also depends on pushdown and scan capabilities. Treating a file as queryable through SQL does not automatically give it the integrity or transactional guarantees of an internal table.
Extract–transform–load (ETL)
A process extracting data from sources, applying transformations and loading the results into a target. A completed job is not sufficient proof of correctness. Idempotency, schema contracts, late-arriving data, deletions and historical backfills require explicit handling. Without those controls, a warehouse can accumulate inconsistent outputs even when every scheduled task reports technical success.
F
Fact table
The central table in a dimensional model, recording measurements such as revenue, quantity or duration together with keys to relevant dimensions. Its grain states exactly what one row represents. Aggregating before that grain is understood can produce misleading totals, especially after joins. Some facts are not additive across every dimension, so valid aggregation rules belong in the model as well.
Failover
The transfer of a service’s active role to another node after failure or a planned transition. Promotion is only one part of recovery: endpoints, client connections, write routing and fencing must also be handled. Replication lag can affect the recovery point. A successful failover test therefore checks usable service and data guarantees, not merely that another server reports itself as primary.
Failure domain
A set of components that can be affected by the same failure, such as a rack, availability zone or region. Replicas placed in one domain may all fail together despite being separate machines. High-availability design distributes dependencies according to the failures it intends to survive. Independence must include networking, power, control systems and operational processes, not just a different server name.
Fan-out
The multiplication of rows or downstream work caused by a relationship or query pattern. One-to-many and many-to-many joins can repeat a fact and inflate subsequent totals. Correct keys and intermediate steps preserving the intended grain help prevent this. Fan-out can be intentional, so diagnosis asks whether the multiplicity matches the business meaning rather than simply removing duplicates afterwards.
Fast-forward cursor
A cursor mode, notably `FAST_FORWARD` in SQL Server, designed for forward-only, read-only access with performance optimisations. It is distinct from the SQL Server `FAST` query hint, which concerns optimisation for initial rows. Set-based processing is often preferable, but the appropriate choice depends on the operation. Cursor use should be deliberate rather than assumed to be uniformly efficient or uniformly unacceptable.
Fetch
Retrieving rows from a cursor or result through a client interface, individually or in batches. The fetch size influences memory use and network round trips. Very small batches can increase latency; very large batches may consume excessive memory. Execution time and transfer time are separate concerns, so a fast database plan can still produce a slow application when result fetching is poorly configured.
Field
A term for an individual item within a record, often used for a column value or an attribute inside a structured object such as JSON. Informal usage can conceal different meanings. Units, format, source and missing-value rules should be specified. A shared field name is not enough to establish that two datasets describe the same quantity or entity.
Filegroup
A logical grouping of database files used by products such as SQL Server to organise allocation of tables and indexes. It can support storage placement and maintenance strategies. Benefits depend on the underlying devices and workload; extra groups alone do not create more physical throughput. Poor planning can increase administration and produce uneven space usage or difficult recovery dependencies.
Fill factor
A setting influencing how much space is left available in index pages when they are built or reorganised, with details varying by engine. Leaving room can reduce later page splits for some write patterns. It also increases the initial footprint and may require more reads. Appropriate values depend on key distribution and updates; a lower setting is not automatically better for every busy table.
Filter
A condition restricting which rows participate in a result, such as a `WHERE` predicate. Applying a condition at the wrong logical stage can change meaning or create unnecessary intermediate work. Early filtering can reduce row multiplication where semantically valid. Outer joins, aggregates and null behaviour require care: moving a predicate merely to improve performance can alter the intended result.
Filter pushdown
Applying a predicate as close to the data source or as early in execution as semantics permit. It can reduce scanning, transfer and intermediate results, particularly with remote or external data. Engine and connector capabilities determine which expressions can be pushed. Correctness comes first: a remote collation or type conversion must not silently change the meaning of the filter.
First normal form (1NF)
A relational normal form conventionally requiring attributes to contain values from their defined domains rather than repeating groups. What counts as atomic depends on the model and permitted operations. Comma-separated lists used to represent independent relationships often make constraints and joins difficult. JSON or arrays are not automatically errors, but their use requires a deliberate model and appropriate integrity rules.
Fixed-length data type
A type using a defined-length representation, such as character data declared with `CHAR`, subject to engine storage and padding rules. It can suit genuinely fixed-format information. Forcing variable-length content into it may waste space or cause truncation and comparison surprises. Performance and correctness should be assessed in the actual engine rather than assuming fixed length is inherently faster.
Floating-point number
An approximate representation of numeric values used by types such as `FLOAT` or `DOUBLE`. It provides range and efficient arithmetic but cannot exactly represent many decimal fractions. Small rounding differences can accumulate or affect equality tests. Exact decimal types are usually more suitable for monetary amounts requiring decimal precision, while floating point remains valuable for measurements and scientific calculations with appropriate error tolerances.
FOR UPDATE
A clause requesting locks on selected rows for a subsequent coordinated change, where supported. It can prevent particular races, but exact locking and visibility depend on isolation and the engine. Long transactions or broad selections can create substantial blocking. Locking existing rows does not automatically protect every possible future insertion, so the intended invariant must be examined.
Foreign data wrapper (FDW)
An adapter interface allowing a database, notably PostgreSQL, to access external data through table-like structures. Sources may include other databases or file-based systems. It can simplify discovery and integration, but remote latency, consistency and limited predicate or join pushdown can restrict production use. Querying through one SQL interface does not make all participating sources behave like local tables.
Foreign key
A constraint requiring specified values to match an eligible referenced key, subject to null and referential-action rules. It protects relationships between tables and may also reference the same table. Enforcement introduces checks and potentially locking or index costs. Those costs should be designed for rather than used as a reason to abandon integrity without an equivalent safeguard.
Fragmentation
A broad term for inefficient physical layout or space use in tables and indexes, particularly after repeated updates or deletions. Effects differ between engines and storage media. Rebuilding, compaction or vacuum-related maintenance may help in appropriate cases, but these operations are not interchangeable. Diagnose the actual space or access problem before scheduling costly maintenance simply because a fragmentation percentage appears high.
fsync
An operating-system operation requesting that file changes reach persistent storage according to the platform’s guarantees. It is important to database durability, although correct behaviour also depends on the filesystem and storage stack. Frequent synchronisation can increase write latency, motivating techniques such as group commit and careful WAL design. Disabling durable flushing changes failure guarantees rather than providing a free performance improvement.
Full backup
A backup covering the database’s required data for a complete restore point, according to the product’s backup model. It is one component of recovery planning, not the whole plan. Log backups, dependencies, recovery-point objectives and restore duration still matter. Testing should establish whether the full sequence can meet acceptable data-loss and downtime limits under realistic failure conditions.
Full outer join
A join returning matched combinations and unmatched rows from both inputs, using nulls for the missing side. It is useful in reconciliation and identifying differences between datasets. Duplicate keys can still multiply matches, and null join keys need deliberate interpretation. Counting non-null fields without understanding those rules can misclassify missing or duplicated records.
Full table scan
An access method examining the table’s rows rather than using a selective index lookup. It is normal for small tables and can be efficient for analytical queries needing a large fraction of the data. On large datasets, unnecessary scans can be expensive. The right choice depends on selectivity, storage layout and available indexes, not a blanket rule that every scan is a defect.
Full-text index
A specialised index supporting text retrieval, commonly through tokenisation and inverted structures. Language configuration, stop-word choices and update behaviour influence search quality and freshness. A technically valid index can still miss useful results if it processes the wrong language or token boundaries. Operational design must consider linguistic relevance as well as query speed.
Full-text search
Retrieval based on words, phrases or linguistic representations, sometimes including stemming and relevance ranking. It differs from simple substring matching through `LIKE`. Appropriate full-text structures can improve both capability and performance, but the desired search semantics must be defined. A substring search is not necessarily wrong; it serves a different purpose and should not be confused with language-aware retrieval.
Function
A reusable computation invoked within SQL, including scalar, aggregate or window functions. Functions can simplify logic and improve consistency. Some implementations execute expensive work for every row and can impair large queries, while optimisers inline or vectorise others. Performance depends on the engine and function body, so abstraction should be assessed through plans and measurement rather than assumed free.
Function determinism
The property of producing the same result for the same inputs under the relevant assumptions. Engines use related classifications to decide whether expressions are suitable for indexes, cached evaluation or materialised results. Time- and randomness-dependent functions need different treatment. Product-specific volatility categories can be more precise: a function stable within one statement or transaction is not necessarily immutable across all calls.
Functional dependency
A relationship in which one set of attributes determines another, written, for example, A → B. It concerns all valid states under the model, not merely an accidental pattern in current data. Functional dependencies underpin normalisation. Incorrect assumptions can create redundancy, update anomalies and inconsistent representations, so dependencies should follow business rules and be enforced where appropriate.
G
Gap lock
A lock protecting a range between index records, notably in certain InnoDB operations and isolation settings. It can prevent new rows from entering a protected interval and help control phantom-related behaviours. Range protection may also create unexpected blocking or deadlocks under heavy writes. It is not a universal mechanism used by every database, so engine-specific documentation matters.
Garbage collection
Reclaiming obsolete versions or storage no longer needed by active readers or recovery requirements. MVCC engines may use vacuum, compaction or other mechanisms. If reclamation falls behind, tables and indexes can grow and access costs increase. Long-running transactions may prevent cleanup even when few current rows exist. Maintenance must respect visibility and recovery rules rather than deleting every older version immediately.
Generated column
A column whose value is calculated from a declared expression, either computed when read or stored, depending on the engine and definition. It can standardise repeated calculations and support indexing where allowed. Stored forms add write work, and expression changes may require schema migration or recomputation. Supported functions and determinism requirements vary, so generated values need the same semantic care as ordinary columns.
Geohash
An encoding of geographic coordinates into a hierarchical grid represented by a short string. Prefixes identify progressively larger cells and can support approximate location filtering. Nearby points may lie on opposite cell boundaries and have different prefixes, so a prefix match alone is not a complete distance query. Precision and neighbouring-cell handling must be chosen for the required search radius.
GeoJSON
A standard JSON representation for geographic objects such as points, lines and polygons. Standard GeoJSON uses longitude–latitude coordinates in the specified geographic reference system; arbitrary projected coordinates should not be silently substituted. Portability of syntax does not establish geometric validity. Coordinate order, numerical precision and polygon construction must be checked before relying on spatial analysis or display.
Geospatial index
An index structure supporting spatial operations such as proximity, containment or intersection. Correct coordinate systems, geometries and functions are essential: an index can quickly return results for incorrectly interpreted data. Point and polygon semantics differ, as do planar and geographic calculations. Performance tuning must therefore follow validation of spatial reference, units and the meaning of the requested relationship.
Geospatial query
A query evaluating spatial relationships, such as whether a point is inside an area, two geometries intersect or locations are within a distance. Appropriate spatial indexes and functions can improve performance. Correct types, projections and distance units are equally important. A fast result is not useful if coordinates were interpreted in the wrong reference system or a boundary relationship was misunderstood.
GIN (generalised inverted index)
A PostgreSQL indexing framework useful for values containing multiple searchable components, including arrays, supported JSON operations and full-text search. It can accelerate membership or containment predicates. Index size and write-maintenance costs may be substantial, and supported operations depend on the operator class. Selective design should match actual predicates rather than indexing every structured field indiscriminately.
GiST (generalised search tree)
An extensible PostgreSQL indexing framework supporting operator classes for ranges, spatial data and other types. Its usefulness depends on the operators and implementation selected. An index created with an unsuitable class may not support the query’s predicate, producing the familiar situation in which an index exists but cannot provide the expected access path.
Global identifier (GID)
A general term for an identifier intended to be unique across a distributed environment. Specific systems may use the abbreviation differently, so the format and generation method must be identified. Global uniqueness reduces coordination or collision concerns, but larger or randomly distributed values can increase index size and affect locality. Uniqueness, ordering and security properties are separate design questions.
Global transaction identifier (GTID)
An identifier used in systems such as MySQL to track transactions across replication and recovery operations. It can simplify promotion and determining which changes a replica has applied. Topology, retention and consistency settings still matter. Identifying a transaction does not ensure its logs remain available or that every node has the same data.
GRANT
A statement assigning privileges or role membership according to the database’s security model. Broad permissions granted as a quick workaround can become persistent security debt. Least privilege and review of inherited or onward-grantable rights help control exposure. The intended operational task should guide the grant, rather than giving unrestricted access simply to make an error disappear.
Granularity (grain)
The precise meaning of one row: an order line, an order, or a user–day, for example. Misunderstanding grain is a major source of SQL errors, including join fan-out, inflated totals and misleading KPIs. A reliable model defines it before calculations are written. Related tables must be joined with attention to both their keys and their respective grains.
Graph database
A database model representing information through nodes and relationships or edges. It can suit relationship-intensive problems such as network analysis, recommendations and fraud rings. Using graph structures for every problem can add unnecessary complexity to otherwise straightforward transactional or analytical work. The choice should follow traversal and modelling needs rather than enthusiasm for a particular data model.
Graphical execution plan
A visual representation of query-plan operators and relationships. It can make complex execution easier to follow, but attractive diagrams are not substitutes for evidence. Estimated versus actual rows, resource use and waiting help identify the relevant bottleneck. Reported cost percentages are model-based and should not automatically be read as measured shares of elapsed time.
Group
A collection of rows sharing specified grouping values in a query. A metric’s meaning depends on which attributes define each group. Different grouping keys can produce different answers even when the aggregate function is unchanged. Clear semantic agreements therefore identify the grouping level and relevant time boundaries rather than relying on a metric name alone.
GROUP BY
A clause dividing input rows into groups for aggregation. Selected non-aggregated expressions must satisfy the engine’s grouping rules. Grouping after an incorrect join does not necessarily repair duplicated facts: the wrong rows may already have entered the calculation. Validate upstream keys and grain before treating a final `GROUP BY` as a solution to inflated totals.
Grouped aggregation
Summarising rows by grouping keys using aggregate functions. Execution may use hashing, sorting or existing order, depending on the engine and plan. Suitable access paths, partitions or safe pre-aggregation can reduce work. Large or poorly distributed inputs can instead create substantial memory, sort or spill costs. Optimisation must preserve the intended grouping semantics.
Grouping sets
A SQL feature producing several grouping levels within one statement, such as country totals alongside country-and-city totals. It is useful for reporting hierarchies. Nulls introduced for subtotal rows must be distinguished from null values in the underlying data, often through `GROUPING` indicators. Clear labelling prevents BI tools from mixing detail, totals and missing categories.
Gzip compression
A compression format commonly used for exported files or data transfer. It can reduce network and storage requirements while adding CPU work. Some compressed files are difficult to split for parallel reading, and connector capabilities affect filtering or decompression. The overall cost depends on how the query engine accesses the file, not just the reduced byte count.
H
Hadoop ecosystem
Apache technologies for distributed storage and processing, including HDFS and YARN. They intersect with SQL and database platforms through large-scale analytics and data-lake workflows. Their architecture and typical latency characteristics should not be confused with ordinary OLTP expectations. Product selection must follow the intended workload rather than assuming that any distributed data platform can replace a transactional database directly.
Hard delete
Removal of a record from the logical table rather than marking it as deleted. `DELETE` does not necessarily erase every physical remnant immediately because versions, backups or logs may remain. Deletion can complicate auditing, recovery and reconciliation. Soft-delete flags or append-only histories are alternatives for some needs, but legal erasure and retention requirements may still require a deliberate lifecycle policy.
Hash
A value produced by a hash function mapping an input into a defined output space. Hashing supports joins, partitioning and selected indexes. Different inputs can share a hash value, so implementations must handle collisions correctly. A general-purpose hash is not automatically cryptographically secure. Design should distinguish performance distribution from security or proof of equality.
Hash aggregate
An aggregation strategy maintaining groups in a hash table rather than primarily sorting the input. It can be efficient when groups fit within available memory. Under pressure, an engine may spill partitions to storage, increasing cost sharply. Group cardinality, skew and memory estimates therefore matter. The presence of a hash aggregate is not by itself evidence of either an optimal or a defective plan.
Hash index
An index organised around hashes of key values, typically supporting equality searches rather than ordered ranges. It does not generally provide the ordering needed for `<`, `>` or `BETWEEN`. Implementation, durability and maintenance characteristics vary between engines and versions. Suitability must be assessed for the product and workload rather than inferred from the general speed of hash lookup.
Hash join
A join strategy building a hash structure from one input and probing it with rows from another. It can be effective for suitable equality conditions and substantial inputs. Build-side size, distribution and available memory strongly influence performance. If the structure spills or data is heavily skewed, cost can increase. The optimiser’s choice should be assessed against actual rows and resource use.
Hash partitioning
Distributing records according to a hash of a chosen key. It can spread suitable workloads across partitions, but does not guarantee balance when key frequencies are skewed. Range predicates often eliminate fewer partitions than with range partitioning, although equality filters may permit pruning. Time-oriented access patterns therefore require a deliberate choice rather than assuming every partitioning method supports the same queries.
HAVING
A clause filtering groups after grouping and aggregation in SQL’s logical evaluation. `WHERE` instead restricts input rows before aggregation. Confusing them can change results or perform unnecessary work. Some engines permit additional formulations, but the semantic distinction remains important: a condition on a group total is different from a condition on each contributing record.
Heap scan
Reading a heap-organised table through its stored pages rather than a selective index path. It may be appropriate for small tables or queries needing many rows. On large tables with selective filters, it can indicate an unsuitable access path or missing pruning. The plan and workload determine whether the scan is wasteful; its name alone is not a diagnosis.
Heap table
A table organisation without a declared clustered ordering of rows. It can support efficient insertion, but selective access may need appropriate indexes to avoid broad scans. Engine behaviour varies, including how updates and free space are managed. Physical placement never substitutes for an explicit `ORDER BY` when a result must have a guaranteed presentation order.
Heap-organised table
A table whose storage is not maintained in a clustered key order. Insertions may be straightforward, but selective queries often need appropriate indexes to avoid broad reads. Updates can create engine-specific movement or space issues. Physical layout and fragmentation should be assessed in context. A heap is a storage organisation, not a claim that the logical records lack keys or constraints.
Heterogeneous replication
Replicating or integrating changes between different database technologies, such as an operational system and an analytical store. It provides flexibility but requires type mapping, time-zone and encoding policies, change ordering and deletion handling. Different transaction or consistency models can complicate guarantees. A successful transfer of rows is not enough to establish that both systems interpret the information identically.
High availability (HA)
The ability to maintain a defined level of service despite specified failures. Replicas contribute, but availability also depends on health checks, safe promotion, routing, client behaviour and tested operating procedures. A deployment with several copies can still fail through shared dependencies. Objectives should specify which failures are tolerated and how much interruption is acceptable.
High availability and disaster recovery (HADR)
A combined approach to continuing service through faults and restoring it after larger disruptions. It includes controlled failover, acceptable data loss or RPO, and recovery time or RTO. IBM Db2 also uses HADR as a specific feature name. Architectural claims should be supported by operational tests showing that the stated objectives can actually be met.
High cardinality
A large number of distinct values relative to a column’s context or row count, as often seen with user identifiers. It influences index choices, statistics and grouping costs. Misjudging cardinality can produce poor execution plans. “High” is relative, so interpretation should consider the dataset, distribution and operation rather than a universal numerical threshold.
Histogram
A statistical summary of a value distribution, used by an optimiser to estimate selectivity. Missing, stale or overly coarse summaries can lead to inaccurate row estimates and unsuitable join or index choices. Histograms do not capture every relationship, particularly correlations between columns. Maintenance and additional statistical structures may be needed rather than assuming one histogram fully describes the workload.
History table
A table retaining earlier versions or events associated with records, used for auditing, slowly changing dimensions or reconstruction. Definitions of validity and recording time must be explicit. Querying the latest state requires reliable ordering and key rules. Otherwise, reports can count multiple historical versions as simultaneous current records or reconstruct an incorrect past state.
HOLDLOCK
A SQL Server table hint applying serializable semantics to the referenced table for the relevant transaction scope. It can protect ranges or maintain locks according to the operation and access path. Inappropriate use can increase blocking and deadlock risk. The exact behaviour must be understood with isolation, indexes and transaction duration rather than interpreted simply as “lock more safely”.
Horizontal scaling
Adding nodes or resources rather than only increasing one machine’s capacity. Database approaches include read replicas, sharding and distributed SQL. They provide different forms of scale and do not all expand write capacity equally. Cross-partition queries, consistency, routing and operation become more complex. The strategy should identify which bottleneck additional nodes are intended to relieve.
Hot backup
A backup made while the database remains in operation. It requires a mechanism that preserves a recoverable consistent state, often involving logs or coordinated snapshots. Availability during copying does not establish recoverability. The consistency point, required log chain and complete restore procedure must be tested before the backup is relied on for production recovery.
Hot spot
A concentration of activity on a particular key, page or partition that creates disproportionate load or contention. Popular customers, unsuitable partition keys or sequential insertion patterns can contribute, depending on the engine. Extra capacity elsewhere may not relieve the bottleneck. Diagnosis should identify the concentrated resource and access pattern before choosing redistribution, batching or a different key design.
Hot standby
A replica maintained ready for rapid takeover, with terminology varying between products. Some configurations also support read-only queries, which can help distribute suitable workloads. Replication lag affects how current those reads are. Promotion readiness, query conflicts and recovery guarantees need monitoring, so a readable replica should not automatically be treated as a fully current replacement primary.
Hybrid transactional/analytical processing (HTAP)
An approach serving transactional and analytical workloads within one coordinated system. It aims to reduce delays or duplication between operational and reporting data. Resource isolation, storage organisation and runtime priorities are important because expensive analytics can interfere with transactional responsiveness. The label does not guarantee that both workloads remain efficient under every combination of load.
I
Identifier (ID)
A value used to distinguish an entity or record within a defined scope. It may be a technical surrogate or a meaningful business key, but those roles should not be confused. Two records with different technical IDs can still represent the same business event. Clear scope and generation rules help prevent duplicate entities, incorrect joins and difficult reconciliation.
IDENTITY / SERIAL
Mechanisms used by particular SQL engines to generate values automatically, commonly for surrogate keys. Syntax and implementation vary; PostgreSQL `SERIAL`, for example, is shorthand involving a sequence. Generated values are not necessarily gap-free or sufficient to enforce uniqueness without a constraint. Distributed writers, locality and reproducibility require a deliberate generation strategy rather than an assumption that increasing numbers solve every identification problem.
Identity and access management (IAM)
The policies and mechanisms controlling identities, authentication, roles and permissions across a data platform. A recurring weakness is temporary broad access becoming permanent without review. Effective IAM includes lifecycle management, least privilege and traceable administrative actions. Database-local privileges and external identity controls must work together rather than leaving gaps between infrastructure and data-level access.
Idle session
An open session not currently executing work. Large numbers can consume connection slots or other resources. An idle session inside a transaction is especially important because it may retain locks or old snapshots. Pool size and timeout policies should distinguish these states. Closing every idle connection indiscriminately can also disrupt useful pooling, so context matters.
IFNULL / NVL
Product-specific functions replacing a null expression with an alternative value. They can simplify handling of missing information but differ in type resolution or evaluation behaviour. Replacing nulls can conceal an upstream quality problem or change a metric’s interpretation. A default should therefore have a justified meaning, not merely make an empty cell disappear. `COALESCE` provides a related standard SQL expression.
ILIKE
A case-insensitive pattern-matching operator in supporting engines, notably PostgreSQL. It follows the relevant locale or collation rules rather than a universal language-independent comparison. Broad wildcard patterns may require expensive scans unless suitable specialised indexing is available. A `LOWER` expression index does not automatically accelerate every ILIKE pattern; verify the query, operator class and actual plan.
Immutable data
Data treated as unchangeable after creation, with corrections or new states represented by additional versions or events. This supports auditing, reproducibility and some time-travel approaches. It still requires clear rules for ordering, current-state derivation and retention. Without them, several valid historical records can be mistaken for conflicting current values, leading to inconsistent reports.
Implicit conversion
An automatic type conversion performed by an engine to resolve an operation or comparison. It can alter semantics, introduce errors or prevent an index from supporting an efficient lookup. Effects depend on conversion direction and type precedence. Investigating parameter types and stored column types can reveal hidden causes of a query that became unexpectedly slow after an application or schema change.
IN predicate
A predicate testing membership in a list or subquery result. Nulls introduce three-valued logic, particularly in `NOT IN`, so missing values can produce unexpected unknown results. Large lists may also complicate planning or request size. `EXISTS` can express some related intentions more clearly, but is not universally faster or an interchangeable replacement without checking semantics.
In-memory database
A database architecture keeping its primary working data in memory to provide low-latency access. Durability may still use logs, snapshots or replication; memory residency does not imply that all data disappears on restart. Recovery time, memory capacity and cost require planning. Without clear persistence and failure guarantees, impressive normal-operation speed can hide substantial recovery vulnerabilities.
Incremental backup
A backup containing changes since a defined earlier backup or checkpoint rather than all data. It can save copying time and storage. Restoration may require a base backup and an intact sequence of later increments, depending on the implementation. Testing the whole chain is essential because a missing or unusable component can prevent recovery despite many successful individual backup jobs.
Incremental load
Loading only newly added, changed or deleted records rather than replacing an entire dataset. Correct change positions, such as log sequence numbers, GTIDs or carefully managed timestamps, are central. Writes must handle retries safely. Missing boundary cases, late updates or deletions can leave the target incomplete, so reconciliation remains useful even when normal incremental processing appears reliable.
Index
A data structure supporting more efficient access to stored information for particular predicates or orderings. Indexes consume storage and require maintenance during writes. Creating one for every column can therefore harm updates and operations without improving actual queries. Selection should follow measured workload patterns, integrity requirements and the engine’s capabilities rather than a general belief that more indexes always mean faster service.
Index bloat
Excessive index space relative to its useful contents, potentially arising through updates, deletions and versioning or allocation behaviour. It can increase storage and access costs. Appropriate remedies differ by engine and cause, including rebuilding or other maintenance. Vacuum, compaction and reindexing are not universal synonyms; diagnose the structure before undertaking expensive production work.
Index fragmentation
Disorder or inefficient space use in an index’s physical layout, with product-specific definitions. It can affect reading and maintenance, but impact depends on storage, access patterns and cache behaviour. Rebuilding or reorganising may help in some cases and waste resources in others. Maintenance should be justified by a relevant performance or space problem rather than a percentage alone.
Index hint
A query directive influencing which index an engine uses. It may provide short-term relief when the optimiser makes a poor choice. As data distribution or available indexes change, a forced path can become counterproductive. Documenting the reason, measuring results and periodically reviewing the hint are important. Product support and whether the directive is advisory or mandatory vary.
Index merge
An execution strategy combining information from multiple indexes to identify qualifying rows. It can be effective where no single index covers a useful predicate combination. A well-designed composite index may be preferable for some recurring workloads, but not every merge is evidence of missing design. Compare actual costs, selectivity and maintenance requirements rather than rejecting the strategy automatically.
Index rebuild / reorganise
Maintenance operations used by supporting engines to reconstruct or rearrange an index, potentially addressing space use or layout problems. Their behaviour and online options differ. They can consume substantial I/O, CPU, log space and time, and may require locks. Schedule and capacity planning are necessary; routine rebuilding without evidence can create more disruption than benefit.
Index scan
Reading a range or larger portion of an index rather than performing only a narrowly targeted lookup. It can be appropriate when many rows are required or ordering is useful. Seeing a scan instead of a seek does not by itself prove a problem. Assess predicates, selectivity, covered columns and total work before changing the access path.
Index seek
A term, particularly in SQL Server plans, for navigating an index to a specified key or range. It often reduces unnecessary reads for selective predicates. A seek can still process many rows or perform expensive residual filtering. Implicit conversions and unsuitable conditions can prevent it, but replacing every scan with a seek is not an independent performance objective.
Index-only scan
An access path answering a query from index information without ordinarily fetching the full table row. Coverage and engine-specific visibility rules determine whether this is possible. PostgreSQL, for example, may still need heap checks when page visibility is not established. The operator’s name therefore does not guarantee zero table access under every runtime condition.
Indexing strategy
A systematic approach to selecting, reviewing and maintaining indexes according to query and write patterns. Without one, indexes accumulate through isolated fixes, increasing storage, update costs and administrative work. A strategy considers overlapping structures, key order, included columns and usage evidence. It also removes or revises obsolete indexes when safe rather than treating every past addition as permanent.
INNER JOIN
A join returning combinations satisfying the join condition, excluding unmatched rows. When a relationship assumed to be one-to-many is actually many-to-many, the result can multiply facts and inflate aggregates. Correct syntax does not establish correct cardinality. Validate keys, expected matches and the intended row grain before relying on totals calculated from the joined result.
INSERT
A statement adding records to a table. At high volume, cost includes index maintenance, constraint checks, triggers and logging as well as writing row data. Batching and suitable load methods may improve throughput, but must preserve transactional and integrity requirements. A successful insert confirms that applicable checks passed, not that an event was not already represented under another technical identifier.
INSERT INTO … SELECT
A pattern inserting a query’s result into a target table. It is useful for bulk transformation and ETL. Incorrect filters or joins can also propagate mistakes quickly at scale. Validate the result’s grain and counts, define retry or deduplication behaviour and consider the transaction’s resource impact before treating an efficient transfer as evidence of correct data.
Insertion anomaly
A modelling problem in which recording one fact requires supplying unrelated information, commonly because several dependencies have been combined in one relation. It can encourage fabricated placeholders or awkward application workarounds. Normalisation can separate independent facts and reduce such anomalies. Constraints and the chosen decomposition must still preserve meaningful relationships and permit reconstruction without spurious combinations.
INT / INTEGER
A type storing whole-number values within a defined range. Exact size and additional unsigned forms vary by engine. Exceeding bounds may raise an error or behave according to conversion and mode rules; it should not be assumed safe. Counters and monetary subunits require capacity planning, especially when a long-lived system approaches limits that small development datasets never expose.
Integrity
The validity and consistency of information relative to its intended rules. Primary keys, foreign keys, uniqueness and checks can turn specified assumptions into enforced requirements. They do not establish every aspect of correctness automatically: the rules themselves must be appropriate, and some cross-system invariants require additional coordination. Reliable integrity combines modelling, database enforcement and disciplined transaction design.
Intermediate result
A temporary set or structure generated during execution, such as joined rows, a hash table or a sort buffer. Large intermediates can exhaust memory, spill to storage and consume temporary space. Earlier valid filtering, better cardinality estimates or a different join strategy can reduce work. Optimisation must retain the required semantics rather than discard rows merely to make the intermediate smaller.
Interval
A representation of a duration or calendar-based difference, such as two days or three hours, with product-specific syntax and capabilities. Calendar months and elapsed seconds are not interchangeable. Combining intervals with timestamps and time zones can cross daylight-saving changes or variable month lengths. A correct expression states whether it intends elapsed time, calendar arithmetic or a local reporting boundary.
IOPS
Input/output operations per second: a measure of storage activity or capability under specified conditions. Operation size, latency and read/write mix affect what the number means. Database workloads may encounter I/O limits before CPU limits, but this is not universal. Indexing and layout influence demand, while throughput and latency must be considered alongside IOPS when diagnosing storage performance.
IP allowlist
A network control permitting connections only from specified IP addresses or ranges. It can reduce exposure but is not a substitute for authentication, authorisation or encrypted transport. Shared networks and changing addresses complicate maintenance. The allowed source should be as narrow as operationally practical, with a process for updating legitimate access without broadly reopening the database.
Isolation level
A setting governing permitted interactions between concurrent transactions, with names such as Read Committed, Repeatable Read and Serializable. Guarantees differ across engines even where names match. An unsuitable choice can permit business anomalies or impose unnecessary blocking and retries. Specify the invariant and allowed observations, then select and test an appropriate level rather than relying on a reassuring name.
J
Java stored procedure
A procedure implemented in Java and executed through a database’s supported Java integration. It can reuse language capabilities close to the data. Dependencies, permissions, upgrades and debugging add complexity, especially when substantial application logic moves into the database. Product support and execution restrictions vary. The design should consider lifecycle maintenance rather than only the convenience of the initial implementation.
Java virtual machine (JVM)
The runtime used by Java applications and some database-related services. A complaint that “the database is slow” can originate in garbage collection, thread starvation or connection-pool saturation within the JVM. Application and database metrics should therefore be correlated. Investigating only server query times may miss delays before a request reaches the database or after results return.
JDBC
Java Database Connectivity, the standard Java API and driver framework for interacting with databases. Reliable performance depends on how applications use it: connection pooling, prepared statements, fetch sizes and transaction management all matter. Driver and server compatibility are also relevant. Blaming “JDBC” generally can conceal an application-side queue or a poorly bounded transaction rather than an inherent interface limitation.
JMX
Java Management Extensions, facilities exposing management information and operations from JVM-based components. Metrics from services, drivers or connection pools can reveal whether a database-related slowdown actually originates in exhausted application threads or pooled connections. Secure access is important because management interfaces can expose sensitive information or controls. Monitoring should connect application and database evidence rather than investigate either in isolation.
JNDI
Java Naming and Directory Interface, used to locate resources such as configured data sources by name. A misconfigured binding can send an application to the wrong database or environment, including writing to production when testing was intended or vice versa. Clear environment separation, configuration validation and controlled credentials reduce the consequences of naming mistakes.
JOIN
An operation combining rows according to a specified relationship or condition. It is fundamental to relational querying and a major source of analytical mistakes. Incorrect assumptions about cardinality can multiply rows, inflate metrics and produce persuasive but wrong conclusions. The relevant keys, missing matches and grain of each input should be established before interpreting the output.
Join algorithm
The physical method used to execute a join, such as nested loops, hashing or merging sorted inputs. Suitability depends on row counts, distribution, available indexes and resources. A change of algorithm can help explain variable performance, although many other plan details also matter. Comparing actual and estimated work is more useful than assuming one algorithm is always preferable.
Join buffer
Memory used during particular join implementations to retain rows or intermediate information. Its purpose and configuration vary by engine. Insufficient memory can increase repeated work or spill in applicable algorithms, but the root cause may be an oversized intermediate result or poor access strategy. Increasing memory alone does not correct an inappropriate join or filter.
Join cardinality
The expected or actual number of matches produced by a join, influenced by one-to-one, one-to-many or many-to-many relationships. It determines whether facts are repeated before aggregation. Without understanding multiplicity, totals can be silently inflated. Validate uniqueness and relationship scope rather than assuming that similarly named ID columns establish a one-to-one match.
Join condition
The predicate specifying which row combinations match, such as `ON a.id = b.id`. Missing parts of a composite relationship can approach a Cartesian multiplication or combine unrelated records. Type, scope and historical validity also matter. A query may execute without errors while joining the wrong entities, so successful execution is not sufficient validation.
Join elimination
An optimisation removing a join proven unnecessary to the requested result. Trusted keys, referential constraints, selected columns and filters can provide the required evidence. Without suitable guarantees, the optimiser may need to retain the operation. Elimination must preserve multiplicity and unmatched-row behaviour; a join that appears redundant informally can still change results if the assumed constraints are not valid.
Join hint
A directive influencing a join method or order in a supporting engine. It can address an urgent performance regression but may become unsuitable as data changes. Hints should have a documented rationale and ongoing checks. They are not a substitute for correct statistics, modelling and indexes, and syntax or enforcement differs between products.
Join key
The column or combination of columns used to relate records. Its meaning must include scope, type, format, null policy and, where applicable, time validity. Weak definitions create particularly dangerous errors: a query runs successfully but associates the wrong records. Technical equality of stored strings or numbers does not establish that the values represent the same business identity.
Join order
The sequence in which an engine combines inputs in a multi-join query, subject to semantic constraints. An unsuitable order can generate huge intermediate results. Accurate statistics, selective predicates and useful access paths often help more sustainably than forcing an order. Outer joins and other dependencies limit legal reorderings, so optimisation must preserve the query’s meaning.
Join predicate
The logical condition governing a join, including equality, ranges or compound expressions. Equality predicates often support hash or merge strategies, while other relationships can require different techniques. Cost depends on the engine and data, not merely the predicate category. Complex conditions should be checked for both intended matching semantics and their effect on selectivity and access paths.
Join selectivity
A measure of how strongly a join condition restricts possible row combinations. Conventions differ: numerically, a small qualifying fraction is often described as highly selective. Many matches can increase fan-out, intermediate size and the risk of repeated facts in aggregates. State the intended meaning when discussing selectivity, rather than relying on ambiguous phrases such as “selectivity went down”.
Journal table
A table recording changes or events for auditing, potentially including who changed a record, when and how. It supports investigation and reconstruction when designed with appropriate identifiers and ordering. Volume can grow quickly, requiring retention and partitioning decisions. Access controls and protection against tampering matter if the journal is intended as reliable evidence rather than informal debugging information.
Journaling
Recording changes in a journal or log to support recovery and durability, according to the system’s protocol. It helps explain how committed work can survive a crash, but does not replace every backup or provide unlimited disaster protection. Logging can become an I/O bottleneck. Correct ordering and durable persistence are as important as the existence of log files.
JSON
JavaScript Object Notation, a text format representing values including objects, arrays, numbers, strings, booleans and null. Its flexibility supports semi-structured exchange. Storing everything as unconstrained JSON can complicate typing, indexing and consistent querying. A relational database can still impose checks or extract structured fields, so flexibility should be accompanied by an explicit schema or semantic contract where reliability requires one.
JSON path
An expression language for selecting or evaluating parts of a JSON value. Standards and product implementations differ, so supported operators and null handling must be checked. Repeated extraction over large datasets can consume CPU, and unsupported predicates may require scans. Appropriate indexes or extracted columns can help where access patterns are known and semantics remain consistent.
JSONB
An engine-specific binary or processed representation of JSON, notably PostgreSQL’s `jsonb`. It can support efficient access and indexing, but its storage and preserved details differ from plain JSON text. It does not replace schema discipline or validate every business rule. Similar names in different products need not denote identical formats or compatible binary values.
Junction table
An intermediate relation representing a many-to-many relationship, such as users to roles or orders to products. Suitable foreign keys and uniqueness rules preserve valid associations. Without them, duplicate relationship rows can multiply join results. The model should specify whether repeated pairs are legitimate events or accidental duplicates, since that determines the appropriate key and aggregation behaviour.
Just-in-time compilation (JIT)
Compiling selected execution operations or expressions into machine code at runtime, as supported by some database engines. It can benefit computationally intensive queries. Compilation itself takes time, so short operations may see a net loss. Whether to enable it or adjust thresholds should follow measured workloads rather than treating JIT as an unconditional performance switch.
K
Kerberos authentication
A ticket-based authentication protocol widely used in enterprise environments. It supports centralised identity verification, but depends on correct service principals, configuration and reasonably synchronised clocks. Failures across these components can make database connection problems difficult to interpret. Authentication should be distinguished from the database privileges granted to the authenticated identity and from encryption settings for the resulting connection.
Key
An attribute or set of attributes used for identification or relationships, with roles such as primary, candidate, foreign or business key. These roles have different requirements. Unclear scope or semantics can produce successful queries that match the wrong records. Keys should reflect the intended entity and enforce relevant uniqueness, rather than merely provide a convenient numeric column.
Keyset pagination
Pagination continuing after the last observed ordering key instead of skipping an increasing offset. A simple example is `WHERE id > last_id ORDER BY id LIMIT n`. It can improve large-result navigation, but stable deterministic ordering is essential. Composite sort keys and concurrent changes need careful handling; the method does not by itself guarantee a fixed snapshot across separate requests.
Key–value store
A storage model mapping keys to associated values. It can support efficient direct lookups and updates for suitable workloads. Rich joins, ad hoc analytics or complex filtering may require additional structures or external processing. The trade-off is not simply speed versus slowness: the model should match how applications retrieve and coordinate data.
Kill query / kill session
Cancelling an operation or terminating a database session to address excessive work or blocking. It can relieve an incident, but rollback may take time and locks may not disappear immediately. Applications may retry, creating additional load. The relevant transaction and downstream effects must be understood so that stopping one symptom does not amplify the failure.
L
LAG() window function
A function accessing a value from an earlier row within an ordered partition, with an optional offset and default. It supports changes between observations, earlier behaviour analysis and sequential comparisons. The relevant “previous” row is determined by SQL ordering, not necessarily a fixed elapsed-time interval. Incorrect partitioning or non-deterministic ties can therefore change the meaning.
Latch
A lightweight synchronisation mechanism protecting short-lived access to internal structures, often in memory. It differs from transactional locks governed by business isolation. Latch contention may indicate hot pages or shared buffer structures rather than long application transactions. Diagnosing the correct resource matters because remedies for ordinary lock waiting may not address an internal synchronisation bottleneck.
Latency
The time required for an operation to produce its response, with boundaries that should specify whether queuing and transfer are included. An average can conceal poor experiences for a minority of requests. Tail measures such as p95 and p99 are important to service objectives and user experience. Throughput and latency are related but distinct: processing more requests does not imply each one becomes faster.
LATERAL join
A construct allowing a derived relation in the `FROM` clause to reference columns from preceding inputs. It supports expressions such as selecting a limited set of related rows for each outer record. Execution can be efficient or expensive depending on the plan and access paths. Its expressive power should not be mistaken for a guarantee against repeated per-row work.
LEAD() window function
A function accessing a value from a later row within an ordered partition. It supports next-event comparisons and calculations between consecutive observations. Correct ordering and partitioning are essential. In predictive work, using later information can introduce data leakage if it would not have been available at prediction time, so analytical convenience must be separated from valid forecasting inputs.
Least privilege
The principle of assigning only the permissions required for a task and reviewing them as responsibilities change. Broad grants made “temporarily” often become permanent, increasing the impact of mistakes or compromised accounts. Practical implementation includes service identities, administrative roles and inherited rights. Removing access should be controlled and tested so that security improvements do not unexpectedly break legitimate operations.
Left anti-join
A pattern returning left-side rows with no matching right-side row, often expressed through `NOT EXISTS`. It is useful for reconciliation and missing-record analysis. Null handling and relationship keys must be explicit; substituting `NOT IN` can change behaviour where nulls occur. The result preserves qualifying left rows rather than returning columns from an unmatched right record.
LEFT JOIN
A left outer join retains every left-side row and supplies nulls where no right-side match exists. Multiple right-side matches still multiply a left row. Nulls must not automatically be interpreted as zero, and a right-side condition in `WHERE` can remove unmatched rows. These details are frequent sources of incorrect analytical counts and totals.
Left semi-join
An operation returning left-side rows that have at least one right-side match, without returning right-side columns or multiplying a left row for each match. `EXISTS` commonly expresses this intent. It is useful where only membership matters. The query still needs the correct matching condition and treatment of duplicates already present on the left.
LIKE
A pattern predicate using wildcards such as `%` for a sequence and `_` for one character, subject to engine rules. Leading-wildcard searches often cannot use an ordinary ordered index efficiently. Specialised indexes or full-text search may suit some needs, but offer different semantics. Escaping, collation and the intended kind of text matching should guide the choice.
LIMIT
A clause restricting the number of result rows in supporting SQL dialects. It helps exploration, but an arbitrary limit is not a statistically representative sample. Without an appropriate `ORDER BY`, the selected subset need not be deterministic. A query tested with a small limit may use different work or stop early, so its speed does not establish performance at full scale.
Load balancer
A component distributing suitable requests among service instances. Database deployments may use it around read replicas, proxies or application services. Health checks and routing need to reflect capabilities and freshness, not only whether a port responds. Incorrect routing can send writes to an unsuitable node or return stale reads. Stateful sessions and transactions require particularly careful handling.
Load balancing
Distributing requests across resources to manage capacity and resilience. Database reads may be routed among replicas, while writes must respect the system’s leadership or partitioning model. Sending traffic evenly is not necessarily correct when nodes differ in freshness, capability or health. Routing policies should account for consistency and session requirements as well as request counts.
Load factor
A measure of occupancy in a hash table or related structure, with the exact calculation depending on implementation. High occupancy can increase collisions or probing costs; very low occupancy may waste memory. Appropriate thresholds balance space and access efficiency. Behaviour also depends on key distribution, collision resolution and resizing, so one percentage is not a universal database-tuning target.
Load test
A controlled test of system behaviour under representative demand, including query patterns, data size and concurrency. Unrealistic synthetic scenarios can create false confidence. Useful tests measure latency, throughput, errors and saturation while protecting other users and environments. The aim is to understand capacity and failure behaviour, not merely demonstrate that a small favourable workload runs quickly.
Lock
A coordination mechanism controlling access to resources so that incompatible operations do not proceed together. Locks can protect integrity but also create waiting. Their modes, granularity and duration determine effects on concurrency. An application can be consistent yet effectively unusable if it acquires excessively broad or long-lived locks, so correctness and operational behaviour must be designed together.
Lock contention
Competition for resources requiring incompatible locks, causing transactions to wait. Hot keys, long transactions, high write activity and broad access paths are common contributors. Appropriate indexes can reduce the resources touched, although exact locking depends on the engine. Identifying holders and wait chains is more useful than simply increasing timeouts or adding workers to an already contended resource.
Lock escalation
An engine-specific transition from many fine-grained locks to a broader lock, often at table or partition level. It reduces lock-management overhead but can block otherwise independent work. Not every database implements escalation in the same way. Large transactions and access patterns should be reviewed before treating a concurrency collapse as a shortage of connections or server capacity.
Lock timeout
A limit on how long an operation waits to acquire a lock before returning an error. It prevents indefinite waiting but does not resolve the underlying contention. Transaction state after the error varies by engine and client behaviour. Applications need safe cleanup and bounded retry policies; immediate uncontrolled retries can create a storm or leave a larger business process incomplete.
Log
Recorded information about changes, queries or operational events. Its purpose determines the required contents and guarantees: a recovery log, audit log and diagnostic log are not interchangeable. Retention, structured formatting, access control and masking of personal information must be designed. Collecting data indefinitely without those decisions creates storage, privacy and investigation problems rather than assured observability.
Log compaction
A process retaining selected records, often the latest value per key, while removing older redundant entries according to the system’s rules. It improves space efficiency but does not necessarily preserve a complete event history. Delayed compaction can increase disk pressure and latency. Deletion markers and consumer replay requirements need explicit retention policies so that cleanup does not undermine correct reconstruction.
Log rotation
Switching to a new log file after a size or time threshold. It helps manage files, but must be combined with retention or archival to prevent storage exhaustion. Deleting history too aggressively can undermine auditing and incident analysis. Policies should reflect the purpose of each log and ensure that required recovery segments are not treated as disposable diagnostics.
Log sequence number (LSN)
A position or progress marker within a database log, with product-specific representation and guarantees. It helps identify recovery points, replication progress and CDC checkpoints. Comparing compatible positions can answer where processing stopped or how far a replica has advanced. An LSN is not automatically a timestamp, and positions from different log histories must not be compared without understanding their scope.
Log shipping
Transferring transaction-log backups or records to another server and applying them to maintain a standby or recovery copy. It can provide a relatively straightforward disaster-recovery arrangement. Transfer and replay schedules introduce lag, and promotion may require manual steps. Monitoring the entire chain is essential: a healthy primary does not prove that the recovery server has received or restored recent logs.
Logical backup
A backup representing schema or data at a logical level, such as SQL statements or a database dump format, rather than a direct physical copy of storage pages. It can improve portability and selective restoration. Large datasets may take substantial time to export or restore, and not every object or setting is necessarily included. Validate both coverage and recovery performance.
Logical read
A measure of access to logical data pages or buffers, with precise counting rules varying by engine. It is distinct from physical storage reads because a page can be served from memory. High counts can reveal excessive work even with a warm cache. Unsuitable indexes, weak selectivity or repeated processing may contribute; interpret the metric within the actual plan and database implementation.
Logical replication
Replication of logical changes, commonly at row or transaction level, rather than copying physical storage blocks. It supports selective distribution and some cross-system integrations. Schema evolution, ordering, identity and conflict handling require discipline. DDL and sequence behaviour are product-specific and may not be replicated automatically. The mechanism’s flexibility does not eliminate the need for consistent contracts between source and target.
Logical sharding
Dividing data into logical groups according to a key and assigning those groups to physical resources. It can support scale and relocation. Cross-shard queries, transactions and global uniqueness add costs and coordination requirements. A useful design separates stable logical placement from changing physical nodes where appropriate, while accounting for hot keys and the need to rebalance over time.
Long-running transaction
A transaction remaining open for an extended period. It can prolong locks, retain old row versions, obstruct cleanup and contribute to replication or recovery pressure. Some long operations are legitimate, but often the boundary includes unnecessary application waiting or oversized batches. Review its purpose and resource effects rather than merely increasing timeouts to make it persist longer.
Lookup table
A relation mapping codes to descriptions or other reference attributes, such as status codes and names. It supports consistent interpretation across applications and reports. Such tables are not always permanently static: changes need an ownership and history policy. Reusing a code with a new meaning can corrupt historical analysis unless validity or versioning is managed explicitly.
Lost update
An anomaly in which concurrent read–modify–write operations cause one change to overwrite another. It can arise when both transactions read an earlier value and later replace it without detecting interference. Suitable isolation, locking, atomic update expressions or optimistic version checks can prevent particular cases. The correct solution depends on the business operation rather than simply retrying every write blindly.
LSM-tree
A log-structured merge-tree storage approach that buffers writes and merges sorted structures over time. It is used in various key–value, distributed and analytical systems. Write throughput can be strong, but read, write and space amplification depend on compaction strategy. Poorly managed merging or tombstone accumulation can create latency variation, so fast initial insertion is only part of the operational picture.
M
Maintenance window
A planned period for operations such as rebuilding indexes, compaction, upgrades or schema changes. It allows resource use and possible interruption to be coordinated with service needs. Some maintenance can run continuously or online, depending on the engine. A credible plan specifies constraints and recovery rather than postponing all maintenance indefinitely or performing disruptive work unexpectedly during peak demand.
Managed database
A service in which a provider handles specified operational tasks, potentially including backups, patches, monitoring or failover. Responsibilities and guarantees vary by product and tier. Customers still need to understand configuration, permissions, recovery objectives and application design. Version restrictions, supported extensions, maintenance scheduling and default timeouts can create surprises if “managed” is interpreted as eliminating every operational responsibility.
Massively parallel processing (MPP)
An architecture distributing analytical work across many processing resources or nodes. It can handle large scans and aggregations efficiently. Data placement, redistribution or shuffle, and skew strongly influence performance. Poor distribution can leave some workers idle while one becomes overloaded. Parallel capacity is therefore useful only when the workload can exploit it without excessive coordination and movement.
Materialised view
A stored result derived from a query, refreshed through a defined mechanism rather than recomputed from scratch for every read. It can accelerate reporting substantially. Refresh frequency and consistency determine freshness, while refresh work can consume significant resources. Incremental, complete, scheduled and event-driven approaches have different trade-offs. A fast read is useful only if the retained result meets the application’s required currency and meaning.
MAX()
An aggregate returning the greatest non-null input value under the relevant ordering rules. Duplicate rows from a bad join may leave the maximum unchanged, concealing a broader modelling error, especially when combined with other aggregates. Correctness still depends on the input set, grouping and filters rather than simply choosing a function insensitive to duplicates.
MERGE
A statement applying actions according to whether source and target records match, often used for update-or-insert patterns and sometimes deletions. Exact semantics and concurrency behaviour differ by engine. An incomplete match condition or missing uniqueness can produce duplicates, conflicting updates or errors. It should not automatically be treated as a universally race-free upsert without checking the implementation and constraints.
Merge join
A join strategy walking through inputs ordered by their join keys. It can be efficient when suitable order already exists or sorting is worthwhile. Otherwise, preparing sorted inputs may add significant cost. Duplicates, join conditions and data size influence work. As with other algorithms, the plan should be assessed in context rather than assuming “merge” is inherently cheaper.
Metadata
Information describing database objects, including tables, columns, indexes, constraints, permissions and statistics. It is central to performance and security investigation. Stale statistical metadata can mislead planning, while object definitions reveal actual enforcement. Technical metadata does not necessarily document business meaning, so operational catalogues and semantic definitions need to be considered together.
Metadata lock
A lock coordinating access to object definitions with concurrent operations, particularly visible in systems such as MySQL. A small DDL change can wait behind existing work or cause subsequent queries to queue. Production planning should consider transaction duration and metadata-lock behaviour, not merely how many columns a statement changes. These locks differ from ordinary row locks.
MIN()
An aggregate returning the smallest non-null input value according to the relevant comparison rules. Applied to timestamps, it may identify the earliest included event. Time-zone interpretation, missing values and filters determine what “first” actually means. A technically correct minimum can still answer the wrong business question if records were excluded or times were interpreted inconsistently.
Multi-column index
An index built from more than one column. Key order can materially affect filtering and ordering benefits, especially for ordered indexes. Included columns and engine-specific access methods add further options. An index existing on the right column names does not establish that their order supports a query. Design should reflect predicates, selectivity and maintenance costs.
Multi-statement transaction
Several SQL statements executed within one transaction so that their changes commit or roll back as a unit. It supports coordinated business updates. If kept open unnecessarily, it can extend locks, retain versions and increase contention or replication pressure. The boundary should contain the work requiring atomicity rather than unrelated processing or user interaction.
Multi-tenant database
A deployment serving several customers, teams or data domains while maintaining the required isolation. Designs may separate tenants by row, schema, database or infrastructure. Access controls, quotas and protection against noisy neighbours are important. Correctness includes preventing cross-tenant reads and writes, not only distributing load. The chosen model must match security, operational and cost requirements.
Multiversion concurrency control (MVCC)
A concurrency approach retaining versions so readers can observe an appropriate snapshot while writers make changes. It reduces some read–write blocking but does not eliminate locks or all anomalies. Old versions need safe reclamation after they are no longer required. Long transactions or delayed cleanup can increase space use and degrade performance, so version retention is an operational concern as well as a consistency mechanism.
Mutex
A mutual-exclusion primitive allowing one thread or execution context at a time into a protected critical section. Database internals use such mechanisms for shared structures. Mutex contention differs from transactional lock waiting and often indicates a hot internal resource. Diagnosis should identify the protected operation rather than applying remedies intended only for long SQL transactions.
MySQL
A widely used relational database management system. Production design must consider the selected storage engine, commonly InnoDB, along with isolation, locking, replication and DDL behaviour. Operational consequences differ between versions and configurations. Familiar SQL syntax does not make all engines interchangeable, so deployment choices and maintenance procedures should follow the actual implementation and workload.
N
N+1 query problem
An application pattern that first retrieves a list and then issues a separate query for each item, producing one initial query plus N additional requests. Network round trips and repeated work can dominate latency. Appropriate eager loading, joins or batched retrieval can help. The remedy must avoid replacing many requests with an uncontrolled join that duplicates large amounts of data.
N-ary join
Combining more than two relations within a query. As relationships accumulate, mistakes in keys, filters or multiplicity can compound, producing large intermediates and incorrect metrics. Clearly defined stages can help preserve grain and validate matches. Physical execution order may differ from the written order, so analysis should distinguish logical relationships from the optimiser’s chosen plan.
National language support (NLS)
Product-specific localisation settings influencing matters such as date and number formats, language and comparison behaviour. Inconsistent settings can cause parsing errors or different sort and equality results. Applications should avoid relying on implicit locale-sensitive conversions for data interchange. Explicit formats and consistent configuration make behaviour more predictable across development, testing and production.
Natural join
A join inferring matching columns from shared names rather than an explicit condition. It is concise but fragile: adding a same-named column can silently change which rows match or which columns appear. Explicit join conditions are generally easier to review and maintain in production. The relevant issue is predictable semantics, not that every natural join is necessarily incorrect.
Nested-loop join
A strategy iterating over one input and finding matching rows in the other. An efficient inner index can make it very effective for a small outer input. It does not inherently require an index, but repeated scans of a large inner relation can be expensive. Actual row counts and repeated work determine whether the choice is appropriate.
Network latency
Delay in communication between an application and database. It can become dominant across regions or through many small round trips. A fast server execution can still yield a slow user experience because of connection setup, queuing or result transfer. Measure end-to-end timing alongside database timing before deciding that query optimisation alone will solve the problem.
NewSQL
A broad industry label for systems seeking relational SQL and transactional guarantees alongside horizontal scale and high availability. Products differ substantially in architecture. Distributed transactions, coordination latency and operational complexity remain relevant trade-offs. The label is not a standard certification or proof that every operation combines unlimited scale, low latency and the strongest consistency without cost.
NEXTVAL / sequence
A mechanism obtaining a generated value from a sequence, commonly used for surrogate identifiers. Sequences generally permit gaps and should not be assumed to reflect transaction commit order. Central coordination, caching and sequential insertion can influence performance. Distributed designs must consider uniqueness, locality and recovery behaviour rather than treating an increasing number as a complete identity strategy.
NFC / NFD
Unicode normalisation forms that represent canonically equivalent text using composed or decomposed character sequences. Visually identical strings may otherwise have different binary representations. This matters to matching, search and uniqueness constraints. Normalisation and collation are related but distinct decisions, and neither should be assumed to remove every visually deceptive or language-specific difference.
NOLOCK
A SQL Server hint commonly equivalent to reading data with Read Uncommitted semantics for the referenced table. It can permit dirty, missing or duplicated observations and does not mean that no locks of any kind are acquired. It is risky for authoritative reporting. Reducing waits should not be confused with establishing a valid or consistent view of the data.
Nominal data
Categorical values without an inherent meaningful ordering, such as country names or colours. They can be sorted for presentation, but a greater lexical code does not represent more of the underlying category. Analytical design should distinguish labels from quantities or ordered categories. Numeric-looking category codes remain nominal if arithmetic or magnitude has no substantive meaning.
Non-clustered index
An index stored separately from the table’s clustered or heap organisation, especially in SQL Server terminology. It provides alternative access paths without redefining the table’s clustered key. Each additional structure adds write, storage and maintenance costs. Lookup behaviour and included columns affect performance, so a collection of non-clustered indexes should follow actual workloads rather than accumulate without review.
Non-deterministic function
A function whose result is not fixed solely by its stated inputs across relevant calls, such as random-number generation or functions depending on time or external state. Engine classifications differ: some time functions are stable within a transaction. Indexing, materialisation and caching must respect these guarantees rather than assuming that repeated expressions always represent the same value.
Non-repeatable read
A transaction reading the same record more than once and observing a changed committed value because another transaction updated it between reads. Isolation models determine whether this can occur. A workflow requiring a stable view must account for the possibility explicitly. The anomaly differs from a dirty read, which observes uncommitted changes, and from a phantom involving a changed result set.
NOT IN
A predicate testing non-membership in a list or subquery. If relevant comparisons involve nulls, SQL’s unknown truth value can prevent rows from passing the filter, sometimes returning no rows unexpectedly. `NOT EXISTS` often expresses an anti-join more safely, but the matching semantics must be checked. Null handling is a correctness issue rather than merely a performance choice.
NOT NULL
A constraint prohibiting a null value in a column. It is useful where a value must always be supplied. Applying it to genuinely unknown information can encourage fabricated placeholders and reduce quality. Schema design should distinguish mandatory facts from optional or not-yet-known values. An empty string or zero is not automatically a meaningful substitute for missing information.
NTILE()
A window function assigning ordered rows to a specified number of buckets as evenly as possible. It is useful for segmentation and reporting bands. Buckets concern row counts, not necessarily equal numerical ranges or identical values. Tied values can be split, and insufficiently deterministic ordering can change assignments. The chosen partition and sort keys therefore matter to interpretation.
Numeric precision
The capacity and accuracy with which a numeric type represents values. For decimal types, precision and scale specify total digits and fractional places according to the engine’s rules. Arithmetic can introduce further rounding or overflow decisions. Financial reconciliation requires consistent representations across systems, rather than assuming that visually similar displayed amounts have identical stored values.
NVARCHAR / NCHAR
Character types used by particular SQL engines for national-character or Unicode data. Their encoding, length units and storage behaviour are product-specific. Other types can also support Unicode in some systems, such as UTF-8 configurations. Multilingual design therefore considers encoding, collation and index limits together rather than relying solely on a type name beginning with N.
O
Object identifier (OID)
An internal identifier for database objects in supporting engines, such as PostgreSQL. It can identify tables, types or other catalogue entries within a particular scope. It should not be assumed stable across migration or suitable as a universal business key. Other systems use “object ID” differently, so persistence and uniqueness guarantees must be established explicitly.
Object storage
Storage organised around objects, often used for large files or binary content outside a transactional database. Keeping references in the database can reduce database size, but introduces cross-system lifecycle and integrity responsibilities. Access control, retention and deletion must be coordinated. A committed row referring to a missing or inaccessible object is not a successful end-to-end transaction merely because the SQL operation succeeded.
ODBC
Open Database Connectivity, an API and driver model allowing applications to access different database systems. It is widely used by BI tools and enterprise integrations. Driver settings, fetch sizes, connection reuse and type mappings influence behaviour and performance. A standard interface does not eliminate differences in SQL dialects, transaction semantics or supported data types.
OFFSET
A clause skipping a specified number of result rows, commonly used with a limit for pagination. Large offsets can be costly because the engine still has to identify and pass over earlier rows. Keyset pagination can be more efficient for sequential navigation. Deterministic ordering is required in either approach, and concurrent changes can affect page boundaries unless a stable view is maintained.
Online analytical processing (OLAP)
Work oriented towards analysis, including broad scans, grouping, multidimensional exploration and drill-down. Columnar storage, pruning, pre-aggregation and suitable distribution can improve performance, depending on the system. Analytical queries often have different resource profiles from short transactions. Design should consider freshness, concurrency and acceptable response times rather than assuming that all SQL workloads have the same priorities.
Online index build
A facility creating an index while permitting some concurrent access to the underlying data. It reduces certain interruptions but may still need short locks and consume substantial CPU, I/O or storage. Capabilities depend on engine, edition and operation. “Online” should not be interpreted as zero impact; production planning still needs monitoring and an understanding of failure or cancellation behaviour.
Online rebuild
Reconstructing an index or supported structure while the service remains available for specified operations. It can reduce downtime, but resource use and locking phases remain important. Engine-specific limitations and additional space requirements should be checked. A maintenance window or controlled scheduling can still be useful because allowing access does not guarantee unchanged latency for other workloads.
Online transaction processing (OLTP)
Processing frequent operational transactions, such as orders, payments or inventory changes, typically with low latency and clear integrity requirements. Concurrency, reliable updates and predictable response times are central. Large analytical queries can interfere when resources are not isolated. OLTP and OLAP needs can coexist, but combining them requires deliberate architecture rather than treating either workload as harmless to the other.
Optimiser statistics
Metadata describing matters such as row counts, distinct values and distributions, used to estimate execution costs and cardinalities. Stale statistics are a common cause of poor plans, though not the only one. Regular or automatic updates are important, with product-specific thresholds and sampling. Correlations and unusual data patterns can still require more detailed statistics or other design changes.
OR
A logical operator joining alternative conditions under SQL’s three-valued logic. Some OR combinations make efficient access harder, while engines can optimise others. Rewriting as `UNION ALL` may help in selected cases but can duplicate rows when branches overlap. Any rewrite must preserve null behaviour and multiplicity, not merely produce a plan that appears faster.
ORDER BY
A clause specifying result ordering. A sort can consume CPU, memory and temporary storage unless suitable order is available through the access path. Remove unnecessary ordering where no consumer relies on it, but retain it when presentation or pagination requires deterministic results. Physical table or index layout alone is not a general guarantee of returned order.
Out of memory (OOM)
A failure caused by insufficient memory for an allocation or workload. Sorting, hashing and large intermediates are common contributors. Spilling to disk can avoid an OOM but is a different outcome, often with higher latency. Better plans, smaller intermediates and concurrency limits may help; increasing RAM can also be appropriate after identifying the actual demand rather than assumed as the only remedy.
Out-of-order events
Events arriving in a sequence different from their relevant event-time or causal order, common in streaming and CDC workflows. Windowed aggregates and latest-state derivation need policies for ordering, late arrivals and watermarks. Arrival time alone may not establish which state is newest. Corrections and replay should apply the same rules to avoid changing results unpredictably.
Outer join
A join retaining unmatched rows from one or both inputs and supplying nulls for missing values. Left, right and full variants serve different preservation requirements. They are useful for reconciliation and optional relationships. Null interpretation, duplicate matches and placement of filters must be deliberate; a later predicate can accidentally remove the very unmatched rows the join was intended to preserve.
Overfetching
Retrieving more rows or columns than a task requires. It increases transfer, memory and processing costs and may expose unnecessary sensitive information. `SELECT *` can contribute, particularly as schemas grow, though it is not intrinsically wrong in every context. Specify needed data and measure result size so that query execution speed does not conceal expensive delivery and application processing.
Overpartitioning
Creating so many partitions that planning, metadata and maintenance costs outweigh useful pruning or lifecycle benefits. Partitioning is not automatically beneficial. The appropriate granularity depends on volume, retention, query patterns and engine limits. Excessively small partitions can make ordinary work more complex even when each individual partition seems easy to manage.
Overwrite load
Replacing an existing dataset or region of data with a new result, through mechanisms such as replace operations or controlled delete-and-reload. It can simplify analytical pipelines, but atomicity varies by implementation. Without retained versions, previous states needed for audit or comparison may disappear. Validation and recovery planning should address both correctness of the new result and the consequences of interruption.
Ownership
Responsibility for a database object or data product, with a distinction between technical ownership privileges and organisational accountability. Clear responsibility helps ensure quality problems are investigated and definitions maintained. Without it, issues can become everyone’s concern but no one’s task. Owners need agreed responsibilities for changes, documentation and support rather than merely a name recorded in a catalogue.
P
Page
A unit through which an engine organises stored or buffered data, often containing multiple records or index entries. Page size and layout are product-specific. Reading many pages increases processing or I/O work, while changing many pages can increase logging and concurrency costs. Understanding page-level behaviour helps explain performance even when a query’s logical row count appears modest.
Page cache
A cache retaining storage pages in memory, either in the database or operating-system layer. Reuse reduces physical reads. Inefficient scans can still consume CPU and displace valuable cached pages with data unlikely to be reused. A high hit ratio therefore needs interpretation alongside total logical work, memory pressure and the workload’s access pattern.
Page split
An operation dividing a full index page and redistributing entries to make room, commonly in ordered tree structures. Frequent splits can increase write work, logging and layout overhead, although effects vary with insertion patterns. Key choice and fill factor can influence them. Sequential and random inserts behave differently, so blanket assumptions about all increasing keys causing the same fragmentation are misleading.
Pagination
Returning a result in successive portions, using techniques such as limit/offset or keyset continuation. Large offsets can become expensive. Keyset methods provide efficient sequential navigation when ordering keys are stable and deterministic. Both approaches need policies for concurrent changes and repeated values. A user-facing page is a presentation boundary, not automatically a consistent database snapshot.
Parallel query
Executing parts of a query using multiple workers or processing resources. It can accelerate broad scans and aggregation when enough work is available. Coordination and resource consumption may outweigh benefits for smaller queries or harm other requests under load. Effective management considers total throughput and tail latency, not merely the fastest isolated execution of one query.
Parameter
An externally supplied value used in a statement, such as the placeholder in `WHERE id = ?`. Parameters support safe separation of values from SQL syntax and may improve plan reuse. Types and selectivity still influence planning. Incorrect parameter handling can produce unsuitable conversions or unstable performance, so security benefits do not remove the need for semantic and runtime checks.
Parameter binding
Supplying values through a database interface’s parameter mechanism rather than concatenating executable text. Correct binding is a central defence against SQL injection and can support statement reuse. Parsing and planning behaviour depend on the driver and server. Binding is generally for data values; identifiers and structural query fragments require separate safe construction.
Parameter sniffing
A planning behaviour in which an engine uses particular parameter values when compiling a plan, potentially reusing it for later executions. It can improve estimates for those inputs but perform poorly for very different distributions. Possible responses include better statistics, selective recompilation, plan controls or query changes. Diagnosis should establish the reuse problem rather than treating all value-sensitive planning as a defect.
Parameterisation
Representing recurring statements as stable SQL text with separate variable values. It reduces unnecessary textual variation and can improve plan-cache reuse. Dynamic code that generates a new statement shape for every request may undermine those benefits. Parameterisation must also preserve suitable types and allow the engine to handle skewed inputs; one reused plan is not always ideal for every value.
Partial index
An index containing only rows satisfying a declared predicate, such as `status = 'active'`. It can be compact and efficient for relevant selective workloads. The optimiser must be able to establish that a query’s conditions imply the index predicate. Parameterisation or evolving business rules can prevent expected use, so coverage and query plans need review when conditions change.
Partition
A subdivision of a table or index according to a defined rule, often involving time, tenant or another key. Partitions can simplify lifecycle management and reduce scanning when predicates allow pruning. They also add metadata and operational work. The physical and logical relationship varies between engines; a table split into many parts is not automatically faster.
Partition key
The attribute or expression determining placement in partitions. It should match access and lifecycle needs while avoiding excessive skew or hot spots. A poor key can produce uneven sizes and little pruning. Different workloads may require trade-offs, so selecting the most convenient available timestamp or identifier is not always appropriate.
Partition pruning
Eliminating partitions that cannot contribute to a query based on predicates and known partition boundaries. It can greatly reduce scanning. If filters cannot be related to the partition rule, the query may still examine every partition. Partitioning can retain lifecycle benefits in that case, but should not be advertised as a read optimisation without evidence that pruning occurs.
Partitioned index
An index organised in parts associated with a partitioning scheme, with local, aligned or global variants depending on the engine. It can support maintenance and access benefits, but uniqueness and cross-partition behaviour require care. Additional structures may complicate plans or operations. Understand how index partitions relate to table partitions before moving or dropping data.
Partitioned table
A table presented as one logical relation while its data is divided into partitions. It can support efficient loading, archival and removal of old ranges. The number of partitions, retention rules and constraint handling need management. Excessive subdivision or misaligned predicates can create overhead without improving queries, so lifecycle convenience and access performance should be evaluated separately.
Partitioning
The strategy of dividing data using methods such as range, list or hash rules. It affects maintenance, placement and query execution. An unsuitable strategy can add complexity or increase read and write costs. Design should consider actual filters, retention and distribution, together with how the engine plans and enforces constraints across partitions.
Patch
A software update addressing defects, security issues or selected behaviours. Even a maintenance release can change plans, defaults or performance. Production patching should include representative testing, an appropriate recovery plan and controlled scheduling. The scope of an update should be assessed from release notes and evidence rather than assuming that a small version change has no operational consequences.
Pattern matching
Searching text through mechanisms such as `LIKE`, case-insensitive variants or regular expressions. These provide different semantics and can be costly without suitable access methods. A full-text index is appropriate for some linguistic searches, not a universal replacement for arbitrary patterns. Choose the intended matching rules first, then assess indexes and actual scanning costs.
Permission
An allowance to perform specified actions on resources, such as selecting, inserting, updating, deleting or executing. Uncontrolled accumulation increases exposure, while missing rights can interrupt legitimate workflows. Least privilege seeks the necessary scope rather than either extreme. Effective management also considers inherited roles, ownership and special administrative accounts, not only explicit grants on individual tables.
Pessimistic locking
Acquiring locks before performing work on the assumption that conflicting operations need coordination, for example through `SELECT … FOR UPDATE`. It can prevent selected races but introduces waiting and potential deadlocks. Broad locks or long transactions can spread delays through the system. The protected invariant and lock scope should be explicit rather than assuming all early locking is safer.
Phantom read
A repeated predicate query within a transaction returning a changed set of qualifying rows because another transaction inserted, removed or changed relevant records. The classic example is a newly inserted matching row. Isolation and engine implementation determine prevention mechanisms, which may include snapshots, predicate validation or range locks. Protecting only previously observed rows may be insufficient.
Physical backup
A backup based on the engine’s physical files, pages or compatible storage representation. It can support efficient restoration of large datasets, but requires a valid consistency mechanism and compatible recovery environment. Engine versions, extensions and storage assumptions may restrict portability. Copying live files without coordination does not automatically create a usable physical backup.
Physical replication
Replication based on physical storage changes or engine-specific redo information rather than a portable logical row description. It commonly preserves a close copy of the source structure. Selective distribution of individual tables may be more limited than with logical replication. Compatibility, recovery and failover rules remain product-specific; physical similarity does not remove the need to monitor progress and integrity.
PL/SQL
Oracle’s procedural extension to SQL, supporting variables, control flow and exception handling. It enables executable logic close to the database. Large amounts of poorly structured business code can complicate testing, deployment and separation of responsibilities. Other engines have their own procedural languages with different names and behaviours; PL/SQL should not be treated as the generic name for every procedural SQL extension.
Plan cache
A facility reusing previously prepared or optimised execution plans. It can reduce repeated compilation and improve latency. Excessive variation in statement text can fragment the cache, while inappropriate reuse can produce poor plans for different inputs. Effective parameter handling and monitoring are needed; cache reuse is a means to good performance, not an objective overriding plan suitability.
Plan hash
A product-specific compact identifier or fingerprint representing aspects of an execution plan. It helps track whether a statement used different plans over time. A changed fingerprint can assist investigation of a regression, but is not itself proof of its cause. Conversely, unchanged high-level fingerprints may omit details relevant to runtime behaviour, so inspect the actual plans and measurements.
Plan instability
Large performance variation associated with changing plans as data, statistics or parameter values differ. Appropriate responses may include better statistics, indexes, parameter handling or carefully managed plan controls. A hint is not automatically the best first fix. Diagnosis should distinguish a legitimately different plan for different inputs from a regression caused by inaccurate estimates or unsuitable reuse.
Plan regression
A deterioration in performance associated with a new or differently chosen execution plan. Statistics, changed distributions, parameter-sensitive planning or upgrades can contribute. Temporary plan controls may stabilise service, while investigation addresses the underlying cause. The relevant comparison should use representative inputs and conditions rather than assuming every slower execution must reflect a plan change.
Planner
The component translating a SQL request into candidate execution strategies and selecting a plan, often used synonymously with optimiser. Its knowledge depends on statistics, constraints and implemented transformations. Missing or untrusted constraints can prevent otherwise valid simplifications. Improving metadata and query clarity helps planning, but estimates remain models rather than complete knowledge of actual execution.
Point-in-time recovery (PITR)
Restoring a database to a selected recovery point, commonly by applying retained logs after a suitable base backup. It can limit the effects of accidental changes or corruption. Required logs and dependencies must remain available. Restore exercises establish whether the intended point is recoverable and how long the process takes; the presence of a PITR option alone is not proof.
Predicate
A logical condition used in contexts such as `WHERE`, `JOIN … ON` or `HAVING`. It evaluates under SQL’s rules for true, false and unknown. Predicate selectivity and form influence index access and plan quality. Conditions that appear similar can differ in null handling, type conversion or outer-join effects, so semantic review precedes performance-oriented rewriting.
Predicate pushdown
Moving a condition earlier in an execution strategy or closer to an external source where it can be evaluated equivalently. It reduces unnecessary intermediate rows and data transfer. Benefits can be substantial in large or remote datasets. Correctness requires compatible types, collations and function semantics; not every predicate can safely move across joins, aggregation or source boundaries.
Prepared statement
A statement prepared through an interface for repeated execution, often with different bound values. It supports safe value handling and can reduce parsing or planning overhead. Engines differ in when they compile, reuse or replan it. Parameter-sensitive data can complicate performance, so preparation should not be interpreted as guaranteeing one permanently optimal plan.
Prepared transaction
A transaction that has completed the prepare stage of a two-phase commit protocol and awaits a final decision. It allows participants to coordinate a common outcome. In-doubt transactions can retain locks or other resources, creating operational risk if the coordinator fails or is mismanaged. Monitoring and recovery procedures are essential; manually resolving one requires knowing the agreed outcome.
Primary key
A designated key constraint uniquely identifying rows and prohibiting null key values, according to SQL rules. It is a central integrity mechanism and may comprise several columns. Without an appropriate identity constraint, duplicates and ambiguous references become more likely, although some tables intentionally use other structures. A generated ID is not a primary key until the relevant enforcement is actually defined.
Privilege
A permitted operation, such as `SELECT`, `INSERT` or `EXECUTE`, defined through a database’s access-control model. Managing permissions through suitable roles can be clearer than many unrelated grants to individuals. Inheritance, ownership and administrative bypasses still require review. The objective is predictable access and accountability, not simply a short list of direct grants.
Projection
Selecting the attributes to appear in a result, commonly through the `SELECT` list. Unnecessary columns increase transfer and client processing and may prevent efficient access paths. `SELECT *` also makes consumers sensitive to schema changes. Specify needed fields where practical, while recognising that column selection alone does not fix incorrect row grain or join logic.
Q
QUALIFY
A clause in supporting SQL dialects filtering rows after window-function evaluation. It complements the logical roles of `WHERE` for input rows and `HAVING` for grouped results. It can simplify ranking or latest-record patterns. Support and precise syntax vary; using an earlier filter instead may change the partition or ordering over which the window calculation is performed.
Quantile
A value dividing an ordered distribution at a specified cumulative proportion, including p50, p95 and p99. High-percentile latency reveals slower experiences hidden by averages. Calculation methods, sample sizes and aggregation matter: averaging percentiles does not generally produce the percentile of the combined distribution. Performance reporting should state the population and measurement interval alongside the chosen quantile.
Queries per second (QPS)
A rate describing how many queries a system processes or receives over a period. The definition should distinguish completed, submitted and successful operations. QPS alone is not a capacity assessment because queries vary enormously in cost. Interpret it with latency distributions, errors, contention and workload composition rather than comparing raw numbers across unrelated systems.
Query
A request to retrieve or otherwise operate on data, often used broadly for SQL statements including reads and changes. A statement can execute successfully while answering the wrong question. Incorrect grain, mismatched keys and null assumptions are common silent errors. Validation therefore examines meaning and expected results rather than treating the absence of a database exception as proof of correctness.
Query by example (QBE)
An approach or interface constructing queries from examples, templates or visual selections rather than requiring direct SQL entry. It can support exploration and quick reporting. Generated statements may become complex, making performance or semantics less obvious. Users still need access to the underlying logic and definitions when validating important results.
Query cache
A mechanism retaining reusable query results, with terminology varying by product. It should be distinguished from a plan cache, which stores execution strategies rather than answers. Result caching can greatly improve repeated reads, but requires suitable invalidation and freshness guarantees. A very fast stale answer can undermine trust if users expect current information.
Query hash
A fingerprint of statement text or a normalised representation, used to group and monitor related work. It can help identify recurring expensive queries and regressions. Highly variable dynamic SQL may fragment observations across many fingerprints. Hashing rules are product-specific, and collisions or omitted distinctions mean that important investigations should still examine the actual statements.
Query hint
A product-specific instruction influencing or constraining optimisation, such as a preferred join strategy or access method. Hints can address urgent regressions but may become fragile when data or engine behaviour changes. They should be documented and monitored. A hint does not replace understanding why the optimiser’s assumptions were wrong, nor do all engines treat hints as mandatory.
Query hint
A directive influencing an optimiser’s decisions about plans, indexes or join methods in a particular engine. It may stabilise an urgent issue, but can become brittle when distributions or engine versions change. Clear documentation and review reduce that debt. Hints should not replace evidence about why a plan is poor or whether the requested strategy remains appropriate.
Query log
Recorded information about executed statements, potentially including text, duration, resource use and identity. It supports diagnosis and capacity planning. Sensitive values, excessive volume and indefinite retention can create privacy, security and cost problems. Capture policy should balance observability with protection, including sampling or masking where appropriate and access limited to authorised users.
Query optimisation
Improving execution while preserving the required result and guarantees. It may reduce I/O, CPU, lock duration or intermediate data. Correct grain, useful access paths, valid pushdown and accurate statistics often matter more than cosmetic syntax changes. Measurement should establish the bottleneck first. A faster result is not an optimisation if it silently omits records or weakens required consistency.
Query optimiser
The component selecting an execution plan from available alternatives. It uses rules, statistics, cost estimates and sometimes runtime adaptation. It does not possess perfect knowledge of future execution. Changes in parameters or distributions can alter plan quality. Effective tuning helps the optimiser make reliable choices through sound schemas, statistics and predicates before imposing rigid controls.
Query optimiser
The engine component choosing how a SQL request will be executed. Its decisions use available statistics, constraints, cost models and supported transformations. Stale or incomplete metadata can produce a poor plan even for semantically correct SQL. Tuning helps provide better information or structures; it should not assume that the optimiser’s estimate is direct evidence of actual resource consumption.
Query plan
The selected sequence or graph of execution operations, such as scans, lookups, joins, sorts and aggregation. It establishes what the engine intends to do, while runtime instrumentation shows what actually occurred. Plans ground performance discussions in evidence. They should be interpreted with counts, waits and resource measurements rather than relying on a guess that an index “must” be in use.
Query profiling
Measuring where execution spends time and resources, including operator work, reads, spills and blocking. A useful profile can distinguish an oversized intermediate result from storage latency or application waiting. Without it, changes become speculative. Instrumentation has overhead and product-specific interpretation, so collect the evidence needed for the problem without assuming every reported operator time is directly additive.
Query rewrite
Expressing the same intended result through a different structure that may execute more efficiently. Examples include suitable subquery-to-join transformations or alternative window-based calculations. Replacing OR with `UNION ALL` requires handling overlapping rows. Equivalence must include duplicates, nulls and ordering requirements. A promising plan is not sufficient if the rewrite changes the question being answered.
Query Store
A SQL Server feature retaining query, plan and runtime history for analysis and selected plan-management functions. It helps identify regressions that are difficult to reproduce later. Capture, space and retention settings determine which evidence remains available. Poor configuration can retain excessive noise or omit important work. Similar historical facilities in other engines may use different names and guarantees.
Query timeout
A limit after which a client or server attempts to cancel an operation. It can protect resource budgets, but a cancellation request does not always mean the server stopped immediately or rolled back an entire workflow. Too-short limits interrupt legitimate work; uncontrolled retries amplify load. Policies should match criticality, expected duration and safe recovery behaviour.
Query tuning
Coordinated improvement of statements, schema, indexes, statistics and relevant resource settings. The aim is reliable performance across representative inputs and concurrency, not merely one unusually fast test. Tuning should assess effects on writes and other queries as well. Documented evidence and bounded changes make improvements easier to validate and maintain as data evolves.
Quorum
A required set or number of participants for a distributed decision or operation. Many protocols use a majority, but quorum systems need not all use an identical majority rule. Overlap and failure assumptions determine guarantees. Waiting for sufficient participants can increase latency or prevent progress during partitions, so consistency and availability consequences must be stated precisely.
Quorum read
A read consulting a specified quorum of replicas or participants. Depending on the protocol and its relationship with write quorums, it can strengthen visibility guarantees. A majority count alone does not universally establish linearizability. Additional responses can increase latency or reduce availability during failures. The system’s actual versioning, conflict resolution and coordination rules determine the result.
Quorum write
A write acknowledged after a specified quorum has met the protocol’s requirements. This can improve resilience and coordinate visibility, but may add network latency and become unavailable when too few participants can communicate. “Applied”, “received” and “durably stored” are different acknowledgement conditions. The guarantee must be identified rather than inferred from the word quorum alone.
Quoted identifier
An object name written with an identifier-quoting mechanism, such as standard double quotes or product-specific brackets. It permits reserved words or special characters and may preserve case according to engine rules. Consistent simple naming often improves portability. Quoting identifiers is different from quoting string values, and dynamically constructed names require safe handling even when their syntax is valid.
R
Range partitioning
Partitioning data by bounded value ranges, such as monthly dates. It can support pruning and convenient retention management. Excessively narrow ranges increase metadata and maintenance, while very broad ranges reduce elimination benefits. Boundaries and missing or future ranges need operational planning. The correct interval depends on volume and access patterns rather than a universal daily or monthly rule.
Range scan
Reading values within a specified interval through an index or other access structure. A predicate such as a timestamp range can support it when types and key ordering are suitable. Large qualifying fractions may still make broad scanning expensive or appropriate. Selectivity, covered columns and storage locality determine the cost, not merely the presence of a range condition.
RANK()
A window function assigning the same rank to tied values and leaving gaps before later ranks. It is useful for score or revenue leaderboards. `DENSE_RANK` instead avoids those gaps, while `ROW_NUMBER` assigns separate numbers. Top-ten requirements should specify whether ties may increase the number of returned rows and which ordering defines equality.
Read Committed
An isolation level preventing dirty reads, with implementation-specific visibility behaviour. Repeated statements can observe different committed values or matching rows as other work commits. Some engines use statement snapshots and others locking approaches. Workflows needing a stable multi-statement view must specify that requirement rather than assuming committed data necessarily means one unchanged view for the whole transaction.
Read consistency
The guarantees determining which state or history a read may observe. A statement snapshot, transaction snapshot and eventual replica view provide different behaviours. In distributed architectures, freshness and ordering need explicit definitions. Users can otherwise receive conflicting-looking answers without an engine defect. The requirement should describe the business observation needed, not simply request “consistent reads” without a model.
Read replica
A replicated database copy used to serve suitable reads while writes are handled elsewhere, commonly on a primary. It can increase read capacity, but lag may produce stale results. Read-after-write requirements, transaction consistency and routing must be considered. Replica count alone does not establish freshness or ensure that a report sees a coherent state across several requests.
Read skew
An inconsistent view of related values observed at different logical points, such as reading one part of a transfer before commitment and another afterwards through separate permitted snapshots. Totals may appear not to reconcile. The issue can arise across rows as well as tables. Appropriate snapshot or isolation guarantees can prevent relevant cases when the workflow requires a coherent combined state.
Read Uncommitted
An isolation-level name permitting dirty reads in implementations that support that behaviour. It can expose values later rolled back and other inconsistent observations. Some engines map it to a stronger level, so the name alone does not determine actual guarantees. It is risky for authoritative financial or audit reporting when uncommitted observations are genuinely permitted.
Read-only transaction
A transaction declared not to perform specified writes, with enforcement and optimisations varying by engine. The declaration can support safety or selected planning benefits. It does not by itself specify whether multiple reads share a snapshot. Isolation and replica freshness remain separate concerns, so read-only access should not automatically be equated with a stable or current view.
Read/write routing
Directing operations to appropriate database nodes, such as writes to a primary and suitable reads to replicas. Routing must account for transactions, freshness, failover and session state. Incorrect decisions can send writes to the wrong destination or return stale observations after a successful update. A simple distinction based only on whether SQL starts with `SELECT` is not universally sufficient.
Read–write transaction
A transaction permitted to read and change data. It can coordinate a business operation atomically, but excessive duration extends resource retention and may increase contention, deadlocks or replication pressure. Keeping the boundary focused helps maintain concurrency. The necessary integrity guarantee should not be discarded merely to shorten a transaction; instead review avoidable waits and the structure of the work.
REAL
An approximate floating-point numeric type, with precision and representation depending on the engine. It suits values whose required accuracy tolerates approximation, such as selected measurements. Decimal fractions may not be exact, so repeated calculations or equality comparisons need care. Monetary quantities requiring exact decimal rules generally need a suitable exact numeric representation rather than a type chosen only for convenience.
Rebalancing
Redistributing partitions, shards or workload placements to improve capacity or load distribution. Moving data can consume network and I/O resources and disturb caches even when performed online. Rate limits, monitoring and rollback or interruption behaviour need planning. Balanced data volume is not necessarily balanced traffic, so placement should account for hot keys and actual access patterns.
Record (row)
A row in a table, representing one instance of the relation’s defined facts. The concept appears simple, but many analytical errors begin with an unclear answer to “what does one row represent?” A row might be an entity, an event or a historical version. Its grain, key and time meaning must be understood before counting or combining records.
Recovery point objective (RPO)
The maximum acceptable loss of recent data after a disruption, often expressed as a time interval such as five minutes. It guides replication, logging and backup design. An objective is not proof that the current system achieves it. Measured recovery exercises and monitoring of lag or backup gaps are needed to establish the actual exposure.
Recovery time objective (RTO)
The target maximum time to restore the required service after a disruption, such as thirty minutes. It includes more than starting a database process: detection, decisions, access, dependencies and validation may all contribute. Runbooks, automation and exercises determine whether the objective is realistic. A nominally fast restore is insufficient if applications cannot resume usable service.
Recursive CTE
A common table expression repeatedly referencing its own results to traverse hierarchies or graphs, with dialect-specific syntax such as `WITH RECURSIVE`. It supports organisational and category trees. Cycles, depth and stopping conditions require control to avoid excessive work or non-termination. Duplicate handling and traversal order also need deliberate interpretation rather than assuming a hierarchical-looking input is always acyclic.
Redo log
Recovery information allowing changes to be reapplied after a crash, with product-specific terminology and contents. Redo may include work whose final transaction status must also be considered; it is not simply an application list of successful events. Durable logging supports persistence, but can become a write bottleneck. Retention and recovery requirements determine which records remain necessary.
Referential integrity
Rules ensuring that references correspond to eligible existing keys, commonly enforced through foreign keys. Nullability and configured deletion or update actions form part of the guarantee. Relying only on application conventions can permit orphaned records through other writers. Database enforcement centralises the specified relationship, although the relationship itself must correctly represent the business entities and history.
Regular expression
A language describing text patterns for matching, extraction or replacement. It is expressive but can require substantial processing, especially over large unindexed inputs. Some patterns or engines have particularly costly behaviour. Confirm that regex is needed and consider supported indexes or simpler predicates where equivalent. A full-text search is an alternative only when its different matching semantics suit the task.
REINDEX
An operation rebuilding indexes in supporting systems, potentially correcting corruption or improving space use. Syntax, concurrency options and guarantees vary. It can consume substantial CPU, I/O and temporary storage or require locks. Schedule and monitor it with a clear reason. Rebuilding an index does not correct wrong query semantics or guarantee improvement when the real bottleneck lies elsewhere.
Reindexing
Reconstructing an index to address a supported maintenance need, such as corruption, excessive space or layout inefficiency. It does not generally replace updating planner statistics or correct query semantics. Locking, online options and resource costs vary. Production use needs an evidence-based reason and capacity planning rather than an assumption that periodic reconstruction always improves performance.
Relation
In the relational model, a set of tuples over named attributes, with no inherent row order or duplicate tuples. SQL tables and results commonly permit duplicates and nulls, so they are not identical to pure mathematical relations. This distinction helps clarify why explicit keys, duplicate semantics and `ORDER BY` matter in practical queries.
Relational algebra
A theoretical collection of operations on relations, including selection, projection, joins and set operations. Equivalent transformations help explain query optimisation. Practical SQL adds considerations such as duplicates, nulls and ordering, so a familiar algebraic rewrite must be checked against those semantics. The aim is the same required result through less costly work, not merely shorter syntax.
Relational database
A database organised around relations, commonly implemented as tables with keys, constraints and SQL operations. Reliable design makes important relationships and integrity rules explicit rather than leaving them as external assumptions. Products differ in theoretical purity and practical features. The model provides tools for correctness, but does not prevent misleading queries when the schema or business interpretation is wrong.
Relational database management system (RDBMS)
Software managing data through relational structures and operations, typically with SQL, constraints and transactional facilities. Its value includes coordinated integrity, concurrency and query processing rather than storage alone. Products implement different subsets and extensions of relational ideas. Strong results still depend on suitable keys, rules and transaction configuration rather than following automatically from the RDBMS label.
Relational model
A model representing information through relations, attributes and formally defined operations and integrity rules. It is broader than merely displaying data in rows and columns. Sound keys and dependencies support reliable reasoning. Weak modelling can leave SQL queries syntactically valid while producing false relationships or totals, so schema design and enforced assumptions are fundamental to the model’s practical value.
Replay
Reapplying logs, captured changes or events to reconstruct data or recover progress. It supports debugging, backfills and disaster recovery. Ordering and idempotency must be defined, particularly when an event may be delivered more than once. “Exactly once” requires a clear scope and mechanism; replaying an input file successfully does not prove that every downstream side effect occurred once and only once.
Replica
A maintained copy or corresponding representation of data used for purposes such as read capacity, availability or recovery. It need not always be a passive secondary, since multi-writer systems exist. Lag and replication guarantees determine what it can safely serve. Read policies and promotion procedures should be explicit rather than assuming that every copy is immediately current or independently recoverable.
Replication
Transferring changes between database copies or participants through physical, logical, synchronous or asynchronous mechanisms. Ordering, progress and conflict handling are central concerns. Failover requires knowing which changes reached which node and what acknowledgements guaranteed. Replication is not a substitute for independent backups: accidental deletions or corruption may propagate along with legitimate updates.
Replication factor
The configured number of copies or replica placements for data within a defined system. More copies can improve tolerance of specified failures, but also consume storage and coordination resources. Independence and acknowledgement policies matter: several copies in one failure domain may offer limited protection. Quorum design must balance the intended resilience, consistency and latency requirements.
Replication lag
The delay or progress difference between a primary’s changes and a replica’s received or applied state. Time-based and position-based measures answer different questions. Lag determines the risk of reading correct but outdated data and can affect failover loss. Reporting and consistency-sensitive workflows need explicit freshness requirements rather than assuming replication means immediate synchronisation.
Resource governor
A mechanism allocating or limiting resources for groups of sessions or workloads, with product-specific capabilities and names. It can reduce noisy-neighbour effects and protect critical work. Poor limits can instead starve important operations or leave capacity unused. Classification, monitoring and representative testing are needed so that restrictions reflect priorities rather than arbitrary per-query ceilings.
Resource utilisation
The extent to which resources such as CPU, memory, storage or networking are being used. High utilisation is not inherently a problem if service objectives remain satisfied. Saturation and queuing are more informative. Measurement must identify the resource and interval; a low overall average can hide a short-lived bottleneck or a single overloaded worker.
Result set
The rows returned by a query. End-to-end cost includes transmission, client memory and subsequent processing, not only server execution. Very large results may require streaming or pagination. Column types and row width also matter. A query that finishes quickly on the server can still create a slow or unstable application if the result is fetched and retained carelessly.
Retention policy
Rules governing how long data, versions, backups or logs remain available and when they are archived or removed. Unclear retention can produce uncontrolled costs; premature deletion can damage auditability, recovery and reproducibility. Different information classes may need different periods. Legal requirements, business use and recovery dependencies should be reconciled rather than applying one convenient age limit everywhere.
Retry
A further attempt after a failure or uncertain outcome. Safe policies distinguish transient errors from permanent ones and consider whether the original operation may already have committed. Bounded exponential backoff, jitter and idempotency help prevent extra load and duplicated effects. Repeating a statement immediately is not a universal recovery strategy, particularly within a failed transaction.
Retry policy
Rules specifying which failures may be retried, how often and after what delay. Bounded exponential backoff, jitter and idempotent handling help avoid duplicate effects and synchronised overload. Some failures are permanent or leave transaction outcomes uncertain. The policy must distinguish them rather than repeat every timed-out operation automatically and risk amplifying an incident.
Retry storm
A surge of repeated attempts from many clients following errors or timeouts. The extra work can overload a recovering service and turn a partial fault into a wider failure. Poor timeout settings, synchronised retries and inadequate rate limits contribute. Bounded backoff, jitter and load shedding help reduce amplification, while the underlying cause still needs attention.
RIGHT JOIN
A right outer join retaining every right-side row and filling missing left-side values with nulls. It can often be expressed as a left join with the inputs exchanged, which some teams find clearer. The choice is primarily about semantics and readability, not an inherent performance difference. Duplicate matches and later filters require the same care as other outer joins.
Role
An access-control identity or grouping through which privileges can be assigned and inherited, with product-specific rules. Roles help manage permissions more systematically than unrelated individual grants. They still require clear ownership and periodic review. Complex inheritance can conceal effective access, so role-based control should be tested rather than assumed secure merely because grants are grouped.
Rollback
Undoing uncommitted changes within a transaction or to a savepoint, according to the requested scope. Implementation cost can be substantial after large updates, and resource release may not be immediate. Application workflow effects outside the database may remain. A cancellation or error is therefore not proof that the entire business operation has already been reversed safely.
Rollback segment
A storage structure used by certain engines to retain undo information, with modern management varying by product. Undo supports rollback and, in some systems, consistent historical reads. Insufficient or poorly managed undo can affect long queries and large transactions. The appropriate remedy follows the engine’s model rather than treating every retained old version as waste to delete.
Rollforward recovery
Applying retained change or redo information after restoring an earlier backup to reach a later target state. It is central to many point-in-time recovery designs. A missing or incompatible log segment can interrupt the process. Recovery procedures must verify the complete sequence and relevant timelines rather than merely confirm that an initial backup can be opened.
ROLLUP
A grouping extension producing hierarchical subtotals and a grand total according to the grouping-column order. It is useful for reports combining detail and summary levels. Null placeholders for omitted dimensions must be distinguished from genuine null input values, often with grouping indicators. Without clear labels, downstream tools may count subtotals as ordinary records or combine levels incorrectly.
Root-cause analysis (RCA)
Investigating why a problem occurred rather than only suppressing its visible symptom. Database incidents may require connecting execution plans, waits, contention, statistical freshness and application connection behaviour. No single dashboard necessarily explains the failure. Evidence should support a causal account and a validated remedy, while recognising that several contributing conditions may interact.
Round-trip time (RTT)
The network time for a request to reach its destination and a response to return. It is distinct from database processing time, though application measurements may combine them. Cross-region communication and many sequential calls can dominate end-to-end latency. Placement, connection reuse and request batching therefore matter even when individual queries execute efficiently.
Row count
The number of rows in a table or result under specified filters. A sudden increase after joining is an early warning of unexpected multiplicity. Counts help validate a pipeline before inflated aggregates reach reports. Interpretation still depends on grain: more rows may be legitimate when expanding an intended one-to-many relationship, so compare against an explicit expectation.
Row format
The physical representation and layout of records in an engine’s storage. It affects space use, updates, page allocation and access costs. Wide or frequently changing values can increase movement or fragmentation depending on implementation. Schema choices therefore influence performance beyond logical column names. Engine-specific storage and off-page rules should be understood before drawing conclusions from declared column lengths alone.
Row-level lock
A lock protecting particular records rather than a whole table, according to the engine’s implementation. It can allow more concurrency than broad locks, but locking many rows or holding transactions open can still cause substantial blocking and deadlocks. Row locking does not mean that every operation is independent: related indexes, ranges or other resources may also need protection.
Row-level security (RLS)
Policies restricting which rows an identity may read or change, according to engine capabilities. It can strengthen multi-tenant isolation and centralise access rules. Policy complexity, privileged bypasses and performance require testing. Auditing should establish what different roles actually observe, rather than assuming a policy’s existence means all access paths and administrative operations are automatically constrained.
Row-oriented storage
An organisation keeping the fields of each row together or closely associated. It commonly suits point access and short transactional operations. Analytical queries reading few columns across many records may process more unnecessary data than with columnar storage. Actual advantages depend on compression, caching and engine design; storage orientation should follow the workload rather than a universal preference.
ROWID
A product-specific row identifier that may encode or refer to a physical or internal location. It can assist diagnostics and selected operations, but persistence guarantees differ. Reorganisation or other changes may invalidate assumptions about it. Do not treat an internal locator as a durable business key without the engine’s explicit guarantee and an appropriate model.
RTRIM
A string function removing trailing spaces or specified characters according to the dialect and syntax. It can support standardisation, but repeated cleanup does not explain why invalid formatting entered the source. Persistent problems may require changes to ingestion rules or data contracts. Trimming must also avoid discarding significant characters merely because they resemble unwanted padding.
S
Safe update mode
A product-specific safeguard restricting some potentially broad updates or deletions. MySQL’s rules, for example, involve key-based conditions or limits rather than simply checking for any `WHERE` clause. It can reduce accidental damage but does not validate business intent. Training, reviews and controlled privileges remain necessary when the mode is disabled or an incorrect statement satisfies its technical rules.
Saga pattern
Coordinating a distributed business process through local transactions and defined compensating actions rather than one global atomic transaction. Intermediate states can be visible, and compensation is a business action rather than a perfect reversal of time. It supports selected eventual-consistency designs. Failed or incomplete compensation requires recovery procedures; a saga is not an automatic substitute for every ACID guarantee.
Sampling
Selecting a subset to investigate properties of a larger dataset. Representative sampling can support exploration and approximate analysis, but bias and small sample sizes can mislead. Rare events such as fraud or failures may be absent even when important in the full population. The method, uncertainty and intended inference should be stated rather than treating a convenient limited result as a random sample.
Scalar function
A function producing a single value for an invocation. Some database implementations evaluate user-defined scalar functions row by row or restrict optimisation, potentially creating high costs on large inputs. Other engines can inline or optimise suitable functions. Reuse and clarity are valuable, but performance should be assessed through actual execution rather than assuming every function call is negligible.
Scan
Reading a broad portion of a table or index rather than only a narrow lookup. Scans are not inherently bad: analytical work needing much of the data may benefit from sequential or columnar access. For selective operational queries, an unnecessary broad scan can be costly. Evaluate volume, selectivity, layout and actual plan behaviour before treating the operator as a defect.
Schema
A description of data structures, types, constraints and relationships; in some SQL systems, also a namespace containing objects. A schema acts as part of the data’s semantic contract. Names and types alone are insufficient without documented meanings and rules. Ambiguous structures allow different consumers to produce incompatible results even when all statements execute successfully.
Schema drift
Unanticipated changes in structure, such as added or removed columns, renamed fields or altered types. They can break consumers or silently change interpretation. Data contracts, versioning and validation help detect and manage drift. It is not inevitable that every structural change causes failure, but pipelines need deliberate compatibility rules rather than assuming the source will remain unchanged.
Schema evolution
The controlled development of data structures over time. It requires compatibility decisions, migrations and a recovery or forward-fix strategy. Successfully running `ALTER TABLE` is only one step. Applications, ingestion, reports and historical data may all need coordinated treatment. Planning should define the order of deployment and how mixed old and new versions behave during transition.
Schema lock
A lock coordinating access to an object’s definition or protecting a schema modification, with product-specific modes. Even a small DDL operation can block or wait behind ordinary work. Online techniques may reduce some interference but do not eliminate all locking phases. Production changes need attention to the full dependency and transaction context rather than the statement’s apparent simplicity.
Schema registry
A service or catalogue managing schema versions and compatibility, particularly for events, CDC and streaming data. It can validate the structural contract between producers and consumers. Business semantics may still change without a detectable type change, so a registry is not a complete governance solution. Versioning, ownership and semantic review remain necessary alongside technical compatibility checks.
Search path
The configured order in which an engine resolves unqualified object names across namespaces or schemas. An unexpected path can cause queries to use the wrong table or function. It can also create security risks where untrusted users can define objects in searched schemas. Explicit qualification and controlled namespace privileges improve predictability, particularly for production or privileged routines.
Second normal form (2NF)
A relation in first normal form whose non-prime attributes do not depend on only part of a candidate key. It addresses partial dependencies, particularly where keys are composite. Appropriate decomposition reduces update anomalies. The modelling benefit should be considered with query needs; additional joins may affect analytical convenience, but that does not invalidate the underlying integrity concern.
SELECT
A statement retrieving or computing a result from data. It is not operationally harmless simply because it does not normally change base rows. Large scans, expensive joins and inadequate filters can consume substantial resources or interact with locks. Production controls and measurement should include read workloads, especially where analytical requests share capacity with time-sensitive transactions.
Selective predicate
A condition matching a relatively small fraction of its input, commonly described as highly selective. Suitable indexes may then avoid unnecessary reads. When many rows qualify, a scan can be more efficient. Actual selectivity, lookup costs and coverage influence the decision. Terminology should distinguish the qualifying fraction from the informal phrase “high selectivity”, which is used inconsistently.
Self-join
Joining a table to itself through separate aliases to represent relationships such as a parent and child or a pair of related events. Clear aliases and matching conditions are essential. Incorrect conditions can multiply rows rapidly or confuse which version of a record is used. The fact that both sides share a schema does not establish that every same-named value should match.
Serializable
An isolation guarantee under which committed transactions behave equivalently to some serial execution order. Implementations may use blocking, validation, retries or combinations, so serializable does not require literally running one transaction at a time. It can protect important invariants at additional coordination cost. Applications must handle permitted failures or retries and test the engine’s actual behaviour.
Service-level agreement (SLA)
An agreement defining expected service and, where applicable, consequences when commitments are not met. Database-related measures may concern availability, latency, recovery or freshness. Internal service-level objectives are related but not identical to contractual SLAs. Meaningful measures should reflect successful user operations, error rates and tail latency rather than uptime alone.
Session
The database interaction context associated with a client, including settings, transaction state and temporary objects. Sessions and network connections are closely related but can be managed differently by proxies or pools. Leaked or improperly reset state can consume resources or affect later requests. Pooling needs clear cleanup and lifecycle rules rather than simply retaining connections indefinitely.
Session variable
A setting or value scoped to a session, such as time zone, isolation or a search path, depending on the product. It can alter the meaning of otherwise identical SQL. Pooled connections may retain settings across requests unless reset. Applications should control required state explicitly so that query results do not depend on which earlier user happened to occupy the session.
Shard
A horizontal subset of data assigned to a storage or processing location, often by tenant or a hash-based rule. Shards can support scale, but cross-shard queries and transactions introduce coordination. A shard is not automatically an independent failure domain or a replica. Placement, size and routing need to be managed as the dataset and workload grow.
Sharding
Distributing horizontal data subsets across resources. The shard key is a central decision because it influences locality, balance and cross-shard work. A poor choice creates hot spots or expensive distributed operations. Rebalancing and global constraints add complexity. Design should reflect actual access relationships rather than assuming that distributing rows evenly by count also distributes load evenly.
Shared lock
A lock mode allowing compatible holders, commonly readers, while excluding specified conflicting operations. Exact compatibility and duration depend on the engine and isolation. Read-heavy workloads can still contend with writers when locks are held too long. MVCC may reduce some interactions, but does not make lock rules irrelevant. Understand the specific mode rather than assuming all shared locks behave identically.
Short transaction
The practice of keeping a transaction open only as long as needed for its atomic unit of work. This limits lock duration, old-version retention and opportunities for deadlock. Network calls or user interaction inside the boundary can create unnecessary delays. Some long operations are legitimate, but should be designed deliberately rather than leaving business workflows open in the database by accident.
Single point of failure (SPOF)
A component whose failure can interrupt the required service without an effective alternative. Examples may include an unprotected leader, proxy, storage dependency or control plane. High-availability design seeks to remove or mitigate such dependencies. Merely adding database replicas does not solve a shared failure in networking, credentials or the infrastructure needed to reach them.
Slow query log
A facility recording statements meeting configured duration or other criteria. It helps identify regressions and expensive patterns. Statement text alone may not explain an incident; parameters, plans, waits and accurate timestamps provide context. Logging also needs secure handling and retention. A threshold-based log can miss many individually fast statements whose combined frequency creates most of the load.
Slowly changing dimension (SCD)
Methods for representing changes to dimensional attributes over time, including overwriting values or retaining new historical rows. Type 1, Type 2 and Type 3 serve different reporting needs. An unsuitable choice can erase needed history or produce incorrect historical classifications. Type 2 designs require reliable keys, effective intervals and rules for identifying the current version.
Snapshot
A view of data at a defined logical point according to the system’s consistency model. It can permit readers to observe a coherent state without blocking all writes. Long-lived snapshots may prevent reclamation of older versions in MVCC systems. A snapshot is not automatically a separate physical copy, independent backup or guarantee of the latest state on a lagging replica.
Snapshot isolation
An approach in which a transaction reads from a stable snapshot and conflicting writes are handled according to the engine’s rules. It reduces many read–write conflicts but does not necessarily provide serializability. Write skew can occur when transactions modify different rows based on related observations. Applications requiring cross-row invariants may need stronger isolation, explicit coordination or suitable constraints.
Snowflake schema
A dimensional model in which dimensions are further normalised into related tables rather than retained as a single denormalised structure. It can reduce repeated attributes and clarify hierarchies. Additional joins may affect query complexity or performance. The choice relative to a star schema depends on governance, data characteristics and workload, not a universal rule that either form is always better.
Soft delete
Marking a record as deleted, often with a flag or timestamp, instead of removing it from the logical table. It supports recovery and some audit needs. Queries must consistently apply the intended visibility rule or deleted records can reappear in reports. Unique keys, retention and legal erasure need additional design; a flag is not equivalent to actual removal from all storage.
Sort
An execution operation ordering data for output or to support grouping and selected join strategies. Large sorts may require substantial memory and spill to temporary storage. An access path providing useful order can avoid some sorting, but is not free of other costs. Optimisation should establish whether the order is needed and which strategy minimises total work.
Spatial reference identifier (SRID)
An identifier associated with a spatial reference system. It helps determine how coordinates should be interpreted. Assigning a different SRID does not necessarily transform the coordinates. Incorrect labelling can yield wrong distances, areas or locations even when queries are fast. Spatial analysis must verify both the stored values and their reference system, units and transformation requirements.
Spill
Writing intermediate work to temporary storage when it cannot be retained within the available memory budget, commonly during sorting or hashing. It can substantially increase latency. Accurate estimates, smaller intermediates, suitable access paths and appropriate memory or concurrency settings may help. A spill is not identical to an out-of-memory failure; it may be the engine’s mechanism for completing the work safely.
SQL
Structured Query Language, used to define, query and manipulate data and control access in supporting systems. Much of its power comes from declaring the required result while the engine selects execution details. Performance depends on both query formulation and the plan chosen under actual conditions. Declarative syntax does not remove the need for good modelling, measurement and appropriate constraints.
SQL injection
An attack in which untrusted input changes the executable meaning of a constructed SQL statement. Correct parameter binding is a central defence for values, combined with controlled privileges and safe handling of dynamic identifiers. Input validation can support the design but should not replace parameterisation. Prepared statements do not protect code that still concatenates unsafe structural fragments.
SQL macro
A reusable parameterised SQL template or expansion mechanism in supporting systems. It can standardise repeated patterns while exposing expanded logic to the optimiser. Implementations differ, and a macro is not identical to a stored procedure or runtime function. Poorly structured templates can hide business rules and complicate debugging, so generated SQL should remain inspectable and its inputs safely handled.
SQL parser
The component analysing statement text according to the SQL grammar and producing a structured representation for later processing. Name resolution and optimisation may be separate stages. At high request volumes, repeated parsing and compilation can become significant. Statement reuse and appropriate parameterisation can reduce overhead, though the exact caching and planning lifecycle differs between engines and drivers.
SQL profiling tool
A facility collecting evidence about statements, timing, waits, locks or resource use. “SQL Server Profiler” is also a specific Microsoft tool; modern recommendations may favour other instrumentation for particular needs. Profiling can accelerate diagnosis but heavy tracing may add production overhead. Capture should be targeted, secure and interpreted alongside the workload rather than enabled indiscriminately.
SQL view
A named query exposing a virtual relation without ordinarily storing its result separately. Views can standardise calculations or restrict accessible columns and rows under appropriate security rules. Deep chains may complicate planning and investigation. A view is not automatically a security boundary against every privileged access path, nor a performance cache; both behaviours depend on definition and engine support.
Staging table
An intermediate destination for data during ingestion or transformation. It can provide a controlled place for validation, reconciliation and conversion before final loading. Ownership, access and retention are needed because raw records may contain sensitive information or accumulate indefinitely. A staging step improves reliability only when its checks and failure handling are defined.
Statement
An individual executable SQL command. A statement and a transaction are not necessarily the same unit: autocommit or an explicit transaction determines the relationship. Timeouts and resource budgets help control operations, but must align with business atomicity. Treating each statement independently can leave a multi-step workflow partially complete if later work fails.
Statistics
Data summaries used in planning, including distributions and distinct counts. Current, relevant statistics can improve estimates and make existing indexes useful. Updating them is often a relatively simple intervention, but is not a universal cure. Sampling, correlated attributes and skew may still lead to errors, so verify whether the changed estimates and runtime behaviour actually address the problem.
Storage area network (SAN)
Infrastructure providing networked block storage, commonly in enterprise environments. Latency, throughput, IOPS and shared contention influence database performance. Having sufficient nominal capacity does not establish adequate response times. Storage behaviour should be measured with the database’s access patterns and redundancy requirements, including what happens when other workloads use the same underlying resources.
Storage I/O
The reads and writes between processing and persistent storage. I/O can dominate large queries, although CPU or other resources may instead be limiting. Suitable indexes, partition pruning and reading only required columns can reduce unnecessary transfers. Effective diagnosis measures the workload rather than assuming that every slow query is disk-bound or that faster storage will correct inefficient access patterns.
Stored function
A database-resident function returning a value or result according to its supported form. It promotes reuse and consistent logic. Repeated row-level execution can be costly in some implementations; others inline or optimise suitable definitions. Prefer an appropriate set-oriented design where possible, but assess actual behaviour rather than assuming every stored function is inherently inefficient.
Stored procedure
A database-resident executable routine, often accepting parameters and containing procedural or SQL statements. It can centralise operations and provide controlled interfaces. Its security and performance benefits depend on implementation. Accumulating extensive, unversioned business logic can create an opaque monolith. Testing, deployment and permissions deserve the same discipline as application code outside the database.
Stored procedure (deployment and maintenance)
A database-resident routine invoked with parameters to perform defined work. It can provide a controlled interface and centralise operations, but requires testing, versioning and access review. Uncontrolled accumulation of business logic makes dependencies opaque and deployments difficult. The routine should be maintained as software, not treated as invisible database configuration outside normal development discipline.
Streaming
Continuous or near-continuous processing of incoming events or changes rather than waiting for a scheduled batch. It supports low-latency updates, but still requires ordering, late-event, watermark, replay and idempotency policies. A flowing pipeline is not proof of consistent results. Failures and retries need defined behaviour so that temporary disruption does not produce permanent duplicates or omissions.
String collation
The rules used for text ordering and comparison, including relevant linguistic, case and accent behaviour. They influence joins, uniqueness and reports. Different environments can return different answers to apparently identical SQL when collations differ. A shared policy and explicit conversions where necessary improve predictability; binary equality and linguistic equality should not be assumed interchangeable.
Subquery
A query expression nested within another statement. It can express relationships clearly and may be transformed efficiently by the optimiser. Correlated or poorly planned forms can also repeat expensive work. Joins or window-based rewrites sometimes help, but equivalence must be checked for duplicates and nulls. The existence of nesting alone is not a reliable performance diagnosis.
Surrogate key
An artificial identifier independent of an entity’s natural business attributes, commonly a generated integer or other unique value. It is useful for historical dimension versions and stable references. A separate rule must still map business identity correctly. Different surrogate values do not prove different real-world entities, and uniqueness of the surrogate does not prevent duplicate business facts.
System catalogue
Database-maintained metadata describing objects such as tables, columns, indexes, permissions and statistics. It is an authoritative starting point for operational questions about what exists or which privileges have been granted. The catalogue does not necessarily capture the full business meaning of a field. Product-specific catalogue structures should be distinguished from portable information-schema views.
T
Table
A SQL structure organising rows through named columns and associated definitions. Its intended grain, keys, types and constraints form part of a semantic contract. It is more than a container of values: weak rules allow plausible queries to produce misleading relationships or totals. Physical storage order does not establish a guaranteed query result order.
Table scan
Reading all or a substantial part of a table through its storage structure rather than narrowly locating qualifying rows through an index. It can be appropriate for analytical or low-selectivity work. In selective operational queries, it may reveal an unsuitable access path. Diagnose the expected fraction and resource cost rather than treating every scan as automatically wrong.
Table-level lock
A lock applying to a table as a broad resource, with access compatibility determined by mode and engine. Some schema changes or operations can restrict substantial concurrent work. Broad locking can preserve correctness while severely limiting responsiveness. Production planning should understand actual lock scope and duration rather than assume a statement affecting few logical rows cannot interfere with the table.
Tablespace
A product-specific logical storage container or location associated with database objects. It may help organise allocation, capacity and maintenance. Physical I/O benefits depend on the devices and configuration beneath it. Tablespace management should include growth, permissions and recovery, not merely choosing a name for where a table is placed.
Tail latency
The slower end of a latency distribution, often examined through p95 or p99. It exposes user experiences hidden by an average and matters to service objectives. Lock contention, spills and network delays can contribute. A percentile is not a queue length, and its interpretation requires a clear measurement population and interval. Optimisation should consider these slow cases alongside throughput.
Temporal table
A design or feature retaining versions with defined periods, potentially representing business-valid time, system-recorded time or both. It supports questions about prior states and audit history. It is related to, but not identical with, every SCD Type 2 implementation. Additional storage and query complexity require clear interval rules and a policy for corrections and overlapping validity.
Temporary space
Storage used for intermediate operations such as sorting, hashing or materialising results. Pressure can indicate large intermediates, insufficient effective memory or unsuitable plans, but also arises in legitimate large analytics. Valid early filtering and appropriate join strategies may reduce demand. Capacity and concurrency controls remain important; simply increasing space does not explain why it is being consumed.
Temporary table
A table with a lifecycle and visibility limited according to the engine’s session, transaction or explicit rules. It can simplify complex transformations and allow intermediate validation. Temporary storage can become a shared bottleneck or fill a disk. Naming, indexing and cleanup require attention, especially when connection pooling means sessions live longer than individual application requests.
Tenant
A customer, team or organisational unit sharing an application or data platform with others. The model must specify data and access boundaries as well as resource allocation. Weak isolation can leak information, while weak performance controls permit noisy-neighbour effects. Tenant identity needs consistent propagation through queries, jobs, backups and support tools rather than only the visible application interface.
Terabyte-scale data
A volume description indicating data measured in terabytes, not a specific database architecture. At this scale, access patterns, compression, lifecycle and cost become increasingly important. Partitioning or distributed execution may help where justified, but are not mandatory solely because the dataset crosses a size threshold. System-level design complements individual query tuning and should follow measured needs.
TEXT
A type or family of types for character data, often supporting long values, with limits and storage behaviour varying by engine. Large text can increase transfer and access costs. Ordinary or specialised indexing may help selected queries but adds maintenance. The right strategy follows whether the application needs exact matching, linguistic search, extraction or simply retrieval by another key.
Third normal form (3NF)
A normal form requiring, for every non-trivial functional dependency X → A, that X be a superkey or A be a prime attribute. It addresses problematic dependencies while allowing certain cases BCNF excludes. Appropriate decomposition reduces anomalies. Transactional and analytical designs may make different redundancy trade-offs, so comparison with a star schema must consider workload and integrity needs.
Throughput
The amount of work completed per unit time, expressed through transactions, queries, rows or another defined unit. It should be considered with latency and errors. High throughput can coexist with long queues or slow tail responses. Workload composition matters, so rates from different systems or periods are comparable only when their measured work and conditions are sufficiently similar.
Time to live (TTL)
A configured lifetime after which data becomes eligible for automatic expiry or removal in supporting systems. Actual deletion may be asynchronous rather than immediate at the deadline. TTL can automate retention, but an incorrect rule can remove essential information early or leave it longer than expected. Policies must consider recovery, audit and consumer needs as well as storage cost.
Time travel
A facility querying retained historical versions at a specified time or version. It supports investigation, correction and historical analysis. Capabilities, retention limits and costs differ between engines. It is not automatically an independent backup or complete audit trail. Users need to know which changes remain accessible and whether schema evolution affects interpretation of earlier states.
Time window
A defined interval over which data is selected or summarised, such as an hour or the preceding seven days. Sliding and tumbling windows have different boundaries. Late arrivals, time zones and inclusion of endpoints must be specified. Otherwise, repeated calculations of the same labelled metric may change unexpectedly or double-count events at adjacent boundaries.
Time zone
Rules for interpreting local civil time relative to a reference such as UTC, including historical offset and daylight-saving changes. A fixed numeric offset is not always equivalent to a named zone. Clear storage and conversion policies are essential for event ordering and reporting boundaries. Repeated or skipped local times are important edge cases, not merely display issues.
TIMESTAMP
A product-specific type name commonly representing date and time, with differing time-zone semantics. It must not be assumed identical across databases. In SQL Server, `timestamp` is a deprecated synonym for `rowversion`, not a date-time value. Ambiguous temporal definitions can shift events between reporting days or misorder them, so choose types and conversion rules explicitly.
Timestamp (event data)
A date-time value associated with an event or observation. Its meaning must specify which point it represents: event time, receipt time or processing time, for example. Time-zone and clock assumptions also matter. Without that contract, reports can shift day boundaries, misorder events or compare durations incorrectly even when every field has a valid timestamp syntax.
TLS / SSL
Protocols associated with protecting network communication; modern deployments use supported TLS versions rather than obsolete SSL. Database connections need correct certificate validation and compatible secure settings. Handshake costs and reuse can affect performance, but encryption is only one part of the trust model. Encrypting traffic without verifying the intended peer can leave interception risks.
TOAST / large-value storage
PostgreSQL’s TOAST mechanism compresses or stores oversized field values outside the main row as needed. Other engines have different large-value mechanisms. It makes wide attributes manageable but changes the I/O profile. A query becoming slower when one large column is included may be fetching additional external data rather than merely processing another ordinary in-row field.
Transaction
A unit grouping operations under defined commitment and isolation guarantees. ACID describes important transactional properties, while actual settings determine behaviour. Incorrect boundaries can leave a business operation partially applied or hold resources too long. The unit should include changes requiring atomicity and exclude unnecessary waits. Cross-service effects do not automatically join a database transaction simply because application code performs them nearby.
Transaction identifier (XID)
An identifier used to track a transaction within a system’s defined scope and lifecycle. It supports visibility, logging and recovery. Some implementations reuse finite-width identifiers, requiring age management and cleanup to avoid wraparound hazards. Long transactions can interfere with those processes. An internal transaction ID should not automatically be treated as a permanently unique application event identifier.
Transaction isolation
The rules governing how concurrent transactions interact and which effects they may observe. Insufficient guarantees can permit anomalies; stronger mechanisms may add coordination, waits or retries. Isolation should be chosen for required invariants and tested in the actual engine. The trade-off is not simply “fast but wrong” versus “slow but correct”: different operations can require different carefully designed approaches.
Transaction log
Recovery-oriented records of database changes, often called WAL, redo or related names depending on the product. Logging supports durability and restoration but is not necessarily a human-readable audit history. Write volume and flush latency can become bottlenecks. Retention, backup and recovery procedures must preserve the records required for the intended recovery objectives.
Transaction manager
A component coordinating transaction lifecycle, including beginning, committing, rolling back and managing relevant resources. Distributed coordination adds protocols such as two-phase commit and additional failure states. Poor recovery handling can leave operations in doubt and retain locks. Reliable management must address interrupted communication and uncertain outcomes, not only the normal successful sequence.
Transparent data encryption (TDE)
An engine feature encrypting stored data transparently to ordinary application queries. It helps protect storage media, but does not replace access control or prevent authorised queries from obtaining plaintext. Key protection, recovery and backup coverage must be verified. A database encrypted at rest can still expose information through compromised accounts, unencrypted exports or poorly protected keys.
Trigger
Database code automatically invoked for specified events, commonly inserts, updates or deletions, with row-level or statement-level forms depending on the engine. It can enforce rules or maintain related information. Hidden side effects, recursion and per-row work can complicate diagnosis and performance. Triggers should be documented and tested as executable logic, not treated as invisible schema decoration.
TRIM
A function removing specified leading or trailing characters, often spaces, according to dialect rules. It supports standardisation, but does not replace fixing recurring upstream formatting problems. Over-aggressive trimming can remove meaningful information. Data contracts and ingestion validation offer a more durable solution when cleanup is repeatedly needed, while legitimate presentation formatting remains a separate concern.
TRUNCATE
An operation removing a table’s contents, often with less per-row work than a conventional delete. Logging, rollback, identity handling and foreign-key restrictions vary by engine. It may require substantial locks and can cause major loss if applied to the wrong object. Confirm transaction and recovery behaviour rather than assuming that either fast execution or DDL classification determines reversibility.
Tuple
A record in relational theory, consisting of attribute values. In practical MVCC terminology, a tuple version is one stored version of a logical row. Several versions may coexist for readers using different snapshots. Cleanup mechanisms reclaim versions only when they are no longer needed, so current logical row count and physical storage can differ substantially.
U
Unary operator
An operator acting on one operand, such as numeric negation. It is rarely the sole cause of a major database bottleneck. However, wrapping values in complex chains of expressions, conversions or null substitutions can affect optimisation and semantics. Evaluate the complete expression rather than assuming that each individually simple operator has no combined effect.
Unicode
A standard for representing text characters across writing systems, together with associated properties and algorithms. Encoding, normalisation and collation are distinct concerns. Incorrect handling can damage matching, sorting and length calculations, particularly when bytes, code points and displayed characters are confused. Multilingual systems need consistent rules across drivers, storage and exports rather than merely displaying a sample correctly.
Unified Modeling Language (UML)
A standard family of modelling notations for system structure and behaviour. Although entity–relationship diagrams are more directly associated with database design, UML can explain interactions between application components and the data layer. Diagrams should clarify the relevant relationships and responsibilities rather than add decorative complexity or substitute for enforceable database constraints.
Uniform Resource Identifier (URI)
A standardised identifier for a resource. URIs appear in external-table definitions, object references and metadata. They are not all necessarily network locations in the same sense as ordinary web URLs. Applications must agree on permitted schemes, encoding and interpretation. Inconsistent formatting or unsafe parsing can break integrations even when the underlying object exists.
UNION
A set operation combining compatible query results and removing duplicate rows, unless `ALL` is specified. Deduplication can require sorting or hashing. Use it when that semantic is intended, not merely as a default concatenation method. Replacing it with `UNION ALL` can save work but changes multiplicity, so equivalence must be established before calling the change an optimisation.
UNION ALL
An operation concatenating compatible results while retaining duplicates. It usually avoids the duplicate-elimination work required by `UNION`. That is useful when multiplicity is intended or inputs are demonstrably disjoint. Overlapping sources can otherwise silently repeat facts and inflate aggregates. Performance should not override the requirement to define whether repeated rows represent separate events or duplicate observations.
Unique constraint
A rule requiring specified column combinations to be unique under the engine’s comparison and null rules. It helps prevent duplicate entities or relationships, especially in junction tables. Null treatment differs between systems and options. A uniqueness requirement must therefore specify both its scope and missing-value policy rather than assume every database interprets `UNIQUE` identically.
Unique index
An index enforcing uniqueness for its supported keys or expressions, according to product rules. It can protect integrity and improve lookups. Its relationship to a declared unique constraint varies by engine. Writes still incur maintenance and concurrency costs. Select key columns and predicates carefully so that the enforced rule matches the business requirement rather than only a convenient technical representation.
Upgrade
Moving a database engine or infrastructure component to a newer version. Changes can affect optimiser behaviour, defaults, indexes, statistics or compatibility. Representative testing, performance comparison and a feasible recovery plan are therefore important. A version increase is an operational change even when the application’s SQL text remains unchanged, and should not be judged safe solely from a successful installation.
Upsert
An operation updating an existing matching record or inserting one when no conflict or match exists. Syntax includes product-specific conflict clauses and selected `MERGE` patterns. Correct conflict targets and constraints are essential. Concurrency guarantees differ, so an upsert is not automatically immune to every race or unintended overwrite. Idempotency and business identity still require explicit design.
User session
The operational context in which an identity interacts with a database, including settings and transaction state. Time zone, isolation and name-resolution configuration can alter query behaviour. Consistent session initialisation and cleanup are important, particularly with pools. A request should not inherit unexpected state simply because it reused a connection previously configured for a different task.
User-defined function (UDF)
A function supplied by a developer rather than only the database’s built-in library. It supports reuse and domain-specific calculations. Row-by-row invocation can be expensive in some engines, while others optimise suitable forms. Set-oriented or vectorised alternatives may help. Validate the actual plan and execution model rather than assuming every UDF has the same performance characteristics.
User-defined type (UDT)
A type created through an engine’s extension or definition facilities, including domains or structured values where supported. It can express semantics more clearly than generic fields. Portability, driver support and evolution can become more complex. Deployment and migration plans must account for dependent objects and representations rather than treating the new type as only a convenient label.
UTC
Coordinated Universal Time, a reference time standard commonly used for recording instants across systems. It avoids many ambiguities of local clock readings, but does not replace the named zone needed for local schedules or reporting dates. Agree where conversions occur and what each timestamp represents. Mixing unlabelled local times from services can corrupt ordering and daily totals.
V
VACUUM
PostgreSQL maintenance that reclaims space from obsolete tuple versions for reuse and performs related visibility and transaction-age work. It does not ordinarily shrink the table file like `VACUUM FULL`, and statistics collection is handled through `ANALYZE`, which may be requested alongside it. Falling behind can cause bloat or safety problems; excessive intensity can also compete with workload resources.
Validation
Checking data against structural, type, integrity and business requirements. Missing validation allows errors to spread, while indiscriminate rejection can interrupt useful flows. A deliberate design distinguishes essential invariants from conditions requiring quarantine, warning or later review. Database constraints and pipeline checks complement one another; the appropriate boundary depends on the rule and the consequences of accepting or rejecting a record.
VARBINARY
A type for variable-length binary values in supporting engines. It can hold files, keys or encoded cryptographic outputs, although a password hash also requires a suitable secure password-hashing scheme. Large values can increase backup and I/O costs. Storage placement should follow access, security and transactional requirements rather than treating every binary item as equivalent.
VARCHAR
A variable-length character type, with encoding and length semantics depending on the engine. It can avoid some fixed-length padding, but collation, maximum size and indexing rules still matter. Incorrect limits can reject or truncate values under applicable settings. A robust definition considers the actual multilingual content and interface requirements rather than selecting an arbitrary familiar length.
Variable
A named holder for a value within a procedural routine, session or statement context, depending on the dialect. Variables simplify some logic but can encourage procedural iteration where set-based operations would be clearer or faster. Their types and lifetimes affect planning and correctness. Use them deliberately without assuming that a sequence of small assignments is equivalent to an efficient relational operation.
Vectorised execution
Processing batches or vectors of values rather than invoking the execution path separately for every row. It can improve CPU efficiency in analytical scans and aggregation. Certain functions or row-oriented transitions may reduce those gains. It is an execution technique, not a guarantee that every columnar query is fast or that an unsuitable algorithm becomes efficient merely through batching.
Versioning
Controlled identification and management of changes to schemas, datasets or contracts over time. It supports compatibility and reproducibility. Without clear versions, consumers may unknowingly combine different definitions or break after an upstream change. Useful versioning includes migration and interpretation rules, not merely adding a number while leaving dependent applications unaware of its meaning.
Vertical partitioning
Separating columns of a logical record into different structures, potentially keeping frequently accessed attributes apart from large or rarely used fields. It can reduce unnecessary reads in selected workloads. Recombining attributes adds joins or coordination, and integrity must be preserved. Benefits depend on access patterns and storage behaviour rather than the act of splitting a wide table itself.
View
A named query presented as a virtual relation. It can standardise access and support controlled interfaces. Complex nested definitions may make planning or debugging harder. Ordinary views do not necessarily retain computed results, so query cost still depends on the underlying operations. Security behaviour and updateability also vary with the definition and engine.
View (logical view)
A named query presenting data without ordinarily storing a separate copy of its result. Views can standardise access and encapsulate selected semantics. Deeply nested or complex view chains may make planning and debugging harder. A view does not automatically improve performance or materialise results; underlying work and security behaviour depend on the engine and definition.
View materialisation
Producing and retaining a query or view’s intermediate result during execution, distinct from a persistently managed materialised view. It may avoid repeated work or create an optimisation boundary. It can also consume temporary space and I/O unnecessarily. The plan and reuse pattern determine whether it helps; materialisation is neither universally beneficial nor inherently a planning failure.
Virtual column
A derived column whose value is ordinarily computed rather than stored as part of the base row. It can reduce redundant storage, but repeated calculations may consume CPU. Indexing or engine rules can introduce stored structures, so “virtual” does not always mean zero associated space. Frequently used expressions may justify a stored generated form after evaluating update and maintenance costs.
Virtualisation
Abstracting computing resources through technologies such as virtual machines; containers provide a related form of operating-system-level isolation. Shared infrastructure can introduce noisy-neighbour effects and variable I/O latency. Suitable resource guarantees and storage choices matter to database performance. The deployment boundary alone does not establish isolation or predictability, so measurements should include contention and failure behaviour.
Visibility map
A PostgreSQL structure tracking page-level visibility and freezing information. It helps operations such as vacuum and index-only scans avoid unnecessary checks. If a page is not marked all-visible, an index-only scan may need heap access. Maintenance and write activity affect the map, so index coverage alone does not guarantee that every query avoids reading table pages.
Volatile function
A product-specific classification for a function whose result or side effects may vary across calls. In PostgreSQL, volatile is distinct from stable and immutable; `random()` is volatile, while `now()` is transaction-stable. The classification affects valid optimisations, indexing and evaluation. Incorrect declarations can lead to wrong answers, so rules should follow the actual function’s behaviour rather than a desired performance outcome.
VPC / private network
A network arrangement restricting direct public exposure of a database and controlling routes and access boundaries. It can reduce the attack surface, but does not replace identity, permissions or encryption. DNS, endpoints, routing and security rules must agree. Misconfiguration can prevent legitimate access or send traffic through unintended paths, affecting both reliability and latency.
W
Wait event
A categorisation of what a database task is waiting for, such as I/O, a lock, a network operation or internal synchronisation. Names and instrumentation differ by engine; CPU execution is not universally reported as a wait. Wait evidence helps locate lost time, but must be interpreted with activity, duration and workload rather than assuming every recorded wait is a problem.
Wait time
Time during which work is delayed for a resource or condition rather than actively executing. Distinguishing it from CPU time helps explain elapsed latency, although parallel-worker accounting may not add up simply. Production slowdowns often involve waiting, but measurement is necessary. The appropriate remedy depends on whether the cause is blocking, storage, scheduling, networking or another constraint.
Warm cache
A cache containing much of the data needed by a workload because it has already been accessed. Benchmarks under these conditions can look better than initial runs after restart or eviction. Tests should identify whether they measure warm, cold or realistic mixed states. A warm cache still does not remove CPU costs, lock waits or inefficient logical processing.
Warm standby
A recovery arrangement with some components already running or prepared, reducing activation effort compared with a cold environment. Exact meaning varies between platforms; it does not necessarily guarantee a populated cache. Lag, promotion, routing and post-failover capacity still require testing. Recovery plans should describe actual readiness rather than rely only on the labels warm or hot.
Watermark
A progress estimate used in event-time processing to indicate how far input is believed sufficiently complete. It helps govern windows and late-event handling. It is not proof that no earlier event can ever arrive unless the system provides that guarantee. An unsuitable policy may discard important late data or repeatedly revise results, so lateness and correction rules must be explicit.
Weak consistency
A broad label for models not guaranteeing the strongest immediate visibility or ordering, including some eventual-consistency approaches. Weaker coordination can support lower latency or continued operation under selected failures, but those benefits are not automatic for every design. Applications must tolerate the specific observations allowed, such as stale or divergent reads, and protect invariants requiring stronger guarantees.
Weak consistency (application implications)
A family of models allowing some observations that stronger immediate consistency would prohibit, such as stale replica values. Reduced coordination can benefit latency or availability under selected conditions. Business rules must tolerate the actual permitted behaviour. This additional entry emphasises that deciding from old information is an application risk to evaluate, not a defect automatically solved by adding replicas.
WHERE
A clause restricting input rows according to a predicate. The optimiser may evaluate it early when equivalent, reducing intermediate work. Incorrect expressions can change meaning or prevent efficient access. Conditions involving nulls, type conversions and outer joins need particular care. A syntactically present filter does not establish either useful selectivity or a safe scope for a data-changing statement.
Window
The logical specification used by a window function, including partitioning, ordering and, where relevant, a frame. Different functions use these components differently. An incorrect definition can produce plausible but wrong analytical results while preserving all rows. Specify which records belong together and what sequence or frame the calculation is intended to represent.
Window frame
The subset of an ordered partition considered by frame-sensitive window calculations, using forms such as `ROWS`, `RANGE` or supported `GROUPS`. Physical row offsets and value-based peer groups are different concepts. Tied ordering values can make default range behaviour surprising. Explicit frames help ensure that running totals and moving calculations follow the intended boundaries.
Window function
A calculation over related rows that retains row-level output, including window aggregates, ranking and offset functions such as `LAG` or `LEAD`. It is powerful for analytics without collapsing the result into groups. Large partitions and ordering requirements can create substantial sort or memory costs. Correct partition, order and frame choices are needed for both meaning and performance.
Workload
The combination of requests and operational patterns a system must handle, including transactions, analytics and maintenance. Frequency, concurrency, data distribution and service objectives all matter. Indexes, partitions and resources should follow that profile. There is rarely one best configuration independent of use, so recommendations must be tested against representative behaviour rather than an isolated benchmark.
Workload management (WLM)
Policies controlling priorities, queues, concurrency and resource allocation between classes of work. It is particularly important in shared analytical platforms. Good management protects critical dashboards or transactions from disruptive demand. Poor classification or limits can leave all users waiting or waste capacity. Monitoring should verify actual service outcomes rather than only compliance with configured quotas.
Write amplification
The physical writing performed relative to logical application changes, caused by logs, indexes, compaction, replication or other mechanisms. High amplification can affect latency, bandwidth and storage-device endurance. The relevant boundary must be specified when measuring it. Reducing unnecessary writes helps, but durability and integrity mechanisms should not be discarded merely to improve a ratio.
Write conflict
Interference between operations attempting incompatible changes. Some engines resolve it through waiting; others detect conflicts during validation or commitment and abort work. Applications need correct cleanup and bounded retries where appropriate. The entire required transaction may need repeating, not merely its final statement. Safe behaviour also considers whether external side effects already occurred.
Write lock
A lock protecting a change against specified incompatible operations. It helps maintain transactional correctness but can limit concurrency, especially around heavily used keys. Duration, granularity and engine compatibility rules determine the impact. Adding workers does not necessarily improve throughput when they all compete for the same protected resource; reducing avoidable contention may be more effective.
Write skew
An anomaly in which transactions read a compatible snapshot and make separate changes that together violate an invariant. A classic example is two on-call doctors each seeing the other available and independently taking themselves off duty, leaving neither available. It can occur under snapshot isolation without a direct same-row write conflict. Suitable constraints, coordination or serializable execution are needed for the relevant rule.
Write throughput
The rate of writes a system can sustain under defined latency, durability and error conditions. Logs, indexes, constraints, storage and replication influence capacity. A short burst rate may differ from steady-state performance once compaction or checkpoints catch up. Measurements should state the workload and guarantees rather than compare raw write counts obtained under incompatible conditions.
Write-ahead buffer
Memory used to stage log records before durable writing, with implementation-specific names. Grouping work can reduce per-operation flush overhead. Acknowledgement must still follow the required persistence policy if durability is promised. Buffering alone does not imply acknowledged data loss; that depends on when success is returned and what survives the failure being considered.
Write-ahead log (WAL)
A recovery mechanism recording relevant changes in a log before affected data pages are allowed to reach persistent storage. It supports redo and other recovery tasks according to the engine. Correct persistence ordering is essential to recovering committed work after a crash. Under heavy writes, log bandwidth and flush latency can become important throughput limits.
Write-ahead logging
A durability and recovery protocol requiring relevant log records to reach the necessary persistence point before affected data pages are written. It is not simply “log first, then update memory”. Heavy write workloads can be limited by log bandwidth and durable-flush latency. Grouping flushes and careful storage design can improve performance without silently weakening acknowledged durability guarantees.
X
XA
A standard interface associated with coordinating transactions across resource managers, commonly using two-phase commit. Databases and message systems can participate in a distributed atomic outcome where supported. Coordination adds latency and failure states, including prepared participants retaining resources. Recovery requires reliable decisions from the transaction manager, so XA is not simply a switch that removes distributed-systems complexity.
XACT_ABORT
A SQL Server setting affecting transaction handling for many runtime errors. With it enabled, relevant errors can cause the transaction to be terminated and rolled back, but exceptions and interactions with error-handling constructs must be understood. Compile errors and every raised condition do not follow one identical rule. Incorrect assumptions can leave incomplete workflows, so test the intended failure paths.
XML
A markup-based format representing structured information through elements, attributes and text. Databases may store and query XML, but costs and validation facilities differ. Frequently queried content needs deliberate schema, indexing and transformation decisions. Merely retaining well-formed XML does not establish valid business structure, and a flexible document should not become an excuse to leave important fields undefined.
XML index
A product-specific indexing facility supporting access to data inside XML values. It can improve selected paths or predicates, but increases storage and write work. Appropriate design depends on the XML structure and query patterns. Creating a broad XML index without evidence can add maintenance cost while leaving the important expressions unsupported or poorly selective.
XOR
Exclusive OR: for two Boolean inputs, true when exactly one is true; bitwise XOR applies the corresponding rule to each bit. It can be useful with masks and flags in supporting SQL dialects. Syntax and null behaviour vary. Such representations should be documented because compact bit manipulations can otherwise obscure the meaning and make maintenance error-prone.
XPath
A language for selecting and evaluating nodes and values within XML documents. Database support and version capabilities vary. Expressions over large unindexed collections can be costly, and namespace handling affects correctness. Useful indexes or extraction strategies depend on the paths actually used. Flexible navigation does not remove the need to understand document structure and intended matching.
XQuery
A language for querying and transforming XML and, in later versions, additional data structures. It offers expressive operations that database products may support only in part. Complex expressions can consume substantial CPU or storage access. Validate semantics and inspect execution where possible rather than assume that compact query text implies inexpensive processing.
Y
YAML
YAML Ain’t Markup Language, a human-oriented data-serialisation format often used in configuration. It is not SQL, but appears in migrations, pipelines, connection settings and infrastructure definitions. Indentation and parser rules can make an apparently reasonable file express unintended settings. Validation and safe parsing are important, particularly where configuration controls production access or executable deployment actions.
Z
Z-ordering
A multidimensional data-layout technique bringing values from several columns into a locality-preserving ordering, often used in analytical or lakehouse systems. Suitable column choices can improve data skipping. Reorganisation consumes resources and may provide little benefit for unrelated filters. It is not a general SQL result-order guarantee or a replacement for every partitioning and indexing strategy.
Z-score
A value expressed as its distance from a mean in units of standard deviation. It supports selected quality and anomaly analyses. Calculating a z-score does not itself require a normal distribution, but interpreting fixed thresholds as particular tail probabilities commonly does. Skew, outliers and changing populations can make naive alarm rules misleading.
Zero-downtime migration
The objective of changing schema, data or infrastructure without interrupting the required service. Phased compatibility, controlled cutover and a recovery strategy are important. Dual writing is one possible technique, not a mandatory ingredient, and introduces its own consistency risks. Success depends on operational discipline and end-to-end testing rather than simply choosing an “online” command.
Zero-ETL
An industry term for integrations reducing or hiding separately managed extraction and transformation pipelines between source and analytical systems. Implementations vary. Data quality, semantic contracts, security and necessary transformations still exist, even when handled through managed features or another layer. Faster setup should not be interpreted as proof that the source is analytically correct without modelling or validation.
Zigzag join
A product-specific execution technique, notably used to coordinate multiple indexes for predicates on the same logical table. It should not be assumed to mean only a conventional join between two separate tables. It can be effective for suitable selective conditions and index layouts. Supported implementations and actual plans determine applicability; the name alone does not establish a universally available optimisation.
Zombie session
An informal description of a database session that remains after the application considers its work finished. Crashes, network interruptions or pool errors can contribute. Such sessions may consume connection capacity or, if transactions remain open, retain locks and versions. Detection should distinguish genuinely abandoned work from legitimate idle pooled connections before terminating sessions indiscriminately.
References
- Cockroach Labs (n.d.). Zigzag join implementation. CockroachDB source code. Publication record.
- Date, C. J. (2004). An introduction to database systems (8th ed.). Pearson/Addison-Wesley. Publication record.
- Elmasri, R., & Navathe, S. B. (2016). Fundamentals of database systems (7th ed.). Pearson. Publication record.
- Gray, J., & Reuter, A. (1993). Transaction processing: Concepts and techniques. Morgan Kaufmann. Publication record.
- Kleppmann, M. (2017). Designing data-intensive applications: The big ideas behind reliable, scalable, and maintainable systems. O’Reilly Media. Publication record.
- Microsoft (n.d.-a). DECLARE CURSOR (Transact-SQL). Publication record.
- Microsoft (n.d.-b). rowversion (Transact-SQL). Publication record.
- Mohan, C., Haderle, D., Lindsay, B., Pirahesh, H., & Schwarz, P. (1992). ARIES: A transaction recovery method supporting fine-granularity locking and partial rollbacks using write-ahead logging. ACM Transactions on Database Systems, 17(1), 94–162. Publication record.
- PostgreSQL Global Development Group (n.d.-a). Function volatility categories. Publication record.
- PostgreSQL Global Development Group (n.d.-b). PostgreSQL documentation: Glossary. Publication record.
- PostgreSQL Global Development Group (n.d.-c). Routine vacuuming. Publication record.
- PostgreSQL Global Development Group (n.d.-d). Transaction isolation. Publication record.
- Silberschatz, A., Korth, H. F., & Sudarshan, S. (2019). Database system concepts (7th ed.). McGraw-Hill Education. Publication record.
🗓️ Publication date: November 23, 2026
🔄 Last updated: November 23, 2026
🎯 Who this is for: Developers writing SQL, data analysts and engineers, BI specialists and database administrators; readers systematically investigating why a query is slow or returns incorrect results; people preparing for technical interviews; and technical leads building a shared vocabulary within their teams.

IW is a collective byline representing the Invictus Wiki editorial team. Articles published under the IW byline are prepared through research drawing on multiple sources and editorial review, guided by the principle of impartiality.
