Quote:
Originally posted by tylerr
Hi, I am running UDB 7.2. While running the stored procedure below it runs for about 4 min then gives this error:
SQL0289N Unable to allocate new pages in table space "SIEBEL_32K". SQLSTATE=57011
|
$ db2 "? SQL0289N"
SQL0289N Unable to allocate new pages in table space
"<tablespace-name>".
Explanation: One of the following conditions is true:
1. One of the containers assigned to this SMS table space has reached the maximum file size. This is the likely cause of the error.
2. All the containers assigned to this DMS table space are
full. This is the likely cause of the error.
3. The table space object table for this DMS table space is full.
4. A rebalance is in progress, but has not progressed far enough to enable the newly added space to be used.
5. A redirected restore is being done to containers that are too small.
6. A rollforward is being done following a redirected restore and all the containers assigned to this tablespace are full.
7. A rollforward skipping add containers is being done and all the containers assigned to this tablespace are full.
Details can be found in the system error log and/or the database manager error log.
User Response: Perform the action corresponding to the cause of the error:
1. either switch to a DMS TABLESPACE or recreate the SMS TABLESPACE with more directories (PATHs) such that: (number of directories) >= (max tablesize / maxfilesize). Note that maximum file size is operating system dependent.
2. add new container(s) to the DMS table space and try the operation again, after the rebalancer has made the new pages available for use.
3. drop unnecessary tables from this DMS table space.
4. wait for the rebalancer to make more progress.
5. perform the redirected restore again to larger containers.
6. perform the redirected restore again to larger containers.
7. perform the rollforward again allowing add containers, or perform a redirected restore to larger containers.
sqlcode: -289
sqlstate: 57011