Received: from ponzi.oit.umass.edu (mailhub.oit.umass.edu [128.119.166.18]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eADFiOs75513 for ; Mon, 13 Nov 2000 10:44:24 -0500 (EST) (envelope-from dpowicki@oit.umass.edu) Received: from CONVERSION-DAEMON by ponzi.oit.umass.edu (PMDF V5.2-32 #38130) id <0G3Y00B01ZEX9Z@ponzi.oit.umass.edu> for pgsql-admin@postgresql.org; Mon, 13 Nov 2000 10:37:45 -0500 (EST) Received: from oit.umass.edu (schist.oit.umass.edu [128.119.175.37]) by ponzi.oit.umass.edu (PMDF V5.2-32 #38130) with ESMTP id <0G3Y007RRZEXNY@ponzi.oit.umass.edu> for pgsql-admin@postgresql.org; Mon, 13 Nov 2000 10:37:45 -0500 (EST) Date: Mon, 13 Nov 2000 10:36:00 -0500 From: David Powicki Subject: slow vacuuming... To: pgsql-admin@postgresql.org Message-id: <3A100A5F.524D69E8@oit.umass.edu> MIME-version: 1.0 X-Mailer: Mozilla 4.6 [en] (Win95; I) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en X-Archive-Number: 200011/79 X-Sequence-Number: 88 Hi, I'm running into major problems with slow vacuuming. I'm running Postgres 6.5.3 on a Sun Enterprise 250 with dual 300 CPUs and 1 GB of ram. Currently there is only one db/table being used in postgres and it's not that big a data structure (used for PHP session info with IMP). ------------------------------------ horde=> \d active_sessions; Table = active_sessions +----------------------------------+----------------------------------+-------+ | Field | Type | Length| +----------------------------------+----------------------------------+-------+ | sid | varchar() not null default '' | 32 | | name | varchar() not null default '' | 32 | | val | text | var | | changed | varchar() not null default '' | 14 | +----------------------------------+----------------------------------+-------+ ---------------------------------------------- Each day the DB grows to ~70MB in size and takes upwards of 25 minutes to vacuum. A 70MB DB doesn't sound too big and 25 minutes is a painfully long time to wait. Any ideas? David -- David Powicki Network Analyst/Postmaster OIT Network Services Voice: 413.545.1605 Fax: 413.545.3203 University of Massachusetts email: dpowicki@nic.umass.edu Amherst, MA 01003-4640