If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-24-02, 06:22
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 283
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, 04: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, 09:36
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 283
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, 11: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, 08: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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On