View Single Post

   
  #1 (permalink)  
Old 02-26-2008, 10:14 AM
Fan Ruo Xin
 
Posts: n/a
Default runstats and error code 930

DB2 UDB ESE V8.1 (64bit) + fp2 on AIX5L
I kept fighting with this error and finally I got tired.

$ db2 "runstats on table blah.blah with distribution and detailed
indexes all"
SQL2310N The utility could not generate statistics. Error "-930" was
returned.

===========
2003-07-25-11.12.13.516092 Instance:xxxxxx Node:000
PID:34882(db2agent (xxxxxxx) 0) TID:1
Appid:*LOCAL.xxxxxx.0823B5154618
oper system services MemAllocate Probe:203 Database:xxxxxx
OS memory allocation (malloc()) failure.
errno =
0x0FFFFFFFFFFF2D60 : 0x0000000C
=============

How much memory does this utility try to get? ???
There is at least 6G physical memory left and my pageing space is 2G (I
don't need a big one).

Does anyone have any idea?
BTW, I need the detailed statistics information.

================================
$ db2 ? sql0930


SQL0930N There is not enough storage available to process the
statement.

Explanation:

A request was made to the database that required another memory
page but no more pages are available to the database manager.

The statement cannot be processed.

User Response:

Possible solutions include:

o Verify that your system has sufficient real and virtual
memory.

o Remove background processes.

o If the error occurs during DUOW resynchronization, increase
the maxagents and reduce the resync_interval database
manager configuration parameter values.

o If the error occurs on a statement which referenced a routine
(UDF, stored procedure or method), it may be that the storage
required to contain the arguments and return values was more
than the memory available in the system. This might occur if
the routine is defined with BLOB, CLOB, DBCLOB parameters or
return values, having a large size (2GB for example).



If the possible solutions listed above do not solve the problem,
it may be necessary to consider changing the definition of the
routine.

sqlcode : -930

sqlstate : 57011


Regards,
Fan Ruoxin

Reply With Quote