mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 10:20:02 +07:00
Merge pull request #11446 from nextcloud/feat/adminmanual/db-replica
feat(adminmanual): Add db replica docs
This commit is contained in:
@@ -9,4 +9,5 @@ Database configuration
|
||||
linux_database_configuration
|
||||
mysql_4byte_support
|
||||
bigint_identifiers
|
||||
replication
|
||||
splitting
|
||||
|
||||
14
admin_manual/configuration_database/replication.rst
Normal file
14
admin_manual/configuration_database/replication.rst
Normal file
@@ -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'],
|
||||
],
|
||||
Reference in New Issue
Block a user