mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Revert "Correct WAL space calculation formula in docs."
This reverts commit 915116bc62.
Per discussion, the previous formula was in fact correct.
http://archives.postgresql.org/pgsql-docs/2010-10/msg00038.php
			
			
This commit is contained in:
		@@ -481,9 +481,9 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  <para>
 | 
					  <para>
 | 
				
			||||||
   There will always be at least one WAL segment file, and will normally
 | 
					   There will always be at least one WAL segment file, and will normally
 | 
				
			||||||
   not be more files than the higher of <xref linkend="guc-wal-keep-segments"> or
 | 
					   not be more than (2 + <varname>checkpoint_completion_target</varname>) * <varname>checkpoint_segments</varname> + 1
 | 
				
			||||||
   (2 + <varname>checkpoint_completion_target</varname>) * <varname>checkpoint_segments</varname> + 1.
 | 
					   or <varname>checkpoint_segments</> + <xref linkend="guc-wal-keep-segments"> + 1
 | 
				
			||||||
   Each segment file is normally 16 MB (though this size can be
 | 
					   files.  Each segment file is normally 16 MB (though this size can be
 | 
				
			||||||
   altered when building the server).  You can use this to estimate space
 | 
					   altered when building the server).  You can use this to estimate space
 | 
				
			||||||
   requirements for <acronym>WAL</acronym>.
 | 
					   requirements for <acronym>WAL</acronym>.
 | 
				
			||||||
   Ordinarily, when old log segment files are no longer needed, they
 | 
					   Ordinarily, when old log segment files are no longer needed, they
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user