If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > TEMPSPACE is getting filled up.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-16-06, 14:29
sudheerkumars sudheerkumars is offline
Registered User
 
Join Date: Apr 2006
Posts: 4
TEMPSPACE is getting filled up.

Hi,

I'm trying to load a table and getting error because TEMPSPACE is getting filled up.

Here is the load command I used.

load from /db2/uszbad10/db2wkarea/cos/data/COS_TCOSW910exp.ixf of ixf savecount 5000 replace into COS.TCOSW910;


Here is the error message :

SQL3110N The utility has completed processing. "30084239" rows were read
from the input file.

SQL3519W Begin Load Consistency Point. Input record count = "30084239".

SQL3520W Load Consistency Point was successful.

SQL3515W The utility has finished the "LOAD" phase at time "08/16/2006
13:59:29.587932".

SQL3500W The utility is beginning the "BUILD" phase at time "08/16/2006
13:59:29.600325".

SQL3213I The indexing mode is "REBUILD".

SQL0289N Unable to allocate new pages in table space "TEMPSPACE3".
SQLSTATE=57011

I increased the size of TEMPSPACE3 many times,,, but still getting error.

Any thoughts ?

Thanks,

Sudheer
Reply With Quote
  #2 (permalink)  
Old 08-16-06, 14:44
dbamota dbamota is offline
Registered User
 
Join Date: Sep 2003
Posts: 237
index has the (indexfields + the rowid (5bytes)) for each row; if your indexfield is 11 bytes you are looking at 16 *30mil=480meg roughly for index size; since db2 uses tempspace3 for sorting, you need temp3 to be something like 2 times the index size( 960meg or 1gig in our example).
__________________
mota
Reply With Quote
  #3 (permalink)  
Old 08-16-06, 17:52
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
How many indexes do you have on the table? To complete the load, drop all indexes except the PK. The try the load again. If that doesn't work, then try to increase tempspace as posted by dbamota.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On