Unix Technical Forum

Re: Calculate optimal value for DS_POOLSIZE

This is a discussion on Re: Calculate optimal value for DS_POOLSIZE within the Informix forums, part of the Database Server Software category; --> >mohitanchlia@gmail.com >Version: IDS 10 >I am trying to determine the optimal value for DS_POOLSIZE and >DS_HASHSIZE. I looked at ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 05:28 PM
Mark Jamison
 
Posts: n/a
Default Re: Calculate optimal value for DS_POOLSIZE

>mohitanchlia@gmail.com
>Version: IDS 10
>I am trying to determine the optimal value for DS_POOLSIZE and
>DS_HASHSIZE. I looked at the onstat -gdsc. I have following question:
>
>1. How do I determine the correct size of DS_POOLSIZE. Should I look
>at our update stats and see number of unique columns that we run
>update statistics on and that would become the value of DS_POOLSIZE.
>2. How do I determine correct value of number ofHash Buckets ? How
>many entries per bucket is good to have ?
>3. WhenI look at onstat -g dsc I see number of distribution entries,
>should this be always lower than DS_POOLSIZE

Hi,

1. Use the following processto get DS_POOLSIZE and DS_HASHSIZE

-Identify the number
of columnsthat have distributions set for the existing Instance of IDS.
-Take thisvalue and multiply it by 1.1 to account for any additional overhead, plus to give a little buffer to reduce overflow possibilities.
-Divide this number by the depth you want each bucket to be, typically between 4 and 10.
-Find the closest prime number to this generated value that is greater than the generated value. This prime number is what should be set as the DS_HASHSIZE value.
-Multiply your new DS_HASHSIZE by the same value you originally divided by in order to obtain your DS_POOLSIZE.
-Additional tuningmay be required

2. Generally 4 is enough for the dept of the buckets.Think of DS_HASHSIZE as an array, but think of the depth of the buckets asa linked list.

3. Yes. If is it around or > than 75%, you are going to start cleaning the cache, if you are at 100% you not only are tuned too low, but you also are adding entries to the
cache faster than you can clean the cache.





Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:17 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com