According to the manual: If you have created a new log sequence after
recovery, any tablespace backup images on the old log sequence are
invalid. This is usually recognized at restore time.
Could someone let me know 'how' this is recognized at restore time?
TIA
Raquel. 5 2507
Raquel <ra************ ****@yahoo.com> wrote: According to the manual: If you have created a new log sequence after recovery, any tablespace backup images on the old log sequence are invalid. This is usually recognized at restore time.
Could someone let me know 'how' this is recognized at restore time?
In the header of each log file, there is information that uniquely
indentifies which log chain it belongs to. This way you can't take a
log from one chain and replay it as part of a rollforward along a
different chain.
Similarly, when a backup is taken, it stores information about what log
chain is current at the time. If you use this backup in a tablespace
restore, db2 will verify that the same log chain is active as was active
at backup time.
dave
Raquel <ra************ ****@yahoo.com> wrote: According to the manual: If you have created a new log sequence after recovery, any tablespace backup images on the old log sequence are invalid. This is usually recognized at restore time.
Could someone let me know 'how' this is recognized at restore time?
In the header of each log file, there is information that uniquely
indentifies which log chain it belongs to. This way you can't take a
log from one chain and replay it as part of a rollforward along a
different chain.
Similarly, when a backup is taken, it stores information about what log
chain is current at the time. If you use this backup in a tablespace
restore, db2 will verify that the same log chain is active as was active
at backup time.
dave
Thanks David. Didn't find this piece of information in any IBM Manual.
If there is some place where IBM has documented this, could you let me
know because it might have many other answers to my naive doubts.
Regards,
Raquel.
Thanks David. Didn't find this piece of information in any IBM Manual.
If there is some place where IBM has documented this, could you let me
know because it might have many other answers to my naive doubts.
Regards,
Raquel.
Raquel <ra************ ****@yahoo.com> wrote: Thanks David. Didn't find this piece of information in any IBM Manual. If there is some place where IBM has documented this, could you let me know because it might have many other answers to my naive doubts.
The documentation tends to describe how features work from the db admin's
point of view. Internal details about how the features work are generally
not documented. Some of this stuff is dicussed in white papers and at
conferences, though.
dave This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Raquel |
last post by:
How are the following two commands different as far as the 'end
result' of the restores is concerned:
1. db2 RESTORE DB mydb
2. db2 RESTORE DB mydb TABLESPACE
In other words, in the above case, what is the difference between
'database restore (performed in point 1 above) Vs the 'tablespace
restore' (performed in point 2 above).
|
by: CCC via DBMonster.com |
last post by:
We use redirected restore to refresh test from prod on different AIX 5.2
servers. The databases have the same number, size and names of cooked
containers. The only difference is the fully qualified path contains a
different "SID": eg. "/db2/PRD/data1/..." versus "/db2/TST/data1/...".
(Please note as an SAP installation I cannot change this layout).
We use "set tablespace container" statements to redefine the fully
qualified container...
|
by: Raj |
last post by:
How can we do an online restore of a tablespace using the incremental
backup's? we are on a partitioned database...
Also, how could we use backup copy made by the load (using the copy to
option in load) to revover the tablespace?
Thanks,
Raj
|
by: Raj |
last post by:
How can we restore a tablespace from a Full backup to a new tablespace
with out effecting the existing tablespace.. (can we use the redirect
option in the backup command for tablespace recovery ???)
Thanks,
Raj
|
by: Joachim Klassen |
last post by:
DB2 V8.2 FP10 on Windows
I tested the following HADR scenario:
- a new tablespace on a new filesytem is created on the primary System
- the replay on standby fails because of lacking permissions
- the tablespace is backed up on the primary system
- tables are created in the new tablespace and data is inserted (and a
couple of logs are archived)
- Takeover is done by the standby
| |
by: hikums |
last post by:
Source/Production system: AIX 5.2, DB2 8.2
I have a full backup of sample db taken on 05/01/2006(logs included in
backups)
I have a tablespace backup of userspace1 taken on 05/03/2006(logs
included in backups)
There are other tablespaces in this db as well
There is retention logging
I want to restore the userspace1 tablespace of sampledb into newdb on
|
by: Raj |
last post by:
-Is it possible to recover a tablespace just from a full offline backup
and offline incremental backup?
If not possible
-Can we recover tablespace from Full backup , Wednesdays incremental
backup (logs before wednesday are lost) to a point in time on Friday
Thanks,
Raj
|
by: vj_dba |
last post by:
Hi Group,
I have a problem in restoring my tablespace, my database is running in
ARCHIVAL logging, I created a tablespace, did some transaction, then
took the ONLINE BACKUP of the tablespace. Then I dropped the tablespace
and tried to restore from the tablespace backup image, when I do this
it's throwing error
SQL2549N The database was not restored because either all of the table
spaces
|
by: satish mullapudi |
last post by:
Hi All,
I am using Db2 UDB v 8.2 on RHEL . I have performed a load operation on
a table. Now that tablespace has been switched into RESTORE PENDING
state. Now I can only read the data in the table. I can't modify the
data in the table as it is giving me an error saying "Tablespace Access
denied". How can I bring the tablespace out of RESTORE PENDING state?
Please help me out
Thnak you in Advance.......
|
by: Sam Durai |
last post by:
Env: DB2 v9.1 Server / Win XP. DB is enabled for Archival Logging.
Was playing around with rebuild tablespace feature. My database 'CARD'
has tablespace named t1,t2,t3.
Taken couple of individual tablespace backup as below
C:\dir1>db2 "backup db card tablespace(syscatspace,userspace1,t1)"
Backup successful. The timestamp for this backup image is :
20070402114435
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |