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 4327E5E46DB for ; Fri, 6 Aug 2004 13:11:11 -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 14423-09 for ; Fri, 6 Aug 2004 16:11:14 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id BDF305E46CD for ; Fri, 6 Aug 2004 13:11:05 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i76GB65n081375 for ; Fri, 6 Aug 2004 16:11:08 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i76G1BLs080063 for pgsql-performance@postgresql.org; Fri, 6 Aug 2004 16:01:11 GMT From: Gaetano Mendola X-Newsgroups: comp.databases.postgresql.performance Subject: Re: Tuning queries on large database Date: Wed, 04 Aug 2004 17:34:56 +0200 Organization: PYRENET Midi-pyrenees Provider Lines: 20 Message-ID: <41110220.7000006@bigfoot.com> References: <200408041244.i74CihO19344@mu.meteo.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@pyrenet.fr To: Valerie Schneider DSI/DEV User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en In-Reply-To: <200408041244.i74CihO19344@mu.meteo.fr> X-Enigmail-Version: 0.84.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime To: pgsql-performance@postgresql.org 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: 200408/74 X-Sequence-Number: 7710 Valerie Schneider DSI/DEV wrote: > Hi, > > I have some problem of performance on a PG database, and I don't > know how to improve. I Have two questions : one about the storage > of data, one about tuning queries. If possible ! > > My job is to compare Oracle and Postgres. All our operational databases > have been running under Oracle for about fifteen years. Now I try to replace > Oracle by Postgres. Show us the explain analyze on your queries. Regards Gaetano Mendola