Skip to content
9. LOOKUP Table Usage

9. LOOKUP Table Usage

LOOKUP tables load persistently stored reference and master data into memory at server startup, providing fast access by PRIMARY KEY. This chapter covers the memory-resident architecture, JSON and SEQUENCE, JOIN, and DML with general predicates.

Chapter Contents

SectionTopics
Overview and Use CriteriaPurpose and selection criteria
Table Structure and SchemaColumns, primary keys, and schema design
Create, Alter, and DropCREATE, ALTER, and DROP DDL
Data Ingestion and ModificationINSERT, Append, reload, and deletion
Queries and AnalysisSELECT, JOIN, and predicate queries
Indexes and PerformanceRed-black indexes, secondary indexes, and tuning
Operations and Data LifecycleBackup, recovery, and persistence
Constraints, Errors, and TroubleshootingLimitations, error causes, and remedies
Usage Patterns and ScenariosCode tables, reference data, and thresholds
PRIMARY KEY PolicyNatural versus surrogate keys and key immutability
SEQUENCE ColumnsAutomatic numbering and NEXTVAL
JSON Columns and QueriesSupported JSON features, path predicates, and primary key restrictions
UPDATE/DELETE with General PredicatesModifications using non-PK, range, string, date, and JSON path predicates
Last updated on