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 > Physical log files in DB2 growing up in size

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-16-09, 07:07
buchi buchi is offline
Registered User
 
Join Date: Apr 2009
Posts: 3
Physical log files in DB2 growing up in size

The database space came down to 42% from 97%, after truncating the table.So it appears although the table rows are deleted the physical file is unaffected, but on a truncate it wipes out everything.

The 2.5 gig file came down to 26 kb after the truncate.

why the physical file is never cleared eventhough the related table rows are deleted.

-rw------- 1 inst01 db2adm 262144 Apr 03 06:30 /inst01/NODE0000/SQL00005/SQLT0002.0/SQL00113.LB
-rw------- 1 inst01 db2adm 1583349760 Apr 03 06:30 inst01/NODE0000/SQL00007/SQLT0002.0/SQL00031.LB

Kinldy advice wht needs to be done so the physical file never grows up in size and occupy much memory
Reply With Quote
  #2 (permalink)  
Old 04-16-09, 07:29
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
what is the tablespace type sms or dms
autoresize on yes/no
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 04-16-09, 08:36
buchi buchi is offline
Registered User
 
Join Date: Apr 2009
Posts: 3
The tablespace is SMS with autoresize set to YES
Reply With Quote
  #4 (permalink)  
Old 04-16-09, 09:29
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by buchi
The tablespace is SMS with autoresize set to YES
That's not possible. AUTORESIZE does not make any sense for SMS tablespaces.
Reply With Quote
  #5 (permalink)  
Old 04-17-09, 00:26
buchi buchi is offline
Registered User
 
Join Date: Apr 2009
Posts: 3
how do i proceed with thinngs?
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