Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions admin_manual/configuration_database/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ Database configuration
linux_database_configuration
mysql_4byte_support
bigint_identifiers
replication
splitting
14 changes: 14 additions & 0 deletions admin_manual/configuration_database/replication.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
===========
Replication
===========

.. versionadded:: 29

Nextcloud can natively split read and write operations on a database query level. Replicas are only used for reads. The default database connection will be used for writes and causal reads.

::

'dbreplica' => [
['user' => 'nextcloud', 'password' => 'password1', 'host' => '10.0.3.1', 'dbname' => 'nextcloud'],
['user' => 'nextcloud', 'password' => 'password2', 'host' => '10.0.3.2', 'dbname' => 'nextcloud'],
],