Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit68d1437

Browse files
committed
fix markdown formatting in gitlab
1 parentb7b12a1 commit68d1437

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

‎README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -80,30 +80,30 @@ After things go more stable we will release prebuilt packages for major platform
8080
##Configuration
8181

8282
1. Add these required options to the`postgresql.conf` of each instance in the cluster.
83-
```sh
84-
wal_level = logical# multimaster is build on top of
85-
# logical replication and will not work otherwise
86-
max_connections = 100
87-
max_prepared_transactions = 300# all transactions are implicitly two-phase, so that's
88-
# a good idea to set this equal to max_connections*N_nodes.
89-
max_wal_senders = 10# at least the number of nodes
90-
max_replication_slots = 10# at least the number of nodes
91-
max_worker_processes = 250# Each node has:
92-
# N_nodes-1 receiver
93-
# N_nodes-1 sender
94-
# 1 mtm-sender
95-
# 1 mtm-receiver
96-
# Also transactions executed at neighbour nodes can cause spawn of
97-
# background pool worker at our node. At max this will be equal to
98-
# sum of max_connections on neighbour nodes.
99-
100-
101-
102-
shared_preload_libraries ='multimaster'
103-
multimaster.max_nodes = 3# cluster size
104-
multimaster.node_id = 1# the 1-based index of the node in the cluster
105-
multimaster.conn_strings ='dbname=mydb host=node1.mycluster, ...'
106-
# comma-separated list of connection strings to neighbour nodes.
83+
```sh
84+
wal_level = logical# multimaster is build on top of
85+
# logical replication and will not work otherwise
86+
max_connections = 100
87+
max_prepared_transactions = 300# all transactions are implicitly two-phase, so that's
88+
# a good idea to set this equal to max_connections*N_nodes.
89+
max_wal_senders = 10# at least the number of nodes
90+
max_replication_slots = 10# at least the number of nodes
91+
max_worker_processes = 250# Each node has:
92+
# N_nodes-1 receiver
93+
# N_nodes-1 sender
94+
# 1 mtm-sender
95+
# 1 mtm-receiver
96+
# Also transactions executed at neighbour nodes can cause spawn of
97+
# background pool worker at our node. At max this will be equal to
98+
# sum of max_connections on neighbour nodes.
99+
100+
101+
102+
shared_preload_libraries ='multimaster'
103+
multimaster.max_nodes = 3# cluster size
104+
multimaster.node_id = 1# the 1-based index of the node in the cluster
105+
multimaster.conn_strings ='dbname=mydb host=node1.mycluster, ...'
106+
# comma-separated list of connection strings to neighbour nodes.
107107
```
108108
2. Allow replication in`pg_hba.conf`.
109109

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp