mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
update
This commit is contained in:
parent
924d85bbbf
commit
68f7531dbd
3
HISTORY
3
HISTORY
@ -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)
|
Add SJIS UDC (NEC selection IBM kanji) support (Eiji Tokuya)
|
||||||
Fix too long syslog message (Tatsuo)
|
Fix too long syslog message (Tatsuo)
|
||||||
Fix problem with quoted indexes that are too long (Tom)
|
Fix problem with quoted indexes that are too long (Tom)
|
||||||
|
JDBC ResultSet.getTimestamp() fix (Gregory Krasnow & Floyd Marinescu)
|
||||||
|
ecpg changes (Michael)
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
Release 7.0
|
Release 7.0
|
||||||
|
15
doc/FAQ_BSDI
15
doc/FAQ_BSDI
@ -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
|
supported by BSD/OS. By default, only 4MB of shared memory is supported
|
||||||
by BSDI.
|
by BSDI.
|
||||||
|
|
||||||
|
Keep in mind that shared memory is not pageable. It is locked in RAM.
|
||||||
|
|
||||||
Bruce Momjian (pgman@candle.pha.pa.us)
|
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:
|
memory:
|
||||||
|
|
||||||
/sys/sys/shm.h:69:#define SHMMAXPGS 1024 /* max hardware pages...
|
/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.
|
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.
|
This is computed dynamically at bootup.
|
||||||
|
|
||||||
$ bpatch -r sysptsize
|
$ 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...
|
/sys/i386/i386/i386_param.c:28:#define SYSPTSIZE 0 /* dynamically...
|
||||||
|
|
||||||
sysptsize can not be changed by sysctl on the fly.
|
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.
|
|
||||||
|
@ -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">
|
<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)
|
Add SJIS UDC (NEC selection IBM kanji) support (Eiji Tokuya)
|
||||||
Fix too long syslog message (Tatsuo)
|
Fix too long syslog message (Tatsuo)
|
||||||
Fix problem with quoted indexes that are too long (Tom)
|
Fix problem with quoted indexes that are too long (Tom)
|
||||||
|
JDBC ResultSet.getTimestamp() fix (Gregory Krasnow & Floyd Marinescu)
|
||||||
|
ecpg changes (Michael)
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user