Skip to content

Commit 338db0a

Browse files
committed
remove apendix and reorganize procedures
1 parent 5261367 commit 338db0a

File tree

14 files changed

+531
-476
lines changed

14 files changed

+531
-476
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
*** xref:database-administration/composite-databases/querying-composite-databases.adoc[]
126126
*** xref:database-administration/composite-databases/sharding-with-copy.adoc[]
127127
** xref:database-administration/syntax.adoc[]
128+
** xref:database-administration/routing-decisions.adoc[]
128129
129130
* xref:database-internals/index.adoc[]
130131
** xref:database-internals/transaction-management.adoc[]
@@ -236,6 +237,8 @@
236237
*** xref:tools/neo4j-admin/validate-config.adoc[]
237238
** xref:tools/cypher-shell.adoc[]
238239
240+
* xref:procedures.adoc[]
241+
239242
* xref:tutorial/index.adoc[]
240243
//** xref:tutorial/local-causal-cluster.adoc[]
241244
//** xref:tutorial/causal-backup-restore-db.adoc[]
@@ -246,10 +249,6 @@
246249
** xref:tutorial/tutorial-immutable-privileges.adoc[]
247250
** xref:tutorial/tutorial-clustering-docker.adoc[]
248251
249-
* Appendix
250-
** xref:reference/procedures.adoc[]
251-
** xref:routing-decisions.adoc[]
252-
253252
// ** xref:clustering-advanced/index.adoc[]
254253
// *** xref:clustering-advanced/lifecycle.adoc[]
255254
// *** xref:clustering-advanced/multi-data-center/index.adoc[]

modules/ROOT/pages/authentication-authorization/ldap-integration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ this LDAP group will fail authentication, even if their credentials are correct.
6565
|===
6666

6767
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()`].
6969

7070

7171
[[auth-ldap-configure-provider]]

modules/ROOT/pages/clustering/databases.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ By default, a newly created database has both read and write access.
111111

112112
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):
113113

114-
* xref:reference/procedures.adoc#procedure_dbms_cluster_deallocateDatabaseFromServer[`dbms.cluster.deallocateDatabaseFromServer("server-name", "database-name")`]
115-
* xref:reference/procedures.adoc#procedure_dbms_cluster_deallocateDatabaseFromServers[`dbms.cluster.deallocateDatabaseFromServers(["server-name1", "server-name2"\], "database-name")`]
116-
* xref:reference/procedures.adoc#procedure_dbms_cluster_deallocateNumberOfDatabases[`dbms.cluster.deallocateNumberOfDatabases("server-name", number)`]
114+
* xref:procedures.adoc#procedure_dbms_cluster_deallocateDatabaseFromServer[`dbms.cluster.deallocateDatabaseFromServer("server-name", "database-name")`]
115+
* xref:procedures.adoc#procedure_dbms_cluster_deallocateDatabaseFromServers[`dbms.cluster.deallocateDatabaseFromServers(["server-name1", "server-name2"\], "database-name")`]
116+
* xref:procedures.adoc#procedure_dbms_cluster_deallocateNumberOfDatabases[`dbms.cluster.deallocateNumberOfDatabases("server-name", number)`]
117117

118118
[NOTE]
119119
====
@@ -166,7 +166,7 @@ To rebalance all database allocations across the cluster, for example, because y
166166
[[reallocate-databases-procedure]]
167167
=== Reallocate databases using a procedure
168168

169-
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.
169+
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.
170170
Note that if the cluster is already balanced, no reallocations will happen when running these procedures.
171171
These procedures do not require a server name and can be executed with or without a dry run.
172172

@@ -206,7 +206,7 @@ This command can also be used with `DRYRUN` to preview the new allocation of dat
206206
[CAUTION]
207207
====
208208
`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.
209-
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.
209+
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.
210210
====
211211

212212
[NOTE]
@@ -557,7 +557,7 @@ If not set, there are no mode constraints on the server.
557557
[[cluster-default-database]]
558558
== Change the default database
559559

560-
You can use the procedure xref:reference/procedures.adoc#procedure_dbms_setDefaultDatabase[`dbms.setDefaultDatabase("newDefaultDatabaseName")`] to change the default database for a DBMS.
560+
You can use the procedure xref:procedures.adoc#procedure_dbms_setDefaultDatabase[`dbms.setDefaultDatabase("newDefaultDatabaseName")`] to change the default database for a DBMS.
561561

562562
. Ensure that the database to be set as default exists, otherwise create it using the command `CREATE DATABASE <database-name>`.
563563
. Show the name and status of the current default database by using the command `SHOW DEFAULT DATABASE`.

modules/ROOT/pages/clustering/servers.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Note that there is a known situation in which a previously deallocated offline s
9696

9797
The _Cordoned_ state is similar to _Deallocating_ in that servers in this state will not be allocated to host additional databases.
9898
Unlike _Deallocating_ however, cordoned servers do not lose the databases they already host.
99-
It is worth noting that when decreasing the number of allocations of a database, allocations on cordoned servers are removed first.
99+
It is worth noting that when decreasing the number of allocations of a database, allocations on cordoned servers are removed first.
100100

