Search Postgresql Archives

Re: Indexes on NULL's and order by ... limit N queries

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

 



Maxim Boguk <mboguk@xxxxxxxxxxxxx> writes:
> Looks like when indexed search over NULL's added, planner wasn't learned right way use such index on  "where something is NULL order by ... limit ..." 
> queries.

There's nothing wrong with the plan; you've just got too many NULLs to
make it worth using the index for that.

			regards, tom lane

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux