From 1f7aa643b6302fe090da828cf3ba17eed9f2f917 Mon Sep 17 00:00:00 2001
From: Bruce Momjian Last updated: Sun Jan 30 21:44:35 EST 2005 Last updated: Mon Jan 31 15:40:24 EST 2005 Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
@@ -428,8 +428,8 @@
RHDB Admin (http://sources.redhat.com/rhd
b/ ), TORA (http://www.globecom.net/tora/
- a>, partly commercial), and Rekall (http://www.globecom.net/tora/,
+ partly commercial), and Rekall (
http://www.rekallrevealed.org/). There is also PhpPgAdmin (
@@ -457,48 +457,64 @@
By default, PostgreSQL only allows connections from the local
machine using Unix domain sockets or TCP/IP connections. Other
machines will not be able to connect unless you modify
- listen_addresses in the postgresql.conf and enable
- host-based authentication by modifying the file
- $PGDATA/pg_hba.conf accordingly. Certainly, indexes can speed up queries. The
- EXPLAIN ANALYZE command allows you to see how
- PostgreSQL is interpreting your query, and which indexes are
- being used. If you are doing many INSERTs, consider doing
- them in a large batch using the COPY command. This
- is much faster than individual INSERTS. Second,
- statements not in a BEGIN WORK/COMMIT transaction
- block are considered to be in their own transaction. Consider
- performing several statements in a single transaction block. This
- reduces the transaction overhead. Also, consider dropping and
- recreating indexes when making large data changes. There are several tuning options in the There are three major areas for potential performance
+ improvement:Frequently Asked Questions (FAQ) for PostgreSQL
- 3.3) How do I tune the database engine for
better performance?
-
+
+
+
+
You can use the shared_buffers option to - increase the number of shared memory buffers used by the backend - processes. If you make this parameter too high, the - postmaster may not start because you have exceeded your - kernel's limit on shared memory space. Each buffer is 8K and the - default is 1000 buffers.
- -You can also use the sort_mem (from PostgreSQL 8.0: work_mem) - options to increase the maximum amount of memory used by the backend - processes for each temporary sort. The default is 1024 (i.e. 1MB).
- -You can also use the CLUSTER command to group - data in tables to match an index. See the CLUSTER - manual page for more details.
+ Administration Guide/Server Run-time Environment/Run-time + Configuration for a full listing, and for commentary see + http://www.varlena.com/varlena/GeneralBits/Tidbits/annotated_conf_e.html + and + http://www.varlena.com/varlena/GeneralBits/Tidbits/perf.html. +