Q and A

Asked and Answered

Top Ten Performance Tips

What is a "high water mark" and what does it tell you?

Scott Hayes responds:

A high water mark is a maximum value observed by DB2. The observation period begins when the monitor switches are turned ON. High water marks can often be used to help set certain configuration values, to ensure sufficient resources are available for peak demand times.

I am using Circular Logs with all 4GB size used with 80+30 Logs as Pro. [and] Sec. logs. I am getting 'Transaction Logs FULL.' Any suggestions?

Scott Hayes responds:

In answer to your question below, if the circular logs are becoming full, then you have a connection to the database that has work (DML-Insert, Updates, Deletes) that hasn't been committed or rolled back. You should make sure your DB2 connections commit their work to avoid filling up the DB2 logs.

I have 22 million rows to be inserted and using commit after every 1000 rows generated. Do I need to increase commit point? I have few jobs running parallel.

Scott Hayes responds:

Try a commit every 500 inserts. More importantly, make sure there are no other connections that have not issued a commit. One idle connection that hasn't committed could cause your logs to fill during high insert volume from other connections. You might try terminating all connections except the insert jobs/scripts.


See a complete archive of reader/author Q&As .

Back to Top 10 Performance Tips by Scott Hayes.

CAREER CENTER
Ready to take that job and shove it?
SEARCH JOBS
RECENT JOB POSTINGS
CAREER NEWS
10 Search Engines You Don't Know About
Go beyond Google and get vertical. These specialized search sites will help you find the business information you need -- fast.

Subscribe to the new digital version of IBM Database Magazine
New Digital Version

Sponsored links:



Subscribe to the IBM Database Magazine Newsletter

Email Address *
First Name
Last Name
HTML Preference
HTML Text
 

Fields with * are required.

 




Visit these other IBM and TechWeb Partner Sites: :
Maximizing ROI Through Business Process Management (BPM) and Service-Oriented Architecture (SOA)
Internet Evolution – The Macrosite for News, Analysis, & Opinion About the Future of the Internet
Business Innovation – Technology Strategies and Solutions for Driving Business Success


:: IBM Database Magazine ::