MON$DATABASE
MON$DATABASE
displays the header information from the database the current user is connected to.
Column Name | Data Type | Description |
---|---|---|
|
|
The file name and full path of the primary database file, or the database alias |
|
|
Database page size in bytes |
|
|
Major ODS version, e.g., 11 |
|
|
Minor ODS version, e.g., 2 |
|
|
The number of the oldest [interesting] transaction (OIT) |
|
|
The number of the oldest active transaction (OAT) |
|
|
The number of the transaction that was active at the moment when the OAT was started — oldest snapshot transaction (OST) |
|
|
The number of the next transaction, as it stood when the monitoring snapshot was taken |
|
|
The number of pages allocated in RAM for the database page cache |
|
|
Database SQL Dialect: 1 or 3 |
|
|
The current shutdown state of the database:
|
|
|
Sweep interval |
|
|
Flag indicating whether the database is read-only (value 1) or read-write (value 0) |
|
|
Indicates whether the write mode of the database is set for synchronous write (forced writes ON, value is 1) or asynchronous write (forced writes OFF, value is 0) |
|
|
The flag indicating reserve_space (value 1) or use_all_space (value 0) for filling database pages |
|
|
The date and time when the database was created or was last restored |
|
|
The number of pages allocated for the database on an external device |
|
|
Statistics identifier |
|
|
Current physical backup (nBackup) state:
|
|
|
Number of encrypted pages |
|
|
Username of the database owner |
|
|
Displays what type of security database is used:
|
|
|
Current state of database encryption
|
|
|
Database GUID (persistent until restore/fixup) |
|
|
Unique ID of the database file at the filesystem level |
|
|
Current value of the next attachment ID counter |
|
|
Current value of the next statement ID counter |
|
|
Database replica mode
|