473,378 Members | 1,422 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

DB2 Stress Testing

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:

http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.uprun.doc/doc/t0008099.htm

My current script is:

------Change_mem_usage.bat---------------------------
echo Preparing to change DB2 Express memory limitation"
CONNECT TO <db_name>
UPDATE DATABASE CONFIGURATION using DATABASE_MEMORY 250000 IMMEDIATE
AUTOCONFIGURE USING MEM_PERCENT 33 APPLY DB AND DBM
CONNECT RESET
echo Completing the change of DB2 Express memory limitation;
QUIT
--------------------------------------------------------------------
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 machine...so 1 Gig is 33% of 3Gigs. Any thoughts on the script are welcome also...
Nov 15 '07 #1
0 1555

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

Similar topics

0
by: Mark | last post by:
I'm having intermittent trouble with the Scripting.FileSystemObject. Basically, I'm stress testing my ASP application and using the FSO to output lots of instrumentation/debug information to the...
1
by: Gwen | last post by:
I need help stress testing with .Net. How do I begin?
0
by: Chuck | last post by:
Sorry for the advertisement but I think this is something that people could actually use. I am creating a new product called Simple Load Testing and I thought I would see if anyone would be...
2
by: Robert Hooker | last post by:
I have a fiarly high powered machine for development. This is a bit of curse at times though, since I am sometimes not exposed to the bottlenecks for performance that a lower spec machine might be...
7
by: cpnet | last post by:
I'm trying to stress-test some controls I've built in a sample web app using ACT. I'm now using IIS on my SBS 2k3 machine as my webserver for the test, and ACT is running on my XP Pro (sp1)...
3
by: Darkstar 3D | last post by:
If you want to stress test your Apache/PHP server just have a small little typo like this: $errCodes=range(910000,9100005); in your code instead of $errCodes=range(910000,910005); Some...
1
by: ESmith | last post by:
I need to stress test an application I've developed - are there any libraries/classes that can do things such as limit RAM available, Disk Space, etc. to help determine the system limits? Since...
4
by: FFMG | last post by:
Hi, I want to stress test my dev box to see where the bottle necks in my script might be. I don't really need to test MySQL or Apache, (I have no doubt they are working fine), but rather want...
3
by: MacRules | last post by:
Found this testing tool, http://simpletest.sourceforge.net/ I am looking for PHP scripts which can be used as create many connections to a web server or MySQL back end for stress testing. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.