Re: Optimizing Bitmap Heap Scan.

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

 



From: niraj patel <npatel@xxxxxxxxxxxx>
Subject: Re: Optimizing Bitmap Heap Scan.
To: "Grzegorz Jaśkiewicz" <gryzman@xxxxxxxxx>
Cc: pgsql-performance@xxxxxxxxxxxxxx
Date: Tuesday, December 8, 2009, 1:50 PM

Hi gryzman,

I have run vacuum full analyze on the cmrules tables. The version of pstgres is 8.2.13. How should I change stats to 100 ?

Thanks


From: Grzegorz Jaśkiewicz <gryzman@xxxxxxxxx>
To: niraj patel <npatel@xxxxxxxxxxxx>
Cc: pgsql-performance@xxxxxxxxxxxxxx
Sent: Tue, 8 December, 2009 7:12:49 PM
Subject: Re: Optimizing Bitmap Heap Scan.

it looks like it might choose wrong plan, cos it gets the stats wrong.
Try increasing number of stats to 100.
Btw, what version it is ?


in psql
mydb=# set default_statistics_target = 100;



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

  Powered by Linux