Appendix D. System Tables
When you create a database, the Firebird engine creates a lot of system tables. Metadata — the descriptions and attributes of all database objects — are stored in these system tables.
System table identifiers all begin with the prefix RDB$.
RDB$BACKUP_HISTORYHistory of backups performed using nBackup
RDB$CHARACTER_SETSNames and describes the character sets available in the database
RDB$CHECK_CONSTRAINTSCross-references between the names of constraints (
NOT NULLconstraints,CHECKconstraints andON UPDATEandON DELETEclauses in foreign key constraints) and their associated system-generated triggersRDB$COLLATIONSCollation sequences for all character sets
RDB$DATABASEBasic information about the database
RDB$DEPENDENCIESInformation about dependencies between database objects
RDB$EXCEPTIONSCustom database exceptions
RDB$FIELDSColumn and domain definitions, both system and custom
RDB$FIELD_DIMENSIONSDimensions of array columns
RDB$FILESInformation about secondary files and shadow files
RDB$FILTERSInformation about BLOB filters
RDB$FORMATSInformation about changes in the formats of tables
RDB$FUNCTIONSInformation about external functions
RDB$FUNCTION_ARGUMENTSAttributes of the parameters of external functions
RDB$GENERATORSInformation about generators (sequences)
RDB$INDEX_SEGMENTSSegments and index positions
RDB$INDICESDefinitions of all indexes in the database (system- or user-defined)
RDB$LOG_FILESNot used in the current version
RDB$PAGESInformation about database pages
RDB$PROCEDURE_PARAMETERSParameters of stored procedures
RDB$PROCEDURESDefinitions of stored procedures
RDB$REF_CONSTRAINTSDefinitions of referential constraints (foreign keys)
RDB$RELATION_CONSTRAINTSDefinitions of all table-level constraints
RDB$RELATION_FIELDSTop-level definitions of table columns
RDB$RELATIONSHeaders of tables and views
RDB$ROLESRole definitions
RDB$SECURITY_CLASSESAccess control lists
RDB$TRANSACTIONSState of multi-database transactions
RDB$TRIGGER_MESSAGESTrigger messages
RDB$TRIGGERSTrigger definitions
RDB$TYPESDefinitions of enumerated data types
RDB$USER_PRIVILEGESSQL privileges granted to system users
RDB$VIEW_RELATIONSTables that are referred to in view definitions: one record for each table in a view
D.1. RDB$BACKUP_HISTORY
RDB$BACKUP_HISTORY stores the history of backups performed using the nBackup utility.
| Column Name | Data Type | Description |
|---|---|---|
|
| The identifier assigned by the engine |
|
| Backup date and time |
|
| Backup level |
|
| Unique identifier |
|
| System (scan) number |
|
| Full path and file name of backup file |