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 > buffers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-07-03, 10:34
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 283
Question buffers

Hi,

there are an example in the book that say how to calculate the buffers in file onconfig.std.

2 kilobytes in page size.
100 mb in phisical memory

the example say I can set the buffers between 10000 and 12500, which allocates between 20 and 25 megabytes of memory.

how to calculate this value?

how to calculate the value of locks in the file onconfig.std.


Thank you.
Reply With Quote
  #2 (permalink)  
Old 01-08-03, 04:34
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
Believe me, there is no fixed rule that works for all databases.
The best way is trial and error.

Check with onstat -p for the %read cache and %write cache.
The read cach should be at least 95% and the write cache should be at least 85 %.

For the locks you should check the amount of lockwaits in onstat -p
__________________
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