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 > Why shmvirtsize increase so quickly

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-19-04, 01:41
dusong dusong is offline
Registered User
 
Join Date: Jan 2003
Posts: 28
Angry Why shmvirtsize increase so quickly

informix server config 200M shmvirtsize and 100M shmadd,But we find everyday,It will increase a share memory segment(100M),any way can I find out why the shmvirtsize turn to large? what operation will cause this situation? Thanks
Reply With Quote
  #2 (permalink)  
Old 10-19-04, 11:30
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,

I suggest that you increase SHMVIRTSIZE=300M, but SHMADD=32768.
If the on-line allocate virtual segment, then increase SHMVIRTSIZE.
Some of the causes is update statistics, oncheck of indices, orde by bigs.


Gustavo.
Reply With Quote
  #3 (permalink)  
Old 10-19-04, 12:53
ServerMetrics ServerMetrics is offline
Registered User
 
Join Date: May 2004
Posts: 45
Virtual Seg holds memory for connections, SQL statement memory for prepares/stored procedures, active result sets - basically anything that is not a data row (which goes to the buffer segment). Memory leaks like new SQL cursors being created but never closed or a large number of users running programs with lots of sql and returned rows can typically flood the virtual segment. You can remove 'stale' chunks of used memory using the 'onmode -F' command which can reduce the used % of the segment but it causes a brief performance hit while the search for stale memory is completed.
__________________
Keith Brownlow
ServerMetrics DB Monitoring (www.servermetrics.com)
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