Skip site navigation (1) Skip section navigation (2)

Re: Query performance issue

From: Jayadevan M <Jayadevan(dot)Maymala(at)ibsplc(dot)com>
To: "Tomas Vondra" <tv(at)fuzzy(dot)cz>
Cc: "PGSQL Performance" <pgsql-performance(at)postgresql(dot)org>,pgsql-performance-owner(at)postgresql(dot)org
Subject: Re: Query performance issue
Date: 2011-08-31 11:57:21
Message-ID: OFF9E19B04.1A7DCA9C-ON652578FD.00419BFE-652578FD.0041AD11@ibsplc.com (view raw or flat)
Thread:
Lists: pgsql-performance
> 
> A really interesting part is the sort near the bottom -
> 
> ->  Sort  (cost=1895.95..1896.49 rows=215 width=61) (actual
> time=25.926..711784.723 rows=2673340321 loops=1)
>     Sort Key: memmst.memshpsta
>     Sort Method:  quicksort  Memory: 206kB
>     ->  Nested Loop  (cost=0.01..1887.62 rows=215 width=61) (actual
> time=0.088..23.445 rows=1121 loops=1)
> 
> How can a sort ge 1121 rows at the input and return 2673340321 rows at 
the
> output? Not sure where this comes from.
> 
> BTW what PostgreSQL version is this?
PostgreSQL 9.0.4 on x86_64-pc-solaris2.10

Regards,
Jayadevan





DISCLAIMER: 

"The information in this e-mail and any attachment is intended only for 
the person to whom it is addressed and may contain confidential and/or 
privileged material. If you have received this e-mail in error, kindly 
contact the sender and destroy all copies of the original communication. 
IBS makes no warranty, express or implied, nor guarantees the accuracy, 
adequacy or completeness of the information contained in this email or any 
attachment and is not liable for any errors, defects, omissions, viruses 
or for resultant loss or damage, if any, direct or indirect."




In response to

pgsql-performance by date

Next:From: Kevin GrittnerDate: 2011-08-31 12:40:29
Subject: Re: Query performance issue
Previous:From: Tomas VondraDate: 2011-08-31 11:41:55
Subject: Re: Query performance issue

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group