X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 94123475EF0 for ; Fri, 18 Apr 2003 14:48:45 -0400 (EDT) Received: from dg.eisolution.com (adsl-64-108-8-141.dsl.chcgil.ameritech.net [64.108.8.141]) by postgresql.org (Postfix) with ESMTP id B70EA475ECE for ; Fri, 18 Apr 2003 14:48:44 -0400 (EDT) Received: from marcmdelltop (dsl081-146-252.chi1.dsl.speakeasy.net [64.81.146.252]) (authenticated) by dg.eisolution.com (8.11.6/8.11.6) with ESMTP id h3IImbk16217; Fri, 18 Apr 2003 13:48:37 -0500 Message-ID: <006c01c305db$28050460$6701050a@eisolution.com> From: "Marc Mitchell" To: "Derek Hamilton" , References: <000501c305d7$b001a070$1b01a8c0@jcaves.net> Subject: Re: Performance Expectations Date: Fri, 18 Apr 2003 13:48:46 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Spam-Status: No, hits=-19.1 required=5.0 tests=BAYES_20,ORIGINAL_MESSAGE,QUOTED_EMAIL_TEXT,REFERENCES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/259 X-Sequence-Number: 8414 I would suggest simply doing an EXPLAIN on your query and examining the output. It will tell you whether your index is being used or not. That's a big first step in determining what your optimal performance expectations should be. Marc Mitchell - Senior Application Architect Enterprise Information Solutions, Inc. 4910 Main Street Downers Grove, IL 60515 (630) 512-0570 marcm@eisolution.com ----- Original Message ----- From: "Derek Hamilton" To: Sent: Friday, April 18, 2003 1:24 PM Subject: [ADMIN] Performance Expectations > Hello all, > > We're using PostgresQL with a fairly large database (about 2GB). I have one > table that currently exceeds 4.5 million records and will probably grow to > well over 5 fairly soon. The searching of this table is basically done on > one field, which field I have set up a btree index on. My question is, if I > search this table and get the results back in about 6-7 seconds is that > pretty good, not so good...? What are the things I should look at in > determining the performance on this? > > BTW, forgive the lack of information. I'd be happy to post more info on the > table, hardware, etc. I just didn't want to overwhelm the initial question. > > Thanks, > Derek Hamilton > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster