473,404 Members | 2,213 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

How to manually switch active logs

Hi all,
How can i manually switching my active log to next active log.Suppose my First active log file is on S0033915.LOG & i want to move it to S00339116.LOG. because i need backup of this log S0033915.LOG.
Feb 20 '07 #1
1 36948
Hi all,
How can i manually switching my active log to next active log.Suppose my First active log file is on S0033915.LOG & i want to move it to S00339116.LOG. because i need backup of this log S0033915.LOG.
************************

Hi all,
db2 archive log command is manully used for switching active logs
Also for running this command there should not be any existing connection.so first run
db2 terminate
then
db2 archive log for database sample
db2 get db cfg for sample |findstr -i "log"
db2 archive log for database sample
db2 get db cfg for sample |findstr -i "log"
So every time active log increases.

Thanks & Regards,
Sansaniwal
Feb 20 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: hrishy | last post by:
Hi All I was just wundering is there any way of mirroring our active logs just in case of disk failures.wil db2 do it automatically for us maybe through some inititalisation parameter. ...
2
by: hrishy | last post by:
Hi All I was just wundering is there any dictionary view which would tell me which is the current active online log.I am a db2 database newbie please bear with me. regards Hrishy
14
by: GB | last post by:
I heard that db2 (on windows 2000) crashes when making a xcopy of active log files, is this true ? Is there a way to copy active log files without crashing db2 ? Thanks, Greg
2
by: Mark A | last post by:
Anyone have any reservations about using NAS (Network Attached Storage) for DB2 active logs in a high volume OLTP environment?
1
by: bill.dourado | last post by:
Using DB2:- Product identifier SQL08027 Level identifier 03080106 Level DB2 v8.1.14.292 Build level s061108 PTF ...
0
by: prashanthdb2 | last post by:
Hi, Im new to db2. Im using db2 ese 9.1 (fix pack 1) on SLES 9.0 32 bit. I have single instance on three logical nodes 0,1,2. i have cofigured userexit - on, logretain - on, trackmod - on. ...
3
by: Kofa | last post by:
Hi, we have an application which uses online backups, so archive logging is a requirement. We have a small/moderate size database (a few hundred megabytes isn't much by today's standards) with...
0
by: shorti | last post by:
We are running DB2 UDB 8.1 fp 14 on AIX using archival logging and online backups. I was running some disaster tests and found my database restore was not restoring to the latest active log. ...
0
by: victor deng | last post by:
I find the following url which says: "The log must be an archive log so that the log file will not be reused by the source database before the Capture program can read the log." ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.