You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/database-administration/standard-databases/listing-databases.adoc
+19-5Lines changed: 19 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,13 +35,13 @@ Depending on what you want to see, you can list:
35
35
36
36
* All databases.
37
37
* A particular database.
38
-
* The default database.
38
+
* The DBMS default database.
39
39
* The home database.
40
40
41
41
These commands return the following columns:
42
42
43
43
.Listing databases output
44
-
[options="header", width="100%", cols="4m,6a,2m"]
44
+
[options="header", width="100%", cols="4m,6,2m"]
45
45
|===
46
46
| Column | Description | Type
47
47
@@ -81,6 +81,8 @@ The default for a standalone database is `neo4j://localhost:7687`. label:default
81
81
82
82
| role
83
83
| The current role of the database (`primary`, `secondary`, `unknown`). label:default-output[]
84
+
85
+
The value for composite databases is `NULL` because it does not apply to them.
84
86
| STRING
85
87
86
88
| writer
@@ -117,34 +119,42 @@ See <<database-states>> for more information.
117
119
118
120
| default
119
121
|
120
-
Show if this is the default database for the DBMS. label:default-output[]
122
+
`true` if this is the default database for the DBMS. label:default-output[]
121
123
Not returned by `SHOW HOME DATABASE` or `SHOW DEFAULT DATABASE`.
122
124
| BOOLEAN
123
125
124
126
| home
125
127
|
126
-
Shown if this is the home database for the current user. label:default-output[]
128
+
`true` if this is the home database for the current user. label:default-output[]
127
129
Not returned by `SHOW HOME DATABASE` or `SHOW DEFAULT DATABASE`.
128
130
| BOOLEAN
129
131
130
132
| `currentPrimariesCount`
131
133
| Number of primaries for this database reported as running currently.
132
134
It is the same as the number of rows where `role=primary` and `name=this database`.
135
+
136
+
The value for composite databases is `NULL` because it does not apply to them.footnote:compositeDb[This change applies to versions 5.26.5 and later.]
133
137
| INTEGER
134
138
135
139
| `currentSecondariesCount`
136
140
| Number of secondaries for this database reported as running currently.
137
141
It is the same as the number of rows where `role=secondary` and `name=this database`.
142
+
143
+
The value for composite databases is `NULL` because it does not apply to them.footnote:compositeDb[]
138
144
| INTEGER
139
145
140
146
| `requestedPrimariesCount`
141
147
| The requested number of primaries for this database.
142
148
May be lower than current if the DBMS is currently reducing the number of copies of the database, or higher if it is currently increasing the number of copies.
149
+
150
+
The value for composite databases is `NULL` because it does not apply to them.
143
151
| INTEGER
144
152
145
153
| `requestedSecondariesCount`
146
154
| The requested number of secondaries for this database.
147
155
May be lower than current if the DBMS is currently reducing the number of copies of the database, or higher if it is currently increasing the number of copies.
156
+
157
+
The value for composite databases is `NULL` because it does not apply to them.
148
158
| INTEGER
149
159
150
160
| creationTime
@@ -160,7 +170,7 @@ May be lower than current if the DBMS is currently reducing the number of copies
160
170
| ZONED DATETIME
161
171
162
172
| store
163
-
a|
173
+
|
164
174
Information about the storage engine and the store format.
165
175
166
176
The value is a string formatted as:
@@ -171,6 +181,8 @@ The value is a string formatted as:
171
181
----
172
182
A database must be `online` or `deallocating` for this value to be available.
173
183
For other database states the value will be `NULL`.
184
+
185
+
The value for composite databases is `NULL` because it does not apply to them.footnote:compositeDb[]
174
186
| STRING
175
187
176
188
| lastCommittedTxn
@@ -195,6 +207,8 @@ For other database states the value will be `NULL`.
195
207
196
208
|options
197
209
|The map of options applied to the database.
210
+
211
+
The value for composite databases is `NULL` because it does not apply to them.
0 commit comments