X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 4D411B430D6 for ; Mon, 7 Jul 2003 21:01:37 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 07389-09 for ; Mon, 7 Jul 2003 18:01:24 -0300 (ADT) Received: from www.postgresql.com (www.postgresql.com [64.117.225.209]) by svr1.postgresql.org (Postfix) with ESMTP id 10E37B43B0D for ; Mon, 7 Jul 2003 17:58:05 -0300 (ADT) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by www.postgresql.com (Postfix) with ESMTP id CD3BFCF7AB9 for ; Mon, 7 Jul 2003 17:13:39 -0300 (ADT) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.9/8.12.9) with ESMTP id h67K4qv5020964; Mon, 7 Jul 2003 14:04:52 -0600 (MDT) Date: Mon, 7 Jul 2003 13:58:24 -0600 (MDT) From: "scott.marlowe" To: Brian Tarbox Cc: Brian Tarbox , , Rafal Kedziorski , Subject: Re: PostgreSQL vs. MySQL In-Reply-To: <000d01c344b3$db2add00$01000001@trouble> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner: Found to be clean X-MailScanner-SpamCheck: X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/133 X-Sequence-Number: 2426 On Mon, 7 Jul 2003, Brian Tarbox wrote: > Oddly enough, the particular application in question will have an extremely > small user base...perhaps a few simultainous users at most. > > As to the testing, I neglected to say early in this thread that my manager > instructed me _not_ to do further performance testing...so as a good > consultant I complied. I'm not going to touch if that was a smart > instruction to give :-) But remember, you can always rename your performance testing as compliance testing and then it's ok, as long as you don't keep any detailed records about the time it took to run the "compliance testing" queries. Definitely look at the output from explain analyze select ... to see what the planner THINKS the query is gonna cost versus what it really costs. If you see a huge difference between, say estimated rows and actual rows, or some other value, it points to the analyzer not getting the right data for the planner. You can adjust the percentage of a table sampled with alter table to force more data into analyze.