Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Informix > size buffers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-24-02, 07:22
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Posts: 146
Thumbs up size buffers

hi,

please I need to calculate the size of buffers, who have help me.

thank you.

Georgi
Reply With Quote
  #2 (permalink)  
Old 12-31-02, 05:43
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
What buffers do you want to calculate?

onstat -g seg
will display an overview of the main memory segments.

onstat -g mem
displays the memory size per pool.
__________________
rws
Reply With Quote
  #3 (permalink)  
Old 12-31-02, 10:36
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Posts: 146
Quote:
Originally posted by Roelwe
What buffers do you want to calculate?

onstat -g seg
will display an overview of the main memory segments.

onstat -g mem
displays the memory size per pool.


I need to calculate el value of buffers of file onconfig.std

Thank you.
Reply With Quote
  #4 (permalink)  
Old 01-02-03, 12:45
tlohan tlohan is offline
Registered User
 
Join Date: Jun 2002
Location: Ireland
Posts: 12
Hi,

A formula for calculating BUFFERS is:

Buffers = (RAW_BUFFERS/LRU_MIN_DIRTY)*100,

where:

RAW_BUFFERS = ((NUMBER_OF_DAYS * (NUMBER_OF_ROWS (for a day) * PAGES_FOR_TABLES))

Informix recommend NUMBER_OF_DAYS be set to 2.

Hope this helps.
Reply With Quote
  #5 (permalink)  
Old 01-06-03, 09:06
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
I always use trial and error. The most important thing is to keep the checkpoint duration as small as possible.
If you have a big chunk of memory available in your system, bring up the BUFFERS parameter and fine-tune with LRU/CLEANERS/LRU_MIN_DIRTY/LRU_MAX_DIRTY.
Make sure that your checkpoint duration stays low.
Be aware that not only the BUFFERS parameter affects the total amount of memory allocated by the informix server.
__________________
rws
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On