101101
A server is transitioned from the _Enabled_ state to the _Cordoned_ state by executing the procedure `dbms.cluster.cordonServer`.
102102
A server in the _Cordoned_ state may be transitioned to _Deallocating_, or back to _Enabled_.
@@ -276,7 +276,7 @@ neo4j@neo4j> ENABLE SERVER '25a7efc7-d063-44b8-bdee-f23357f89f01' OPTIONS
276276
The `allowedDatabases` and `deniedDatabases` are mutually exclusive and if both are specified, an error is returned.
277277

278278
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`.
279-
This can be changed after startup using the xref:reference/procedures.adoc#procedure_dbms_cluster_setAutomaticallyEnableFreeServers[`dbms.cluster.setAutomaticallyEnableFreeServers`] procedure.
279+
This can be changed after startup using the xref:procedures.adoc#procedure_dbms_cluster_setAutomaticallyEnableFreeServers[`dbms.cluster.setAutomaticallyEnableFreeServers`] procedure.
280280

281281
Server `tags` are used during database allocation and when configuring load balancing and replication policies.
282282
They cannot contain duplicates, so `tags:['eu', 'eu']` will return an error.

modules/ROOT/pages/clustering/settings.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This server always only hosts those databases in `SECONDARY` mode.
2020

2121
| xref:configuration/configuration-settings.adoc#config_initial.dbms.automatically_enable_free_servers[`initial.dbms.automatically_enable_free_servers`]
2222
| 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.
2424

2525
| xref:configuration/configuration-settings.adoc#config_server.cluster.system_database_mode[`server.cluster.system_database_mode`]
2626
| Every cluster member hosts the `system` database.

modules/ROOT/pages/clustering/setup/deploy.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ If not specified, it defaults to zero hostings in secondary mode.
4646
[NOTE]
4747
====
4848
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.
5050
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.
5252
====
5353

5454

modules/ROOT/pages/routing-decisions.adoc renamed to modules/ROOT/pages/database-administration/routing-decisions.adoc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
[appendix]
21
[role=enterprise-edition]
3-
[[appendix-routing-decisions]]
2+
[[routing-decisions]]
43
= Query routing decisions
54
:description: This page describes in detail how queries are routed to databases for execution.
65

76
Query routing is the process of deciding which Cypher executor (database) should be used and at which physical location the query should be executed.
87
Every query that arrives at a Neo4j server, over the bolt protocol from a driver, undergoes the process described here.
98

10-
[[appendix-routing-decisions-tree]]
119
== Routing decision tree
1210

1311
Before the query is executed, these are the decisions taken during query routing stage:
@@ -52,6 +50,5 @@ Step 5: Open a transaction::
5250
Step 6: Execute query::
5351
* Execute the query in the open transaction.
5452

55-
[[appendix-routing-decisions-tree-illustrated]]
5653
== Illustrated routing decision tree
5754
image::routing-decisions.svg[width=800, title="Illustrated routing decision tree"]

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ It produces a database dump that can be further examined and potentially repaire
162162

163163
There are two ways to get a database into a `quarantined` state:
164164

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.
166166
The procedure must be executed on the instance whose copy of the database you want to quarantine.
167167
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.
168168
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.
210210

211211
[NOTE]
212212
====
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.
214214
====
215215

216216
.Quarantine a database
@@ -251,7 +251,7 @@ neo4j@system> SHOW DATABASE foo;
251251
====
252252
A `quarantined` state is persisted for user databases.
253253
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.
255255
256256
The one exception to this rule is for the built-in `system` database.
257257
Any quarantine for that database is removed automatically after instance restart.

modules/ROOT/pages/database-internals/transaction-logs.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Old transaction logs cannot be safely archived or removed by external jobs since
8585
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.
8686
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.
8787
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()`].
8989
+
9090
[NOTE]
9191
====

modules/ROOT/pages/monitoring/logging.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ The last two parenthesis `{}` `{}` are for the query parameters and `txMetaData`
10061006
[[attach-metadata-tx]]
10071007
=== Attach metadata to a transaction
10081008

1009-
You can attach metadata to a transaction and have it printed in the query log using the built-in procedure xref:reference/procedures.adoc#procedure_tx_setmetadata[`tx.setMetaData`].
1009+
You can attach metadata to a transaction and have it printed in the query log using the built-in procedure xref:procedures.adoc#procedure_tx_setmetadata[`tx.setMetaData`].
10101010

10111011
[NOTE]
10121012
====
@@ -1032,7 +1032,7 @@ Every graph app should follow a convention for passing metadata with the queries
10321032

10331033
This is typically done programmatically but can also be used with the Neo4j dev tools. +
10341034
In general, you start a transaction on a user database and attach a list of metadata to it by calling `tx.setMetaData`.
1035-
You can also use the procedure xref:reference/procedures.adoc#procedure_tx_getmetadata[`CALL tx.getMetaData()`] to show the metadata of the current transaction.
1035+
You can also use the procedure xref:procedures.adoc#procedure_tx_getmetadata[`CALL tx.getMetaData()`] to show the metadata of the current transaction.
10361036
These examples use the MovieGraph dataset from the link:https://neo4j.com/docs/browser-manual/current/visual-tour/#guides[Neo4j Browser guide].
10371037

10381038
.Using `cypher-shell`, attach metadata to a transaction

0 commit comments

Comments
 (0)