1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-25 21:42:33 +03:00
This commit is contained in:
Bruce Momjian 2000-06-02 16:34:42 +00:00
parent 924d85bbbf
commit 68f7531dbd
3 changed files with 14 additions and 8 deletions

View File

@ -34,7 +34,8 @@ Copy pg_ident.conf.sample into /lib directory in install (Bruce)
Add SJIS UDC (NEC selection IBM kanji) support (Eiji Tokuya)
Fix too long syslog message (Tatsuo)
Fix problem with quoted indexes that are too long (Tom)
JDBC ResultSet.getTimestamp() fix (Gregory Krasnow & Floyd Marinescu)
ecpg changes (Michael)
------------------------------------------------------------------------
Release 7.0

View File

@ -2,18 +2,25 @@ This outlines how to increase the number of shared memory buffers
supported by BSD/OS. By default, only 4MB of shared memory is supported
by BSDI.
Keep in mind that shared memory is not pageable. It is locked in RAM.
Bruce Momjian (pgman@candle.pha.pa.us)
---------------------------------------------------------------------------
First, increase SHMMAXPGS by 1024 for every additional 4MB of shared
Increase SHMMAXPGS by 1024 for every additional 4MB of shared
memory:
/sys/sys/shm.h:69:#define SHMMAXPGS 1024 /* max hardware pages...
The default setting of 1024 is for a maximum of 4MB of shared memory.
Second, use bpatch to find the sysptsize value for the current kernel.
For those running 4.1 or later, just recompile the kernel and reboot.
For those running earlier releases, there are more steps outlined below.
---------------------------------------------------------------------------
Use bpatch to find the sysptsize value for the current kernel.
This is computed dynamically at bootup.
$ bpatch -r sysptsize
@ -25,7 +32,3 @@ plus add 1 for every additional 4MB of shared memory you desire.
/sys/i386/i386/i386_param.c:28:#define SYSPTSIZE 0 /* dynamically...
sysptsize can not be changed by sysctl on the fly.
This should clearly be easier to do on BSDI. I will add a BSDI FAQ for
PostgreSQL to cover this. One downside is that shared memory is not
pageable. It is locked in RAM.

View File

@ -1,5 +1,5 @@
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.49.2.3 2000/06/02 01:26:29 momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.49.2.4 2000/06/02 16:34:42 momjian Exp $
-->
<chapter id="release">
@ -62,6 +62,8 @@ Copy pg_ident.conf.sample into /lib directory in install (Bruce)
Add SJIS UDC (NEC selection IBM kanji) support (Eiji Tokuya)
Fix too long syslog message (Tatsuo)
Fix problem with quoted indexes that are too long (Tom)
JDBC ResultSet.getTimestamp() fix (Gregory Krasnow & Floyd Marinescu)
ecpg changes (Michael)
</programlisting>
</para>
</sect2>