Re: query plan with index having a btrim is different for strings of different length

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Yen <dba@xxxxxxxxxxx> writes:
> You guys are right.  I tried "Miller" and gave me the same result.  Is  
> there any way to tune this so that for the common last names, the  
> query run time doesn't jump from <1s to >300s?

If the planner's estimation is that far off then there must be something
very weird about the table statistics, but you haven't given us any clue
what.

			regards, tom lane

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

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux