Re: Permance issues with migrated db - Mailing list pgsql-general

From Richard Huxton
Subject Re: Permance issues with migrated db
Date
Msg-id 4653189C.6040609@archonet.com
Whole thread Raw
In response to Permance issues with migrated db  (Robert Fitzpatrick <lists@webtent.net>)
Responses Re: Permance issues with migrated db
List pgsql-general
Robert Fitzpatrick wrote:
> I have developed a view in pgsql that takes over 160K ms to execute, but
> when copied into MS SQL against the old database (with syntax mods of
> course), runs in a few seconds.

Your query seems to produce 41.8 million rows. Are you sure MS-SQL is
returning that many rows in a few seconds?

> Merge Left Join  (cost=35366.42..57565.28 rows=565261 width=297) (actual time=1000.457..148111.905 rows=41866801
loops=1)

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Problem with pg_dump
Next
From: Robert Fitzpatrick
Date:
Subject: Re: Permance issues with migrated db