X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id E1EB09FB35D for ; Mon, 31 Jul 2006 06:24:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 66657-08 for ; Mon, 31 Jul 2006 06:24:28 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id 6588D9FB34E for ; Mon, 31 Jul 2006 06:23:43 -0300 (ADT) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 41A7A73C79; Mon, 31 Jul 2006 10:23:32 +0100 (BST) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 365E14DB39; Mon, 31 Jul 2006 10:23:32 +0100 (BST) Message-ID: <44CDCC13.4010705@archonet.com> Date: Mon, 31 Jul 2006 10:23:31 +0100 From: Richard Huxton User-Agent: Thunderbird 1.5.0.5 (X11/20060719) MIME-Version: 1.0 To: Hristo Markov Cc: pgsql-performance@postgresql.org Subject: Re: How to increase performance? References: <20060727162929.56177.qmail@web51712.mail.yahoo.com> In-Reply-To: <20060727162929.56177.qmail@web51712.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.388 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, SPF_HELO_SOFTFAIL, SPF_SOFTFAIL X-Spam-Level: ** X-Archive-Number: 200607/298 X-Sequence-Number: 20158 Hristo Markov wrote: > Hello, > > My name is Hristo Markov. I am software developer. > I am developing software systems (with C/C++ program language) that work on Windows operation system and uses ODBC driver and ACCESS database. I want to change database with PostgreSQL. > The systems working without problems with PostgreSQL and ODBC, but the performance and speed of updating and reading of data are very low. > I run the test program working on one single computer under Windows XP operating system and working with equal data (I use around 10 tables at the same time). The difference is only databases and ODBC drivers. > > The results from speed and performance of the test program are: > Around 10 seconds under Access database. > Around 40 seconds under PostgreSQL database. > > Please help me to increase speed and performance of PostgreSQL. > /I am freshman in PostgreSQL and I thing that may be must set some settings / Are there specific queries you're having problems with? How many transactions does this 40 seconds represent? What is the bottle-neck - CPU/disk/memory? You might find this a good place to start reading about configuration settings, and then follow that with the manuals. http://www.powerpostgresql.com/PerfList -- Richard Huxton Archonet Ltd