Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Tablespace & Table Recovery

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
jontyjun

New User


Joined: 12 Sep 2006
Posts: 12
Location: India

PostPosted: Mon Mar 02, 2009 12:48 am    Post subject: Tablespace & Table Recovery
Reply with quote

Hi,

This query is in DB2 for z/os.I created a Tablespace and created two tables - Table A & TableB. Inserted 5 rows each. Took Image copy of the tablespace and dropped TableA.

I ran the Recover job but did not get back the dropped table TableA.

Whereas If I just deleted few rows from the TableB and ran the Recover Tablespace utility then the rows are restored to TableB.

Tried re creating the TableA. Didnt insert any rows. Ran the recover tablespace job but still didnt get the data back to that TableA.

Does the mean that the Recover utility recovers data only for those tables for which the records are deleted and does not recover the whole table at all?

One of my friend tried it in his DB2 for z/os(different company) and he says he dropped the table and when he ran the Recover tablespace job he got back the dropped table too.
He also used the same DB2 Ver 8.1 as mine.

Please clarify.. Should I change some parameters in my environment.
Back to top
View user's profile Send private message

sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Mon Mar 02, 2009 12:34 pm    Post subject:
Reply with quote

JontyJun,

There is a lot of difference between a recovering DATA & recovering an OBJECT. Lots of things happen when you drop an object or create one.

This is DATA RECOVERY
Quote:
Whereas If I just deleted few rows from the TableB and ran the Recover Tablespace utility then the rows are restored to TableB.


Quote:
One of my friend tried it in his DB2 for z/os(different company) and he says he dropped the table and when he ran the Recover tablespace job he got back the dropped table too.

Did you compare the RECOVERY JOB & PARAMETERS involved of your shop & friends shop.

Thank You,
Sushanth Bobby
Back to top
View user's profile Send private message
jontyjun

New User


Joined: 12 Sep 2006
Posts: 12
Location: India

PostPosted: Thu Mar 05, 2009 10:02 am    Post subject:
Reply with quote

Compared the jobs and parms.. both r same. But I feel as per the IBM manuals the dropped object cannot be recovered just by running the recover jobs.

Firstly the OBID should be translated to the old OBID then recovered.

Thx..
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Thu Mar 05, 2009 10:14 am    Post subject:
Reply with quote

Jontyjun,

In your friends place, there might be some shop specific settings for RECOVERing DB2 objects.

Thank You,
Sushanth
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts PC (UTF-8) -> z/OS (EBCDIC) -> ... prino All Other Mainframe Topics 4 Fri Sep 01, 2017 1:47 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us