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 > Log files

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-19-07, 10:03
oracle10gsingh oracle10gsingh is offline
Registered User
 
Join Date: Nov 2007
Posts: 72
Log files

Hi,
Please tell me the way how can i archive my log files ? i guess its with archive command ..but on what basis should i archive them ??how many log files will go will it effect to users connected to the database or it should taken in a offline mode
my log files are of 100 gb now ..
Q1.what should be the strategy to archive the log files ? ?

Q2.also i am storing my log files on the system and data on the SAN box is it the correct way to be done !??

Q3.my databases have grown to 300 gb is it possible somewhere to reduce the size ? i mean data be compressed ? ?
Reply With Quote
  #2 (permalink)  
Old 12-19-07, 11:19
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
you can archive to disk/tape/tsm
why such large log files - it will take long time to copy and if a crash occured, much data can be lost
make smaller log files - like 10M each
archive is asynch as occures when an active log file is closed
table compressing is possible in v9
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
  #3 (permalink)  
Old 12-19-07, 11:26
oracle10gsingh oracle10gsingh is offline
Registered User
 
Join Date: Nov 2007
Posts: 72
thanks for the reply ! !
when i say its 100 gb means it means in total size of the log files ..not a single log file .
but if i archive them ..will the database will be effected ? and do i need them in case i am doing a restore ?
also please answer my question regarding log on hard disk and data on SAN box .
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