X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2078954C87 for ; Wed, 23 Feb 2005 23:37:42 +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 82605-05 for ; Wed, 23 Feb 2005 23:37:32 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 8A8F1550EE for ; Wed, 23 Feb 2005 23:37:32 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.13.1/8.13.1) with ESMTP id j1NNbVwr084288 for ; Wed, 23 Feb 2005 23:37:31 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.13.1/8.13.1/Submit) id j1NNFCme078515 for pgsql-admin@postgresql.org; Wed, 23 Feb 2005 23:15:12 GMT (envelope-from news) From: Indibil X-Newsgroups: pgsql.admin Subject: Re: PostgreSQL 8.0.1 problem Date: Thu, 24 Feb 2005 00:15:08 +0100 Organization: Hub.Org Networking Services Lines: 40 Message-ID: References: <1109108638.30529.123.camel@state.g2switchworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@news.hub.org User-Agent: KNode/0.7.6 To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Archive-Number: 200502/272 X-Sequence-Number: 16440 I run vacuum analyze and the view WORKS!! A lot of thanks Scott, (one thousand or more ;) Indibil Scott Marlowe wrote: > On Tue, 2005-02-22 at 14:03, Indibil wrote: >> Hi: >> >> I want migrate to PostgreSQL 8.0.1 for Windows from PostgreSQL 7.4.1, but >> I have a big problem. >> >> In 7.4.1 I have a large view with nested views. It lasts 1 minute and 20 >> seconds to finish. In 8.0.1 for Windows it lasts.... I don't know. One >> hour, two hour, one day... I always cancel the view because it lasts >> forever. >> >> Shared buffers and work mem in 8.0.1 are greater than those of 7.4.1. So >> I think this isn't a memory problem. Furthermore, the 8.0.1 server has >> double RAM than 7.4 server. The "simples" views work right. But when I >> run the large view the problem appears. >> >> The database was migrated with pg_dumpall (8.0.1 version) and restored >> with psql (8.0.1 version). > > > Have you run vacuum analyze on the new database? > > Are the postgresql.conf files pretty much the same (except for the > renaming and moving around caused by it being an 8.0 .conf file...) > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq