Hi Everyone.
Thanks a lot for your inputs. We have reduced the size of all the
DBCLOB columns from 1G to 30K. The table creation is successful and
data also has been loaded successfully. However when viewing this data
from the control center we run into error about lob locator limit
exceeding. From command line, the select goes through without this
issue. We tried playing around with the lobcachesize parameter but
still no effect. Any suggestions would be appreciated !!
Thanks again.
> Hi Everyone.
> Thanks a lot for your inputs. We have reduced the size of all the
[quoted text clipped - 5 lines]
> still no effect. Any suggestions would be appreciated !!
> Thanks again.
How many rows are you selecting back in one shot?
In DB2 V8 for LUW I think 32000 locators are supported. In DB2 9 it's
some big number in the millions.

Signature
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
IOD Conference
http://www.ibm.com/software/data/ondemandbusiness/conf2006/
> Hi Everyone.
> Thanks a lot for your inputs. We have reduced the size of all the
> DBCLOB columns from 1G to 30K. The table creation is successful and
> data also has been loaded successfully. However when viewing this data
> from the control center we run into error about lob locator limit
> exceeding.
You could add the following to your [common] section in the db2cli.ini file:
PATCH2=50
That will cause LOB locators to be freed upon the next fetch.
> From command line, the select goes through without this
> issue. We tried playing around with the lobcachesize parameter but
> still no effect. Any suggestions would be appreciated !!
The CLP doesn't use LOB locators as does CLI (which is employed by the
control center).
Another alternative in your own application is to roll a commit/rollback
operation more frequently.
Serge, there is no change to the limit of 32100 - according to the V9 docs
(http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp). Am I
missing something?

Signature
Knut Stolze
DB2 Information Integration Development
IBM Germany
Jo - 28 Jul 2006 01:43 GMT
>From the control center we double-click on the table, the first 100
rows are fine, when we click to fetch the next 100 rows we run into
this error about lob locators. From CLP fetching all the rows is fine.
There are over 2200 rows. Is there any workaround to bypass this issue
when selecting from the control center? We are still using v8.2
Jo - 28 Jul 2006 02:33 GMT
If the PATCH2=50 is set then all the columns have an error message
inside them when viewed from the control center. The message says "
SQL0423N..."
> >From the control center we double-click on the table, the first 100
> rows are fine, when we click to fetch the next 100 rows we run into
> this error about lob locators. From CLP fetching all the rows is fine.
> There are over 2200 rows. Is there any workaround to bypass this issue
> when selecting from the control center? We are still using v8.2