> Thanks for your reply Phil.
> I have some reservations however. I was under the impression that
[quoted text clipped - 12 lines]
> memory allocated when CLOB variables are passed to a DB2 stored
> procedure?

Signature
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Serge,
Thanks for your explanation. Indeed, we have seen an increase in
performance for stored procedures (that don't use CLOBs) for DB2 v9 vs
Db2 v8. So, some good work has been done here :-)
I'm not sure what you mean by materialized? Could you explain?
I have increased the application heap ( I assume this was the
APPLHEAPSZ database configuration parameter), but this makes little
difference. I have written my tests in CLP scripts (to take Java out
of the equation) but sadly Java can't be blamed for this. So, there
must be something going on with DB2.
I have run the vmstat -s command which gives me:
0 paging space page ins
0 paging space page outs
which usually indicates some sort of memory bottleneck.
As a reference DB2 8.2.7 gave me:
8327 paging space page ins
28357 paging space page outs
So, i suppose my question is, what db2 utility could i use to track
down where my memory bottleneck is?
cwahlmeier@data-tronics.com - 07 Feb 2007 21:17 GMT
Otto,
I don't know if my experience pertains to your problem or not, but I
will share it. After migration to V9.1, our queries that select BLOBS
via ADO suddenly went from sub-second elapsed times to over a minute.
I opened a PMR with IBM, but that wasn't going well. Among the many
traces I did, I noticed in an event trace that the statement was
spending all of its time in NULLID.SYSSTAT. I researched it and found
that it is part of the CLI. It gets bound when we bind DB2CLI.LST.
So, I dropped that package and rebound DB2CLI.LST. Surprisingly, that
fixed my problem. I am not sure why it fixed it! However, I do know
that they started using a BIND ADD instead of a BIND REPLACE on the
SYSSTAT bind. Thus, it would not be rebound if it already existed.
Again, maybe this is off base, but our problems bear some
similarities.
Best of luck,
Craig Wahlmeier
Otto Carl Marte - 28 Feb 2007 11:00 GMT
Just an update on this. I opened a PMR with IBM on this performance
issue. The result of the investigation of this was that there is a
memory allocation problem for CLOBS with DB2 v9.1.0 which results in
degraded performance. This has been fixed and will be included in
FixPak 3.