Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 2EC52476E9F for ; Fri, 6 Sep 2002 10:14:28 -0400 (EDT) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 3BFCB4761F6 for ; Fri, 6 Sep 2002 10:13:30 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id 0948A381956; Fri, 6 Sep 2002 10:13:28 -0400 (EDT) From: Jeff Boes X-Newsgroups: comp.databases.postgresql.admin Subject: Re: VACUUM on multi-CPU systems? Date: Fri, 06 Sep 2002 10:14:14 -0400 Organization: Nexcerpt, Inc. Lines: 34 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: news@hub.org User-Agent: Pan/0.11.3 (Unix) X-Comment-To: "Jeff Boes" To: pgsql-admin@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/66 X-Sequence-Number: 5605 On Mon, 26 Aug 2002 12:04:23 -0400, Jeff Boes wrote: > Does anyone have any thoughts on whether my database vacuum/full/analyze > might go faster on our 2-CPU system if I generated the VACUUM commands > into a script, e.g., > > psql -a < \t > \o /tmp/db_maint.$$ > select distinct on (relname) 'VACUUM FULL ANALYZE "' || relname || '";' > from pg_class > where relkind='r' > \g > \o > EOF > > (generates a script that looks like > > VACUUM FULL ANALYZE table1; > VACUUM FULL ANALYZE table2; > > etc.) > > and then started two psql sessions each processing half of the file? I didn't see any response to this, so I'll try just one more time and then shut up ... -- Jeff Boes vox 269.226.9550 ext 24 Database Engineer fax 269.349.9076 Nexcerpt, Inc. http://www.nexcerpt.com ...Nexcerpt... Extend your Expertise