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 > Update Cfg

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-22-05, 22:52
AnilKale AnilKale is offline
Registered User
 
Join Date: Feb 2005
Posts: 118
Update Cfg

I am using UDB DB2 ver 7.2 for Windows 2000. I have a few databases in my instances (say db1, db2,db3).
lets say I want to resize the log file for db1, so I say
update db cfg for db1 using logfilsiz 1000
now for the new logsiz value to take effect, i used the following command
db2stop force
db2start

the problem with this approach is that all connections to db2 and db3 are impacted as well.
Is there a cleaner way to doing this, esp when there are connections to other databases ?

thanks.
Anil
Reply With Quote
  #2 (permalink)  
Old 02-23-05, 00:34
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
No guarantees, but...

Try disconnecting all applications to the one database (not stopping the entire instance). This should deactivate the database. If you explicitly activated the database, then you will need to explicitly deactivate it (Command Reference). When the first connection is made to the database it will be activated, and the new log file size should take effect.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
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