Re: [HACKERS] Slow count(*) again...

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

 



Mladen Gogala wrote:
> Hints are not even that complicated to program. The SQL parser should 
> compile the list of hints into a table and optimizer should check 
> whether any of the applicable access methods exist in the table. If it 
> does - use it. If not, ignore it. This looks to me like a philosophical 
> issue, not a programming issue. Basically, the current Postgres 
> philosophy can be described like this: if the database was a gas stove, 
> it would occasionally catch fire. However, bundling a fire extinguisher 
> with the stove is somehow seen as bad. When the stove catches fire, 
> users is expected to report the issue and wait for a better stove to be 
> developed. It is a very rough analogy, but rather accurate one, too.

That might be true.

-- 
  Bruce Momjian  <bruce@xxxxxxxxxx>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

-- 
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