Re: [PERFORM] PostgreSQL OR performance

2008-11-15 Thread Tom Lane
"=?ISO-8859-5?B?svbi0Nv22SDC2Nzn2OjY3Q==?=" <[EMAIL PROTECTED]> writes: > I am not. I can't see how materialize can multiply number of rows it gets > from sort by 100. Is it the right-hand input of a merge join? If so you're looking at mark/restore rescans, ie, repeated fetches of the same tuples

Re: [PERFORM] PostgreSQL OR performance

2008-11-15 Thread Віталій Тимчишин
2008/11/7 Richard Huxton <[EMAIL PROTECTED]> > But it's this materialize that's taking the biggest piece of the time. > > > " -> Materialize (cost=469981.13..498937.42 rows=2316503 width=30) > > (actual time=15915.639..391938.338 rows=242752539 loops=1)" > > 15.9 seconds to 391.9 seconds. That'

Re: [PERFORM] PostgreSQL OR performance

2008-11-15 Thread Віталій Тимчишин
Sorry, for delayed response - It was very busy week. 2008/11/7 David Wilson <[EMAIL PROTECTED]> > On Fri, Nov 7, 2008 at 4:14 AM, Віталій Тимчишин <[EMAIL PROTECTED]> wrote: > > "Merge Join (cost=518771.07..62884559.80 rows=1386158171 width=32) > (actual > > time=30292.802..755751.242 rows=34749