Skip to content

Commit 7b4d5c0

Browse files
authored
Document SHOW DATABASES fields that can be NULL (#1562)
Some of the fields in SHOW DATABASES will always be null for databases that are not running. Update the documentation to reflect this.
1 parent e964b60 commit 7b4d5c0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

modules/ROOT/pages/database-administration/standard-databases/listing-databases.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ A database may be described as read-only when using `ALTER DATABASE ... SET ACCE
3535

3636
| databaseID
3737
| The database unique ID.
38+
39+
A database must be `online` or `deallocating` for this value to be available.
40+
For other database states the value will be `NULL`.
3841
| STRING
3942

4043
| serverID
@@ -137,16 +140,24 @@ The value is a string formatted as:
137140
----
138141
{storage engine}-{store format}-{major version}.{minor version}
139142
----
143+
A database must be `online` or `deallocating` for this value to be available.
144+
For other database states the value will be `NULL`.
140145
| STRING
141146

142147
| lastCommittedTxn
143148
| The ID of the last transaction received.
149+
150+
A database must be `online` or `deallocating` for this value to be available.
151+
For other database states the value will be `NULL`.
144152
| INTEGER
145153

146154
| replicationLag
147155
|
148156
Number of transactions the current database is behind compared to the database on the primary instance.
149157
The lag is expressed in negative integers. In standalone environments, the value is always `0`.
158+
159+
A database must be `online` or `deallocating` for this value to be available.
160+
For other database states the value will be `NULL`.
150161
| INTEGER
151162

152163
|constituents

0 commit comments

Comments
 (0)