PSQL config - default_statistics_target

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

PSQL config - default_statistics_target

Postby kydechuk01 » Sun Aug 14, 2011 2:39 pm

PostgreSQL config has this option, and in manuals it is said that this is used to improve Analyze process.
Larger values increase the time needed to do ANALYZE, but might improve the quality of the planner's estimates

Code: Select all
# - Other Planner Options -
default_statistics_target = 100      # range 1-10000


Bigger values causes much more time for Analyzing base. For example if 100 then 2-3 min for Analyze of 6Gb (600k hands) base, if 500 - 20 min and so on. I'm using 500 now.

Will somebody tell, can we using this option really improve speed of afterwards PokerTrackers base search processes? By the cost of housekeeping time of course.
kydechuk01
 
Posts: 174
Joined: Sat Jun 27, 2009 4:30 am
Location: Russia

Re: PSQL config - default_statistics_target

Postby kraada » Sun Aug 14, 2011 2:44 pm

I don't believe that changing this value will make any significant improvements to PT3. But I'll add it to my list of things to make sure gets tested just to be certain.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: PSQL config - default_statistics_target

Postby kydechuk01 » Sun Aug 14, 2011 2:50 pm

Thank you!
kydechuk01
 
Posts: 174
Joined: Sat Jun 27, 2009 4:30 am
Location: Russia


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 16 guests

cron
highfalutin