473,387 Members | 1,766 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,387 software developers and data experts.

TABLESPACE DROP AND REDIRECT RESTORE

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
in the backup image are inaccessible, or one or more table space names
in list
of table space names to restore are invalid.

so when I drop my tablespace, whether my containers get dropped? if
dropped how should I do the tablespace redirect command.

Thanks in advance
Vijay

Jul 26 '06 #1
2 5295

vj_dba schrieb:
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
in the backup image are inaccessible, or one or more table space names
in list
of table space names to restore are invalid.

so when I drop my tablespace, whether my containers get dropped? if
dropped how should I do the tablespace redirect command.

Thanks in advance
Vijay
A dropped tablespace can only be recovered by restoring the whole
database to a point-in-time before the tablespace was dropped. Reason
is that drop tablespace also deletes information from the system
catalog. This metadata cannot be restored through a tablespace but only
a database restore

HTH
Joachim

Jul 26 '06 #2
Hi Joachim,

Thanks a lot for reply, I now got the reason why I am not able to
restore my tablespace from my tablespace backup image.

Thanks
Vijay

Joachim Klassen wrote:
vj_dba schrieb:
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
in the backup image are inaccessible, or one or more table space names
in list
of table space names to restore are invalid.

so when I drop my tablespace, whether my containers get dropped? if
dropped how should I do the tablespace redirect command.

Thanks in advance
Vijay

A dropped tablespace can only be recovered by restoring the whole
database to a point-in-time before the tablespace was dropped. Reason
is that drop tablespace also deletes information from the system
catalog. This metadata cannot be restored through a tablespace but only
a database restore

HTH
Joachim
Jul 27 '06 #3

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

Similar topics

2
by: Patrick Tan | last post by:
I have a tablespace which is approaching 64 GB (for a single table), i understand that for 4k page sized tablespaces, this is sized tablespace, what's the best way / fastest way to do it ? can...
8
by: Amy DBA | last post by:
OK, I'm stumped now. I need help restoring a tablespace that has been marked offline. Here's a little background on the problem: 1) There was a hardware failure that caused the tablespace to...
7
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...
6
by: hikums | last post by:
How to accomplish a tablespace move from 32K to 4K page size on AIX 5.2, DB2 UDB 8.2? Enable forward recovery, take 32K tablespace backup, drop 32K tablespace, create 4K tablespace, restore to...
6
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...
1
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...
4
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...
3
by: dcruncher4 | last post by:
It is possible that we may be asked to restore a production tape, say 3 yrs later. We would prefer redirect restore for that. I am documenting a process to do a redirect restore. We take...
1
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...

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.