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 > SMS Tablespace 8(TEMP_16K) is FULL or file is too large

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-27-06, 04:44
atinjain05 atinjain05 is offline
Registered User
 
Join Date: Mar 2006
Location: UK
Posts: 8
Post SMS Tablespace 8(TEMP_16K) is FULL or file is too large

Hi All

I am doing a select query on a table which is having 17 million record having 4 column in order by clause.I am getting following error

SMS Tablespace 8(TEMP_16K) is FULL or file is too large (at OS or user limit).
Detected on Container 0. ContPage= 67088 Obj=10 Type=128.

DB2 version : 7.2
AIX version : 5.2.0.0.

I have enough space in temp tablespace still I am getting this error

Temp tablespace is 35GB and ulimit is unlimited.file system is JFS2 .

If anybody have ever seen this problem please help me.

Regards
Atin
Reply With Quote
  #2 (permalink)  
Old 03-27-06, 05:51
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Any message in db2diag.log ?

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 03-27-06, 05:57
atinjain05 atinjain05 is offline
Registered User
 
Join Date: Mar 2006
Location: UK
Posts: 8
The message which i have posted is from db2diag.log only.

SMS Tablespace 8(TEMP_16K) is FULL or file is too large (at OS or user limit).
Detected on Container 0. ContPage= 65653 Obj=10 Type=128


regards
atin
Reply With Quote
  #4 (permalink)  
Old 03-27-06, 09:16
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Create an index with the columns referenced in your ORDER BY clause.
Reply With Quote
  #5 (permalink)  
Old 03-27-06, 10:06
atinjain05 atinjain05 is offline
Registered User
 
Join Date: Mar 2006
Location: UK
Posts: 8
But this error is keeps coming for many tables which is having large ory area.

I can see temp file size is terminated as soon as it reached 1GB

regards
Atin
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