Re: PG8.2.1 choosing slow seqscan over idx scan

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

 



On 1/16/07, Jeremy Haile <jhaile@xxxxxxxxxxx> wrote:
Even if unrelated, do you think disk fragmentation would have negative
effects?  Is it worth trying to defragment the drive on a regular basis
in Windows?

Out of curiosity, is this table heavily updated or deleted from?  Perhaps there is an unfavorable "correlation" between the btree and data?  Can you dump the results of

select attname, null_frac, avg_width, n_distinct, correlation from pg_stats where tablename = 'transaction_facts'




--
Chad
http://www.postgresqlforums.com/

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

  Powered by Linux