Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Performance > Re: Optimizer's...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 6 Topic 4015 of 4424
Post > Topic >>

Re: Optimizer's issue

by arhipov@[EMAIL PROTECTED] (Vlad Arkhipov) Apr 24, 2008 at 06:47 PM

Albe Laurenz пишет:
> Vlad Arkhipov wrote:
>   
>> I found strange issue in very simple query.
>>     
>
> You forgot to mention what your problem is.
>
> Yours,
> Laurenz Albe
>   
It was written below in my first post:
"These queries are part of big query and optimizer put them on the leaf
of query tree, so rows miscount causes a real problem. "
actual rows count for the first query is 294, estimate - 11; for the
second -- 283 and 0. Postgres tries to use nested loops when it should
use merge/hash join and vice versa.


-- 
Sent via pgsql-performance mailing list (pgsql-performance@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
 




 6 Posts in Topic:
Optimizer's issue
arhipov@[EMAIL PROTECTED]  2008-04-24 10:14:54 
Re: Optimizer's issue
laurenz.albe@[EMAIL PROTE  2008-04-24 10:47:32 
Re: Optimizer's issue
arhipov@[EMAIL PROTECTED]  2008-04-24 18:47:37 
Re: Optimizer's issue
matthew@[EMAIL PROTECTED]  2008-04-24 11:50:24 
Re: Optimizer's issue
lists@[EMAIL PROTECTED]   2008-04-24 18:24:50 
Re: Optimizer's issue
arhipov@[EMAIL PROTECTED]  2008-04-28 10:51:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 8:20:46 CST 2008.