Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 04EB49FB8EA for ; Mon, 18 Jun 2007 16:49:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 97531-05 for ; Mon, 18 Jun 2007 16:48:54 -0300 (ADT) X-Greylist: delayed 00:26:03.167816 by SQLgrey-1.7.5 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 94A689FBB3E for ; Mon, 18 Jun 2007 16:48:56 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from ctb-mesg-2-2.saix.net (ctb-mesg-2-2.saix.net [196.25.240.87]) by svr4.postgresql.org (Postfix) with ESMTP id 2A1795AF031 for ; Mon, 18 Jun 2007 19:22:47 +0000 (GMT) Received: from [192.168.7.104] (dsl-241-27-253.telkomadsl.co.za [41.241.27.253]) by ctb-mesg-2-2.saix.net (Postfix) with ESMTP id 9E76B6746 for ; Mon, 18 Jun 2007 21:22:33 +0200 (SAST) Message-ID: <4676DB79.3020108@silversphere.co.za> Date: Mon, 18 Jun 2007 21:22:33 +0200 From: James Neethling User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Volunteer to build a configuration tool References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------070503060708030701040700" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200706/313 X-Sequence-Number: 25347 This is a multi-part message in MIME format. --------------070503060708030701040700 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit > This is my idea: > > A JavaScript HTML page that would have some basic questions at the top: > > 1) How much memory do you have? > > 2) How many connections will be made to the database? > > 3) What operating system do you use? > > 4) Etc… > > Next the person would press a button, “generate”, found below the > questions. The JavaScript HTML page would then generate content for > two Iframes at the bottom on the page. One Iframe would contain the > contents of the postgresql.conf file. The postgresql.conf settings > would be tailored more to the individuals needs than the standard > default file. The second Iframe would contain the default settings one > should consider using with their operating system. > > My web team would be very happy to develop this for the PostgreSQL > project. It would have saved us a lot of time by having a > configuration tool in the beginning. I am willing to make this a very > high priority for my team. > Hi Lance, I agree that having a page that can assist in generating a base configuration file is an excellent way to start off with a good configuration that can assist a system administrator in getting half way to a good configuration. We've recently gone through a process of configuring a machine and it is a time consuming task of testing and benchmarking various configuration details. My thoughts: Using the browser is a great idea as a universal platform. I can foreseen a problem in that some users won't have GUI access to the machine that they are setting up. I don't have much direct experience in this field, but I suspect that a great number of installations happen 'headless'? This can easily be circumvented by hosting the configuration builder on a public internet site, possibly postgresql.org? Also, Javascript isn't the easiest language to use to get all the decisions that need to be made for various configuration options. Would it not be a better idea to host a configuration builder centrally, possible on postgresql.org and have the documentation reference it, including the docs that come packaged with postgresql (README, INSTALL documentation?). This would mean that you wouldn't be able to package the configuration builder, but you would be able to implement more application logic and more complex decision making in a hosted application. Of course, I have no idea of the skills that your team already have :) To add ideas: perhaps a more advanced tool would be able to add comment indicating a suggested range for the particular setting. For example, with 2Gb of RAM, it chooses a workmem of, say, 768Mb, with a comment indicating a suggested range of 512Mb - 1024Mb. Thanks for taking the time to put this together and for offering the services of your team. Kind regards, James --------------070503060708030701040700 Content-Type: text/x-vcard; charset=utf-8; name="james.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="james.vcf" begin:vcard fn:James Neethling n:Neethling;James org:Silver Sphere Business Solutions adr:Centurion Business Park A2;;25633 Democracy Way;Prosperity Park;Milnerton;Cape Town;7441 email;internet:james@silversphere.co.za title:Managing Member tel;work:27 21 552 7108 tel;fax:27 21 552 7106 tel;cell:27 83 399 2799 x-mozilla-html:FALSE url:http://www.silversphere.co.za version:2.1 end:vcard --------------070503060708030701040700--