Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f16Cv0x71723 for ; Tue, 6 Feb 2001 07:57:00 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f12FU8q85253 for ; Fri, 2 Feb 2001 10:30:08 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f12FDoC47087 for pgsql-admin@postgresql.org; Fri, 2 Feb 2001 10:13:50 -0500 (EST) (envelope-from news) From: "Gyula Toth" X-Newsgroups: comp.databases.postgresql.admin Subject: "Sorry too many clients" error and vacuum command Date: Fri, 2 Feb 2001 16:11:19 +0100 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 26 Message-ID: <95eira$1dv2$1@news.tht.net> Reply-To: "Gyula Toth" X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 To: pgsql-admin@postgresql.org X-Archive-Number: 200102/47 X-Sequence-Number: 647 1. Postgres in default does not delete the expired/unnecessary lines from the tables, therefore we have to run vacuum regularly to delete these lines in order to prevent the database from becoming too large. Is there any way to change the default, so that the updated lines do not duplicate and the unnecessary lines are deleted completly from the table ? Actually can we forget about vacuum completely? 2. The vacuum runs for hours in our database server, sometimes it even kills Postgres, we do not know why. Is there any way to implement any other method/command instead of using vacuum or, if not, how can we speed up this process? 3. What can be the reason for the error message "Sorry, too many clients already!" Can we avoid this error in any other way than switching the number of backends with -N and -B to a higher level? If anybody can help with these problems we would be willing to pay for the help as we have run out of ideas, thanks for any help, Gyula Toth