File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,6 +99,11 @@ metadata:
9999spec :
100100 instances : 3
101101
102+ postgresql :
103+ synchronous :
104+ method : any
105+ number : 1
106+
102107 storage :
103108 size : 1Gi
104109` ` `
Original file line number Diff line number Diff line change @@ -125,9 +125,12 @@ CloudNativePG supports both
125125 By default, synchronous replication pauses write operations if the required
126126 number of standby nodes for WAL replication during transaction commits is
127127 unavailable. This behavior prioritizes data durability and aligns with
128- PostgreSQL DBA best practices. However, if self-healing is a higher priority
128+ PostgreSQL DBA best practices. As a general rule, plan for synchronous
129+ replication in clusters with at least three instances, to tolerate the loss
130+ of one of them. However, if self-healing is a higher priority
129131 than strict data durability in your setup, this setting can be adjusted. For
130- details on managing this behavior, refer to the [Data Durability and Synchronous Replication](#data-durability-and-synchronous-replication)
132+ details on managing this behavior, refer to the
133+ [Data Durability and Synchronous Replication](#data-durability-and-synchronous-replication)
131134 section.
132135:::
133136
Original file line number Diff line number Diff line change @@ -4,7 +4,12 @@ metadata:
44 name : cluster-example
55spec :
66 instances : 3
7-
7+
8+ postgresql :
9+ synchronous :
10+ method : any
11+ number : 1
12+
813 storage :
914 size : 1Gi
1015
You can’t perform that action at this time.
0 commit comments