473,491 Members | 2,524 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how to monitor restore process during rollforward ?

Hi,
we are daily restore db "PRICE" with rollforward from server A
into PRICE on server B

Usually we restore from backup with timestamp of ~ 02:00 AM and
applying logs till 7 AM (30-50 logs),restore process last 1 1/2 hr.

Sometimes we need to restore till 10-11 am (80-90 log files).
Restore at this case could last up to 5 hrs.

db2diag.log shows only
Restore Complete.
Rollforward has been initiated

Is any way to see name log files already resrored,during rollforward ?
Thanks

Alex

Nov 12 '05 #1
3 5672
Ian
t2***@hotmail.com wrote:

Is any way to see name log files already resrored,during rollforward ?
Thanks

Have you seen ROLLFORWARD DATABASE ... QUERY STATUS?

Nov 12 '05 #2
db2pd -d <your_db> -recovery

Database Partition 0 -- Database BAZA1 -- Active -- Up 0 days 00:09:05

Recovery:
Recovery Status 0x04000401
Current Log S0000015.LOG
Current LSN 000014E703E0
Job Type ROLLFORWARD RECOVERY
[...]

You can use this command when the rollforward is running. The command
ROLLFORWARD DATABASE ... QUERY STATUS is useful when you already
restored some logs, suspended rollforward, and want to check the name
of the next log to be restored (in order to complete or point to
additional logs).

Nov 12 '05 #3
To monitor rollforward process you can use db2 problem determination
command:

db2pd -d <your_db> -recovery

Database Partition 0 -- Database BAZA1 -- Active -- Up 0 days 00:09:05

Recovery:
Recovery Status 0x0400040
Current Log S0000015.LOG <<<<<<< here
Current LSN 000014E703E0
Job Type ROLLFORWARD RECOVERY
Job ID 3
Job Start Time (1127557712) Sat Sep 24 12:28:32 2005
[...]
You can use this command when the rollforward is running. The command
ROLLFORWARD DATABASE ... QUERY STATUS is useful when you already
restored some logs, suspended rollforward, and want to check the name
of the next log to be restored (in order to complete or point to
additional logs).

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2050
by: xo55ox | last post by:
Hi, I have been trying to set up an automated restore process from prod to backup server. First, I schedule the full database backup nightly, transfer the backup file and restore it to the...
0
1524
by: Erik Hendrix | last post by:
All, I have a interresting problem here. Doing a redirect restore (copying database from 1 system to another). This other system has less available diskspace to it for the log files. This thus...
2
2597
by: Raquel | last post by:
I have asked a similar question before, but am still not very clear on this......expecting some insights on this one.... Ok, so these are the two pieces of information regarding archived logs...
3
1686
by: Raquel | last post by:
During a ROLLFORWARD recovery, are the log datasets copied from the archive log directory to the active log directory? I know the log datasets are copied from archive log directory to active log...
1
4012
by: Fabius | last post by:
Hello, i'm trying to transfer a DB2 database from a PC to another. Following suggestion that Mr. Jan M. Nelken and Mr. Pierre Saint-Jacques give me on this newsgroup i first made a backup of...
2
3078
by: shenanwei | last post by:
DB2 V8.1.5 on Windows. When I execute ROLLFORWARD after a Restore. C:\db2 ROLLFORWARD db sample to END OF LOGS overflow log path(C:\LOGS\) Rollforward Status Input database alias ...
13
7254
by: Andy K | last post by:
Hi , I'm wondering what's going on with a restore I'm trying to do . My DB2 version is a 7.2 on a Linux RH ES 2.1 . I've copy a recent backup that was on NAS for a test on my machine . I...
4
1623
by: Joel Cade | last post by:
I'm attempting to use an HTTP Module to monitor the progress of the request. Is there a way to do this? I've attempted to use the Request.TotalBytes property, and attempted to use the...
2
4279
by: BD | last post by:
Hi there. Using 8.2 on Windows. I have a situation where I have a db backup, which I want to deploy to a group of developer workstations. The target directory for the database files will be...
0
7115
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7154
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7190
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...
1
6858
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
7360
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
5451
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,...
0
3086
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
280
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.