X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3B98555DC4 for ; Tue, 8 Mar 2005 13:49:09 +0000 (GMT) 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 70196-02 for ; Tue, 8 Mar 2005 13:49:05 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.194]) by svr1.postgresql.org (Postfix) with ESMTP id B2C20550EE for ; Tue, 8 Mar 2005 13:49:03 +0000 (GMT) Received: by wproxy.gmail.com with SMTP id 70so1775225wra for ; Tue, 08 Mar 2005 05:49:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=lIkiEwS5X77oaK1rw8DNchhZOiZyBp1t7K8FgE88JsPOHs4+E7u0LqNnsHa4F8I4pcVXhtAFnU9969OIbeeny0RDglgtxva3wIDRzsHMIwGNNLiaMrpSpW4DZ5MfU3RERIeCh7BDGED5z/TLRaX8oWIHzcHpjab2AyuMSy8aQRg= Received: by 10.54.72.16 with SMTP id u16mr194576wra; Tue, 08 Mar 2005 05:49:06 -0800 (PST) Received: by 10.54.38.22 with HTTP; Tue, 8 Mar 2005 05:49:05 -0800 (PST) Message-ID: <6bf1b0a005030805495ec76763@mail.gmail.com> Date: Tue, 8 Mar 2005 19:19:05 +0530 From: Prajakt Deolasee Reply-To: Prajakt Deolasee To: pgsql-jdbc@postgresql.org Subject: Postgres is slow Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.398 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200503/66 X-Sequence-Number: 12459 Dear All, I am using Postgres 7.4 on Fedora 3.0. It is running with the default configuration. I have a Java code which is using the JDBC 3.0 implementation and the connection pooling implementation of the Postgres. I have some tests running against this implementation. I do inserts of 100,000 records. The primary key of this table is a byte array. The time required for lookup on this 100,000 records keeps increasing with subsequent tests even though I am not inserting/updating any recors. I also noticed that with every test the size of "base" directory which is there in my DB keeps increasing. I don't think this is a log directory, then why should its size increase with just "select" queries? What is it logging? Can somebody help on this? I think its some misconfiguration on my part? -Prajakt