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
Restructure Procedures page and add new Details tables (#1820)
Once merged, we need to create a redirect for
_reference/procedures.adoc_ and the _reference/index.adoc_.
---------
Co-authored-by: Reneta Popova <[email protected]>
Co-authored-by: NataliaIvakina <[email protected]>
Copy file name to clipboardExpand all lines: modules/ROOT/pages/authentication-authorization/ldap-integration.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ this LDAP group will fail authentication, even if their credentials are correct.
65
65
|===
66
66
67
67
All settings are defined at server startup time in the default configuration file _xref:configuration/neo4j-conf.adoc[neo4j.conf]_ or can be modified at
68
-
runtime using xref:reference/procedures.adoc#procedure_dbms_setconfigvalue[`dbms.setConfigValue()`].
68
+
runtime using xref:procedures.adoc#procedure_dbms_setconfigvalue[`dbms.setConfigValue()`].
Copy file name to clipboardExpand all lines: modules/ROOT/pages/clustering/databases.adoc
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,9 +145,9 @@ By default, a newly created database has both read and write access.
145
145
146
146
To relieve the load of a specific server(s), you can use one of the following procedures to deallocate databases causing the pressure from the server(s):
@@ -200,7 +200,7 @@ To rebalance all database allocations across the cluster, for example, because y
200
200
[[reallocate-databases-procedure]]
201
201
=== Reallocate databases using a procedure
202
202
203
-
You can use the procedure xref:reference/procedures.adoc#procedure_dbms_cluster_reallocateDatabase[`dbms.cluster.reallocateDatabase`] to rebalance a specific database across the cluster, or xref:reference/procedures.adoc#procedure_dbms_cluster_reallocateNumberOfDatabases[`dbms.cluster.reallocateNumberOfDatabases`] to rebalance a number of database allocations across the cluster and relieve overloaded servers.
203
+
You can use the procedure xref:procedures.adoc#procedure_dbms_cluster_reallocateDatabase[`dbms.cluster.reallocateDatabase`] to rebalance a specific database across the cluster, or xref:procedures.adoc#procedure_dbms_cluster_reallocateNumberOfDatabases[`dbms.cluster.reallocateNumberOfDatabases`] to rebalance a number of database allocations across the cluster and relieve overloaded servers.
204
204
Note that if the cluster is already balanced, no reallocations will happen when running these procedures.
205
205
These procedures do not require a server name and can be executed with or without a dry run.
206
206
@@ -240,7 +240,7 @@ This command can also be used with `DRYRUN` to preview the new allocation of dat
240
240
[CAUTION]
241
241
====
242
242
`REALLOCATE DATABASES` on a large cluster with many databases has the potential to move a lot of allocations at once, which might stress the cluster.
243
-
Consider starting with more limited reallocations, such as xref:reference/procedures.adoc#procedure_dbms_cluster_reallocateNumberOfDatabases[`dbms.cluster.reallocateNumberOfDatabases`] with a small number, and let the databases complete their reallocation before calling it again, until no more reallocations are necessary.
243
+
Consider starting with more limited reallocations, such as xref:procedures.adoc#procedure_dbms_cluster_reallocateNumberOfDatabases[`dbms.cluster.reallocateNumberOfDatabases`] with a small number, and let the databases complete their reallocation before calling it again, until no more reallocations are necessary.
Neo4j 5.24 introduces the xref:reference/procedures.adoc#procedure_dbms_cluster_recreateDatabase[`dbms.cluster.recreateDatabase()`] procedure, which allows you:
266
+
Neo4j 5.24 introduces the xref:procedures.adoc#procedure_dbms_cluster_recreateDatabase[`dbms.cluster.recreateDatabase()`] procedure, which allows you:
267
267
268
268
* To change the database store to a specified backup, while keeping all the associated privileges for the database.
269
269
270
270
* To make your database write-available again after it has been lost (for example, due to a disaster).
271
271
// See xref:clustering/disaster-recovery.adoc[] for more information.
272
-
272
+
273
273
[CAUTION]
274
274
====
275
275
The recreate procedure works only for real user databases and not for composite databases, or the `system` database.
@@ -338,7 +338,7 @@ If not used stores were more up to date than the used ones, this results in data
338
338
339
339
You can specify a set of available servers.
340
340
The stores on all allocations will be synchronized to the most up-to-date store from the defined servers.
341
-
The number of defined servers cannot exceed the number of total allocations in the desired topology.
341
+
The number of defined servers cannot exceed the number of total allocations in the desired topology.
342
342
343
343
[source, shell]
344
344
----
@@ -375,7 +375,7 @@ There is an option to define a new topology when recreating a database.
375
375
This can be beneficial during a disaster, if enough servers are not available to recreate the database with the original topology.
376
376
When altering the total number of allocations down during a recreation, it is important to remember that the number of seeding servers cannot exceed the number of total allocations of the database.
377
377
This also holds true when using recreate with an empty list of seeders.
378
-
If there are more available servers in the cluster hosting the database than the number of new allocations, the recreation will fail.
378
+
If there are more available servers in the cluster hosting the database than the number of new allocations, the recreation will fail.
379
379
380
380
[source, shell]
381
381
----
@@ -664,7 +664,7 @@ If not set, there are no mode constraints on the server.
664
664
[[cluster-default-database]]
665
665
== Change the default database
666
666
667
-
You can use the procedure xref:reference/procedures.adoc#procedure_dbms_setDefaultDatabase[`dbms.setDefaultDatabase("newDefaultDatabaseName")`] to change the default database for a DBMS.
667
+
You can use the procedure xref:procedures.adoc#procedure_dbms_setDefaultDatabase[`dbms.setDefaultDatabase("newDefaultDatabaseName")`] to change the default database for a DBMS.
668
668
669
669
. Ensure that the database to be set as default exists, otherwise create it using the command `CREATE DATABASE <database-name>`.
670
670
. Show the name and status of the current default database by using the command `SHOW DEFAULT DATABASE`.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/clustering/monitoring/status-check.adoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,8 @@
4
4
[[monitoring-replication]]
5
5
= Monitor replication status
6
6
7
-
Neo4j 5.24 introduces the xref:reference/procedures.adoc#procedure_dbms_cluster_statusCheck[`dbms.cluster.statusCheck()`] procedure to monitor the ability to replicate in clustered databases.
8
-
7
+
Neo4j 5.24 introduces the xref:procedures.adoc#procedure_dbms_cluster_statusCheck[`dbms.cluster.statusCheck()`] procedure, which can be used to monitor the ability to replicate in clustered databases.
8
+
In most cases this means a clustered database is write available.
9
9
The procedure identifies which members of a clustered database are up-to-date and can participate in successful replication.
10
10
Therefore, it is useful in determining the fault tolerance of a clustered database.
11
11
Additionally, you can use the procedure to identify the leader of a clustered database within the cluster.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/clustering/servers.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -277,7 +277,7 @@ neo4j@neo4j> ENABLE SERVER '25a7efc7-d063-44b8-bdee-f23357f89f01' OPTIONS
277
277
The `allowedDatabases` and `deniedDatabases` are mutually exclusive and if both are specified, an error is returned.
278
278
279
279
Optionally, it is possible to automatically enable free servers by setting the xref:configuration/configuration-settings.adoc#config_initial.dbms.automatically_enable_free_servers[`initial.dbms.automatically_enable_free_servers`] to `true`.
280
-
This can be changed after startup using the xref:reference/procedures.adoc#procedure_dbms_cluster_setAutomaticallyEnableFreeServers[`dbms.cluster.setAutomaticallyEnableFreeServers`] procedure.
280
+
This can be changed after startup using the xref:procedures.adoc#procedure_dbms_cluster_setAutomaticallyEnableFreeServers[`dbms.cluster.setAutomaticallyEnableFreeServers`] procedure.
281
281
282
282
Server `tags` are used during database allocation and when configuring load balancing and replication policies.
283
283
They cannot contain duplicates, so `tags:['eu', 'eu']` will return an error.
| This setting allows for auto-enable of servers in the `FREE` state.
23
-
After startup, it can be changed with the xref:reference/procedures.adoc#procedure_dbms_cluster_setAutomaticallyEnableFreeServers[`dbms.cluster.setAutomaticallyEnableFreeServers`] procedure.
23
+
After startup, it can be changed with the xref:procedures.adoc#procedure_dbms_cluster_setAutomaticallyEnableFreeServers[`dbms.cluster.setAutomaticallyEnableFreeServers`] procedure.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/clustering/setup/deploy.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,9 +46,9 @@ If not specified, it defaults to zero hostings in secondary mode.
46
46
[NOTE]
47
47
====
48
48
Any setting with the `initial` prefix is only effective on the first startup of the DBMS.
49
-
Changing the default number of primaries and secondaries dynamically can only be done with the xref:reference/procedures.adoc#procedure_dbms_setDefaultAllocationNumbers[`dbms.setDefaultAllocationNumbers`] procedure.
49
+
Changing the default number of primaries and secondaries dynamically can only be done with the xref:procedures.adoc#procedure_dbms_setDefaultAllocationNumbers[`dbms.setDefaultAllocationNumbers`] procedure.
50
50
See xref:clustering/databases.adoc#_create_database[`CREATE DATABASE`] for more information.
51
-
To view the current default settings, use the xref:reference/procedures.adoc#procedure_dbms_showTopologyGraphConfig[`dbms.showTopologyGraphConfig`] procedure.
51
+
To view the current default settings, use the xref:procedures.adoc#procedure_dbms_showTopologyGraphConfig[`dbms.showTopologyGraphConfig`] procedure.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/database-administration/standard-databases/errors.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,7 @@ It produces a database dump that can be further examined and potentially repaire
162
162
163
163
There are two ways to get a database into a `quarantined` state:
164
164
165
-
* By using the xref:reference/procedures.adoc#procedure_dbms_quarantineDatabase[`dbms.quarantineDatabase`] procedure locally to isolate a specific database.
165
+
* By using the xref:procedures.adoc#procedure_dbms_quarantineDatabase[`dbms.quarantineDatabase`] procedure locally to isolate a specific database.
166
166
The procedure must be executed on the instance whose copy of the database you want to quarantine.
167
167
A reason for that can be, for example, when a database is unable to start on a given instance due to a file system permissions issue with the volume where the database is located or when a recently started database begins to log errors.
168
168
The quarantine state renders the database inaccessible on that instance and prevents its state from being changed, for example, with the `START DATABASE` command.
@@ -210,7 +210,7 @@ The result contains the user, the time, and the reason for the quarantine.
210
210
211
211
[NOTE]
212
212
====
213
-
The `dbms.quarantineDatabase` procedure replaces xref:reference/procedures.adoc#procedure_dbms_cluster_quarantinedatabase[`dbms.cluster.quarantineDatabase`], which has been deprecated in Neo4j 4.3 and will be removed with the next major version.
213
+
The `dbms.quarantineDatabase` procedure replaces xref:procedures.adoc#procedure_dbms_cluster_quarantinedatabase[`dbms.cluster.quarantineDatabase`], which has been deprecated in Neo4j 4.3 and will be removed with the next major version.
214
214
====
215
215
216
216
.Quarantine a database
@@ -251,7 +251,7 @@ neo4j@system> SHOW DATABASE foo;
251
251
====
252
252
A `quarantined` state is persisted for user databases.
253
253
This means that if a database is quarantined, it will remain so even if that Neo4j instance is restarted.
254
-
You can remove it only by running the xref:reference/procedures.adoc#procedure_dbms_quarantineDatabase[`dbms.quarantineDatabase`] procedure on the instance where the quarantined database is located, passing `false` for the `setStatus` parameter.
254
+
You can remove it only by running the xref:procedures.adoc#procedure_dbms_quarantineDatabase[`dbms.quarantineDatabase`] procedure on the instance where the quarantined database is located, passing `false` for the `setStatus` parameter.
255
255
256
256
The one exception to this rule is for the built-in `system` database.
257
257
Any quarantine for that database is removed automatically after instance restart.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/database-internals/transaction-logs.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ Old transaction logs cannot be safely archived or removed by external jobs since
85
85
Log pruning is called only after checkpoint completion to ensure at least one checkpoint and points to a valid place in the transaction log data.
86
86
In reality, this means that all transaction logs created between checkpoints are kept for some time, and only after a checkpoint, the pruning strategy removes them.
87
87
For more details on how to speed up checkpointing, see xref:database-internals/checkpointing.adoc#transaction-logging-log-pruning[Configure log pruning].
88
-
To force a checkpoint, run the procedure xref:reference/procedures.adoc#procedure_db_checkpoint[`CALL db.checkpoint()`].
88
+
To force a checkpoint, run the procedure xref:procedures.adoc#procedure_db_checkpoint[`CALL db.checkpoint()`].
0 commit comments