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/create-databases.adoc
+40-24Lines changed: 40 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,7 +127,7 @@ Currently, this is only supported with `existingDataSeedInstance`, `existingData
127
127
128
128
|`existingDataSeedServer`
129
129
130
-
`existingDataSeedInstance` label:deprecated[deprecated in 5.25]
130
+
`existingDataSeedInstance` label:deprecated[Deprecated in 5.25]
131
131
| ID of the cluster server
132
132
|
133
133
Defines which server is used for seeding the data of the created database.
@@ -144,7 +144,7 @@ For more information, see xref:database-administration/standard-databases/seed-f
144
144
| Comma-separated list of configuration values.
145
145
|
146
146
147
-
| `seedCredentials` label:deprecated[Deprecated in 5.26] label:removed[Removed in Cypher 25, Neo4j 2025.06]
147
+
| `seedCredentials` label:deprecated[Deprecated in 5.26]
148
148
| credentials
149
149
|
150
150
Defines credentials that need to be passed into certain seed providers.
@@ -156,7 +156,7 @@ For more information see xref::database-administration/standard-databases/seed-f
156
156
|
157
157
Defines the level of enrichment applied to transaction logs for Change Data Capture (CDC) purposes.
158
158
159
-
For details about enrichment mode, see link:https://neo4j.com/docs/cdc/current/get-started/self-managed/#_modify_a_databases_cdc_mode[Change Data Capture Manual -> Enable CDC on self-managed instances -> Modify a database’s CDC mode].
159
+
For details about enrichment mode, see link:{neo4j-docs-base-uri}/cdc/current/get-started/self-managed/#tweak-mode[Change Data Capture Manual -> Enable CDC on self-managed instances -> Toggle CDC mode].
@@ -165,43 +165,60 @@ Defines the store format if the database created is new.
165
165
`high_limit` and `standard` formats are deprecated from 5.23.
166
166
For more information on store formats, see xref::database-internals/store-formats.adoc[Store formats].
167
167
168
-
If the store is seeded with `seedURI`, `existingDataSeedInstance` (removed in Cypher 25), or `existingDataSeedServer`, or if the command is used to mount pre-existing store files already present on the disk, they will retain their current store format without any modifications.
169
-
|===
168
+
If the store is seeded with `seedURI`, `existingDataSeedInstance`, or `existingDataSeedServer`, or if the command is used to mount pre-existing store files already present on the disk, they will retain their current store format without any modifications.
170
169
171
-
[NOTE]
172
-
====
173
-
Starting from Neo4j 2025.01, you can use `existingData`, `seedURI`, `seedConfig`, and `seedCredentials` options together with the `CREATE OR REPLACE DATABASE` command.
170
+
| `seedRestoreUntil` label:new[Introduced in 2025.01]
171
+
| Datetime or transaction id. E.g. `datetime("2025-01-01T12:15:00.000+0100")` or `123456`
172
+
|
173
+
If you are passing a `seedURI` that leads to a backup chain, including differential backups, you can choose to not apply all the transactions in the differential backups.
174
+
To seed up to a specific date, specify a `datetime`.
175
+
This will seed the database with transactions committed before the provided timestamp.
176
+
To seed up to a specific transaction ID, specify a transaction ID.
177
+
This will seed the database with transactions up to, but not including the specified transaction.
178
+
|===
174
179
175
-
The `existingDataSeedInstance` (removed in Cypher 25) and `existingDataSeedServer` are not supported with the `CREATE OR REPLACE DATABASE` command.
176
-
More details about seeding options can be found in xref::clustering/databases.adoc#cluster-seed[Seed a cluster].
177
-
====
178
180
======
179
181
[role=include-with-cypher-25]
180
182
======
181
183
The `CREATE DATABASE [OR REPLACE]` command can have a map of options, e.g., `OPTIONS {key: 'value'}`.
182
184
183
-
[options="header"]
185
+
[options="header", width="100%", cols="2m,2a,3a"]
184
186
|===
185
187
186
188
| Key | Value | Description
187
189
190
+
| `existingData` label:deprecated[Deprecated in 2025.06]
191
+
| `use`
192
+
|
193
+
Included for backward compatibility only, has no effect and will be removed in a future version.
194
+
188
195
|`existingDataSeedServer`
196
+
197
+
`existingDataSeedInstance` label:removed[Removed in 2025.06]
189
198
| ID of the cluster server
190
199
|
191
200
Defines which server is used for seeding the data of the created database.
192
201
The server ID can be found in the `serverId` column after running `SHOW SERVERS`.
202
+
Replaced by `existingDataSeedServer`.
193
203
194
-
| `seedURI`
195
-
| URI to a backup, a folder that contains backup artifacts or a dump from an existing database.
204
+
| `seedURI` label:changed[Changed in 2025.06]
205
+
| URI to a backup, a folder that contains backup artifacts, or a dump from an existing database.
196
206
|
197
207
Defines a seed from an external source, which will be used to seed all servers.
208
+
For more information, see xref:database-administration/standard-databases/seed-from-uri.adoc[Create a database from a URI].
198
209
199
210
| `seedConfig`
200
211
| Comma-separated list of configuration values.
201
212
|
202
-
For more information see xref:database-administration/standard-databases/seed-from-uri.adoc[Create a database from a URI].
203
213
204
-
| `txLogEnrichment`§
214
+
| `seedCredentials` label:removed[Removed in 2025.06]
215
+
| credentials
216
+
|
217
+
Defines credentials that need to be passed into certain seed providers.
218
+
It is recommended to use the `CloudSeedProvider` seed provider, which does not require this configuration when seeding from cloud storage.
219
+
For more information see xref::database-administration/standard-databases/seed-from-uri.adoc#cloud-seed-provider[CloudSeedProvider].
220
+
221
+
| `txLogEnrichment`
205
222
| `FULL` \| `DIFF` \| `OFF`
206
223
|
207
224
Defines the level of enrichment applied to transaction logs for Change Data Capture (CDC) purposes.
@@ -231,21 +248,20 @@ This will seed the database with transactions up to, but not including the speci
231
248
|
232
249
If the `seedURI` points to a folder containing backups for multiple databases, you can specify the database name to filter the artifacts.
233
250
234
-
| `existingData` label:deprecated[Deprecated in 2025.06]
235
-
| `use`
236
-
|
237
-
Included for backward compatibility only, has no effect and will be removed in a future version.
238
-
239
251
|===
252
+
======
253
+
=====
240
254
241
255
[NOTE]
242
256
====
243
-
In Cypher 25, the options `seedCredentials` and `existingDataSeedInstance` have been removed, while the `existingData` option is deprecated and has no effect.
257
+
Starting with Neo4j 2025.01 for Cypher 5 and 2025.06 for Cypher 25, you can use `seedURI`, `seedConfig`, `existingData` (removed in Cypher 25), and `seedCredentials` (removed in Cypher 25) options together with the `CREATE OR REPLACE DATABASE` command.
258
+
259
+
The `existingDataSeedInstance` (removed in Cypher 25) and `existingDataSeedServer` are not supported with the `CREATE OR REPLACE DATABASE` command.
260
+
More details about seeding options can be found in xref::clustering/databases.adoc#cluster-seed[Seed a cluster].
244
261
====
245
-
======
246
-
=====
247
262
248
263
The following examples show how to create a database using the `CREATE DATABASE` command with various options.
264
+
For examples on seeding a database from a URI, see xref:database-administration/standard-databases/seed-from-uri.adoc[Create a database from a URI].
0 commit comments