Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / March 2008

Tip: Looking for answers? Try searching our database.

Calculate the maximum total memory ever used by the instance

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
beena - 27 Mar 2008 20:37 GMT
Hi All,
  Is there a way to calculate the maximum total memory  ever used by
the instance?
 Is db2mtrk the answer ... especially the high watermark option.....
 If I add up all the values......Will  it be the total memory used ?

Thanks
- beena
Liam Finnie - 28 Mar 2008 14:21 GMT
> Hi All,
>    Is there a way to calculate the maximum total memory  ever used by
[quoted text clipped - 4 lines]
> Thanks
> - beena

Hi Beena,

Prior to Viper II (9.5), db2mtrk using the high-water mark is your
best bet, but will not include all memory consumed by the instance.
As well, the results may be misleading - you will not necessarily hit
the high watermark for all heaps at the same time, and some heaps will
come and go during operation (i.e. each new connection that comes in
will require a new application heap).

If you're on Viper II or later though, there is a new table function
that will tell you exactly what you want - admin_get_dbp_mem_usage().
That will tell you the most memory the instance is allowed to consume,
the current memory that is being consumed by the instance, and the
peak/high watermark of memory consumed by the instance since db2start.

Cheers,
Liam.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.