X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 3C943D1D8B9 for ; Tue, 13 Jan 2004 16:05:13 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 66791-08 for ; Tue, 13 Jan 2004 12:04:42 -0400 (AST) Received: from wind.mindcry.org (nat-gr.wmis.net [216.109.194.252]) by svr1.postgresql.org (Postfix) with ESMTP id 39926D1B469 for ; Tue, 13 Jan 2004 12:04:26 -0400 (AST) Received: by wind.mindcry.org (Postfix, from userid 1001) id 068E0417B; Tue, 13 Jan 2004 11:04:14 -0500 (EST) Date: Tue, 13 Jan 2004 11:04:13 -0500 From: David Hill To: pgsql-performance@postgresql.org Subject: freebsd 5.2 and max_connections Message-ID: <20040113160413.GB1554@phobia.ms> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.5.1i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/132 X-Sequence-Number: 5307 Hello - I am using postgresql to hold aliases, users, and relay_domains for postfix and courier to do lookups from. I am not storing mail in sql. I need postgresql to have fast read performance, so i setup index's on the tables. Also, the queries are basically "select blah from table where domain='domain.com'";, so i dont need to be able to support large results. I will have a lot of mail servers connecting to this postgresql db, so i need to support a lot of connections... but dont need to support large results. I am using FreeBSD 5.2. What are some tuning options and formulas I can use to get good values? Thanks! David