X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 87252D1B241 for ; Wed, 23 Jun 2004 14:32:33 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 43523-08 for ; Wed, 23 Jun 2004 17:32:29 +0000 (GMT) Received: from davinci.ethosmedia.com (server228.ethosmedia.com [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id 4B299D1B18F for ; Wed, 23 Jun 2004 14:32:27 -0300 (ADT) Received: from [63.195.55.98] (HELO spooky) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 5462042; Wed, 23 Jun 2004 10:34:08 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Organization: Aglio Database Solutions To: "Bill" Subject: Re: postgresql and openmosix migration Date: Wed, 23 Jun 2004 10:31:45 -0700 User-Agent: KMail/1.4.3 Cc: References: <004001c45865$59cc9f20$dfc58780@billnotebook> <200406220931.23780.josh@agliodbs.com> <008201c4587e$b8856510$dfc58780@billnotebook> In-Reply-To: <008201c4587e$b8856510$dfc58780@billnotebook> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200406231031.45401.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/243 X-Sequence-Number: 7301 Bill, > Ok, so maybe someone on this group will have a better idea. We have a > database of financial information, and this has literally millions of > entries. I have installed indicies, but for the rather computationally > demanding processes we like to use, like a select query to find the > commodity with the highest monthly or annual returns, the computer > generally runs unacceptably slow. So, other than clustring, how could I > achieve a speed increase in these complex queries? Well, you can do this 2 ways: 1) you can pick out one query at a time, and send us complete information on it, like Matt's really nice e-mail describes. People on this list will help you troubleshoot it. It will take a lot of time, but no money. 2) You can hire a PG database expert. This will be much faster, but cost you a lot of money. >Is this better in mysql > or postgresql? Complex queries? Large databases? That's us. MySQL is obtimized for simple queries on small databases. -- Josh Berkus Aglio Database Solutions San Francisco