By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,611 Members | 2,296 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,611 IT Pros & Developers. It's quick & easy.

DB2 Stress Testing

P: 1
I have been put in charge of running stress tests to monitor DB2's memory usage. I have never had to do stress testing myself and am fairly new to the area, so I am in foreign territory. I have found Jmeter to work with and have successfully connected and can run about 10k requests from one of my lab machines against DB2 located on another lab machine. I am using a simple SELECT * FROM <table_name> statement for each request. I am currently working under WinSrv2k3 and would like to monitor my memory usage of DB2 during the tests. I have found that the task/perf manager isn't much help, or I don't know how to read it, as it does not change much physical memory usage but the page file usage skyrockets when I start testing. I have found Microsoft's PerfWiz and have been working with that but I am still not sure I am getting accurate readings since the amount of "Available KBytes" for Memory never seems to change despite modifications to scale. So I have a number of questions...

Does DB2 have a resource to indicate it's current/peak memory usage?
Is there a better way to judge the memory usage? formula to use?
Is DB2 not using much memory because I continue to throw the same query at it?

I am ultimately testing a script I am trying to use to limit the memory usage of DB2 in order to be in line with the 4Gig limitation expressed at this link:

My current script is:

echo Preparing to change DB2 Express memory limitation"
CONNECT TO <db_name>
echo Completing the change of DB2 Express memory limitation;
I am using 250000 since I want to use 1 Gig of Memory (instead of 4 Gig, 1000000, as used in the link) and I am working on a 3 Gig 1 Gig is 33% of 3Gigs. Any thoughts on the script are welcome also...
Nov 15 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.