APPGROUP_share_heap error in db2

Thursday, August 30, 2007

SQL0973N Not enough storage is available in the
"APPGROUP_SHARE_HEAP" heap to process the statement. SQLSTATE=57011 ???

For "application group shared heap size" , you need to look at three


The number of applications in one application group is calculated by:

The application group sharedheap size is calculated by: APPGROUP_MEM_SZ

Great article about DB2 locking

Wednesday, August 08, 2007

Understanding locking in DB2 Universal Database

An illustrated example

Level: Intermediate

How Can Statistics Be Updatee Using SQL

Monday, August 06, 2007

Post new reply
I'm afraid. you are mistaken ... You can do runstats from local or remote as long
as you are able to connect to the database ... But the reason you are unable to
RUNSTATS from java is that - RUNSTATS is a command and not SQL ...

If you are atleast on FP9 of Version 8, then you can use ADMIN_CMD stored procedure

DB2 Viper 2 compatibility features

Wednesday, August 01, 2007

Make your applications port easier.

Below is a post by Serge Releiu talking about DB2's sql avatar, and how we can
use them with caution to tackle porting worries..

Cursor in UDFs ??

Wednesday, July 25, 2007

SQL PL can be categorized into two technologies.
One is "inline" SQL PL, the other, what I like to call "packaged" or
"compiled" SQL PL.
Procedures are compiled once into static SQL when they are created.

SQL Functions, Methods and Triggers as well as a standalone BEGIN ATOMIC
.... END statement (a dynamic compound) are not compiled into separate
objects. A trigger or SQL function get macro expanded into the
surrounding statement and compield within it's context.
This is very powerful technology, but also very tricky.
Consequently inline SQL PL has only a subset of the statements at its
These are:
FOR loop (which is very close to a CURSOR)
DECLARE variable
DECLARE condition

I know of only two things that inline SQL PL can do today that packaged
SQL PL cannot:
Multi column set (SET (a, b, c) = (....))
and SELECT and VALUES without INTO clauses

The former is on the todo list, the later is a historical feature.

Thanks to Serge Rielau, IBM Toronto labs..

Leverage data partitioning for scalability and high performance on Linux

Friday, June 29, 2007

Secrets surrounding db2 locking behaviour

Thursday, May 31, 2007

Packages : concepts, examples and common problems

Friday, April 20, 2007

I am changing this blog into a full db2 blog that I am going to note down my everyday experiences and links that I wont want to miss.. The 1st of them is about packages, which is not an easily understandable concept in db2 atleast in UDB universe.

Packages : concepts,examples and common problems

Below is the blog of Dwaine Snow, the author of
Advanced db2 dba certification 704

Dwaine Snow's blog

And atlast this is Susan Visser's blog on IBM pubs in everything DB2 UDB.