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

container recovery

Hi all,

Is there a way to recover a single container if its been corrupted or
mark bad without restoring whole tablespace?

environment: db28.1/aix5.1/tsm/rs-6000.

Regards
Jignesh
Nov 12 '05 #1
3 2604
Ian
jignesh shah wrote:
Hi all,

Is there a way to recover a single container if its been corrupted or
mark bad without restoring whole tablespace?

environment: db28.1/aix5.1/tsm/rs-6000.

Regards
Jignesh


No. Minimum recovery = tablespace.

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Nov 12 '05 #2
Jignesh, I am Posting our IM's on this topic, I do not know If I
should but it
may be useful to revit this discussion.

Anand Zandy, I have a DB2 question
Anand Can I ask u
Zandy sure
Anand is it possible to restore a container if its mark bad or not
available for some reason without restoring the whole tablespace"?
Anand for eg: say 1 tablespace has 10 containers and i want to restore
only 1 container
Zandy Wow. That's some question you have there. Frankly I'm not yet
that adept with DB2 to answer it with certaintly but my gut tell me
it's possible as long as you have the backup of the transaction logs.
Zandy You can do a point in time restore
Anand Thanks
Zandy np. I can research it more if you want.
Anand My friend had a question, not me
Anand if time permits
Zandy I also depends on the version of DB2
Zandy I think in version 8 , you can do this
Anand he is using db2 udb 7.2/8.1
Anand Zandy he says .......but u know....if one container is not
available for some reason then crash recovery happens for that
tablespace
Anand he says ...................minimum recovery is a tablespace
recovery
Anand he says ...............in db2, data in tablespace is scatters
(rebalanced) in each and every container
Anand he says ....................in v8, one can drop a container
Zandy I see. Looks like your friend is right. I just did a quick
search in Google
Zandy http://groups.google.com/groups?q=co...ups.com&rnum=1
Anand Zandy, I am just passing messages bet you guys :}>
Anand thx Zandy for your help
Zandy See one of the limitations of Db2? In informix, you can do this
since version 5
Zandy I really miss Informix :-(
Anand He says ..................but u know u cannot restore one table
in informix
Anand he is the same guy how has posted message on google :}>
Zandy :-)
Anand he is the same guy who has posted message on google :}>

Anand I guess he is correct, you can not restore one table in informix
Zandy that maybe true but there is still a workaround
Anand I asked him ............can you tell me ..what's container ...in
informix langauge ?
Anand he says ............in informix, we hve dbspace and in db2 we
hve tablespace
Zandy container is a chunk
Anand he says ...........in informix and db2, we have containers
within the tablespace/dbspace
Zandy tablespace = dbspace
Anand does informix has 2GB limitation on each chunk ?
Zandy not anymore. Since 9.4
Zandy only difference is that a tablespace in DB2 can only belong to
one database

Zandy in Informix, many databases can share a tablspace
Anand Thx a lot zandy for sharing all this info
Zandy np

jignesh74: Hi
Andy: kem cho ?
jignesh74: fine...howz u
Andy: good
jignesh74: cool
Andy: how's everything? any scoops ?
jignesh74:
jignesh74: no scoops
Andy: Hey, I got my watch, it was in the car ...sorry for the trouble
jignesh74: r u working on db2 udb database?
Andy: nope, only informix
jignesh74: hve any idea abt that
jignesh74: oh ok
jignesh74: i have one doubt
Andy: currently on Microsoft word
jignesh74:
Andy: what ?
jignesh74: container (raw device) kaa doubt hai
Andy: Shall I ask another friend who is working on db2 ?
jignesh74: yup...defi
Andy: okay, what's your question ?
jignesh74: just ask " is it possible to restore a container if its
mark bad or not available for some reason without restoring the whole
tablespace"?
jignesh74: for eg: say 1 tablespace has 10 containers and i want to
restore only 1 container
Andy: I will ask him
jignesh74: sooner the better
Andy: okay, will do
jignesh74:
jignesh74: can u ask rite now?
jignesh74: or say today?
Andy: yup, I am asking him right now
jignesh74: cool
jignesh74: i m waiting...
Andy: I have asked him, waiting for his answer
jignesh74: okie
jignesh74: i know it is not possible but just to be sure want to know
if someone expert mite have tried this...
Andy: okie, let see what he answers ..he is a techie
jignesh74: alrite...buzz me once u come get an answer from him
Andy: sure
Andy: his answer
Andy: Wow. That's some question you have there. Frankly I'm not yet
that adept with DB2 to answer it with certaintly but my gut tell me
it's possible as long as you have the backup of the transaction logs.

Andy: You can do a point in time restore

jignesh74: yes
jignesh74: hmmmm
Andy: what version of DB2 ur looking
jignesh74: as per his feedback...one can restore a container...rite?
jignesh74: db2 udb 7.2/8.1
Andy: he says ...I think in version 8 , you can do this

jignesh74: but u know....if one container is not available for some
reason then crash recovery happens for that tablespace
jignesh74: nopes
jignesh74: minimum recovery is a tablespace recovery
Andy: I am passing onto him ..what you say
jignesh74: in db2, data in tablespace is scatters (rebalanced) in each
and every container
jignesh74: in v8, one can drop a container
Andy: passing onto him...he is writing back
jignesh74: cool
Andy: he says .............I see. Looks like your friend is right. I
just did a quick search in Google

Andy: http://groups.google.com/groups?q=co...ups.com&rnum=1
jignesh74: arre....that is my post re...
Andy: he says ...............See one of the limitations of Db2? In
informix, you can do this since version 5

jignesh74: but u know u cannot restore one table in informix....
Andy: I guess, you know more about DB2 than my friend here
Andy: does Container term in db2 matches with table in informix ?
jignesh74: arre nahi re
jignesh74: nopes
Andy: can you tell me ..what's container ...in informix langauge ?
jignesh74: in informix, we hve dbspace and in db2 we hve tablespace
jignesh74: in informix and db2, we have containers within the
tablespace/dbspace
Andy: so, what's container in db2 ?
jignesh74: all data resides in containers both in informix/db2
Andy: humm...I did not know about this ..in informix
jignesh74: arre...come on
jignesh74: containeers are raw device..u remember..each of 2gb
jignesh74: informix has a limitation of 2gb for each raw device
(container)
Andy: abbe ...chunk bole na
jignesh74: yup..wohi re
jignesh74: in US..they say containers...
Andy: ohh, okay
jignesh74: alriite...means chunks (informix) and container (db2) are
same
jignesh74: just like row and tuples
Andy: hey, chunk can be more than 2 GB ...since 9.4
jignesh74: i think u know wat is tuples
jignesh74: yup...i guess
Andy: okay, got it
jignesh74:
Andy: he says .............only difference is that a tablespace in DB2
can only belong to one database

Andy: is that right ?
jignesh74: nowadays no one says tuples
jignesh74: u can hve multiple partitions although
Andy: he says .....in Informix, many databases can share a tablspace

jignesh74: hmmmmmm
jignesh74: cool
jignesh74: yeh pata nahi tha re
jignesh74: one tablespace can share with more than one database...cool
Andy: only ...in informix ...
jignesh74: means....one chunk can have data from more than one
database...rite
Andy: okay jigu, I got to do some testing
Andy: will talk to u soon
jignesh74: or....one tablespace will hve 3 chunks of one database and
2 chunks of other database...rite
jignesh74: okie
Andy: yes
jignesh74: yes
Ian <ia*****@mobileaudio.com> wrote in message news:<41**********@corp.newsgroups.com>...
jignesh shah wrote:
Hi all,

Is there a way to recover a single container if its been corrupted or
mark bad without restoring whole tablespace?

environment: db28.1/aix5.1/tsm/rs-6000.

Regards
Jignesh


No. Minimum recovery = tablespace.

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----

Nov 12 '05 #3
Anand Zandy, I have a DB2 question
Anand Can I ask u
Zandy sure
Anand is it possible to restore a container if its mark bad or not
available for some reason without restoring the whole tablespace"?
Anand for eg: say 1 tablespace has 10 containers and i want to restore
only 1 container
Zandy Wow. That's some question you have there. Frankly I'm not yet
that adept with DB2 to answer it with certaintly but my gut tell me
it's possible as long as you have the backup of the transaction logs.
Zandy You can do a point in time restore
Anand Thanks
Zandy np. I can research it more if you want.
Anand My friend had a question, not me
Anand if time permits
Zandy I also depends on the version of DB2
Zandy I think in version 8 , you can do this
Anand he is using db2 udb 7.2/8.1
Anand Zandy he says .......but u know....if one container is not
available for some reason then crash recovery happens for that
tablespace
Anand he says ...................minimum recovery is a tablespace
recovery
Anand he says ...............in db2, data in tablespace is scatters
(rebalanced) in each and every container
Anand he says ....................in v8, one can drop a container
Zandy I see. Looks like your friend is right. I just did a quick
search in Google
Zandy http://groups.google.com/groups?q=co...ups.com&rnum=1
Anand Zandy, I am just passing messages bet you guys :}>
Anand thx Zandy for your help
Zandy See one of the limitations of Db2? In informix, you can do this
since version 5
Zandy I really miss Informix :-(
Anand He says ..................but u know u cannot restore one table
in informix
Anand he is the same guy how has posted message on google :}>
Zandy :-)
Anand he is the same guy who has posted message on google :}>

Anand I guess he is correct, you can not restore one table in informix
Zandy that maybe true but there is still a workaround
Anand I asked him ............can you tell me ..what's container ...in
informix langauge ?
Anand he says ............in informix, we hve dbspace and in db2 we
hve tablespace
Zandy container is a chunk
Anand he says ...........in informix and db2, we have containers
within the tablespace/dbspace
Zandy tablespace = dbspace
Anand does informix has 2GB limitation on each chunk ?
Zandy not anymore. Since 9.4
Zandy only difference is that a tablespace in DB2 can only belong to
one database

Zandy in Informix, many databases can share a tablspace
Anand Thx a lot zandy for sharing all this info
Zandy np

jignesh74: Hi
Andy: kem cho ?
jignesh74: fine...howz u
Andy: good
jignesh74: cool
Andy: how's everything? any scoops ?
jignesh74:
jignesh74: no scoops
Andy: Hey, I got my watch, it was in the car ...sorry for the trouble
jignesh74: r u working on db2 udb database?
Andy: nope, only informix
jignesh74: hve any idea abt that
jignesh74: oh ok
jignesh74: i have one doubt
Andy: currently on Microsoft word
jignesh74:
Andy: what ?
jignesh74: container (raw device) kaa doubt hai
Andy: Shall I ask another friend who is working on db2 ?
jignesh74: yup...defi
Andy: okay, what's your question ?
jignesh74: just ask " is it possible to restore a container if its
mark bad or not available for some reason without restoring the whole
tablespace"?
jignesh74: for eg: say 1 tablespace has 10 containers and i want to
restore only 1 container
Andy: I will ask him
jignesh74: sooner the better
Andy: okay, will do
jignesh74:
jignesh74: can u ask rite now?
jignesh74: or say today?
Andy: yup, I am asking him right now
jignesh74: cool
jignesh74: i m waiting...
Andy: I have asked him, waiting for his answer
jignesh74: okie
jignesh74: i know it is not possible but just to be sure want to know
if someone expert mite have tried this...
Andy: okie, let see what he answers ..he is a techie
jignesh74: alrite...buzz me once u come get an answer from him
Andy: sure
Andy: his answer
Andy: Wow. That's some question you have there. Frankly I'm not yet
that adept with DB2 to answer it with certaintly but my gut tell me
it's possible as long as you have the backup of the transaction logs.

Andy: You can do a point in time restore

jignesh74: yes
jignesh74: hmmmm
Andy: what version of DB2 ur looking
jignesh74: as per his feedback...one can restore a container...rite?
jignesh74: db2 udb 7.2/8.1
Andy: he says ...I think in version 8 , you can do this

jignesh74: but u know....if one container is not available for some
reason then crash recovery happens for that tablespace
jignesh74: nopes
jignesh74: minimum recovery is a tablespace recovery
Andy: I am passing onto him ..what you say
jignesh74: in db2, data in tablespace is scatters (rebalanced) in each
and every container
jignesh74: in v8, one can drop a container
Andy: passing onto him...he is writing back
jignesh74: cool
Andy: he says .............I see. Looks like your friend is right. I
just did a quick search in Google

Andy: http://groups.google.com/groups?q=co...ups.com&rnum=1
jignesh74: arre....that is my post re...
Andy: he says ...............See one of the limitations of Db2? In
informix, you can do this since version 5

jignesh74: but u know u cannot restore one table in informix....
Andy: I guess, you know more about DB2 than my friend here
Andy: does Container term in db2 matches with table in informix ?
jignesh74: arre nahi re
jignesh74: nopes
Andy: can you tell me ..what's container ...in informix langauge ?
jignesh74: in informix, we hve dbspace and in db2 we hve tablespace
jignesh74: in informix and db2, we have containers within the
tablespace/dbspace
Andy: so, what's container in db2 ?
jignesh74: all data resides in containers both in informix/db2
Andy: humm...I did not know about this ..in informix
jignesh74: arre...come on
jignesh74: containeers are raw device..u remember..each of 2gb
jignesh74: informix has a limitation of 2gb for each raw device
(container)
Andy: abbe ...chunk bole na
jignesh74: yup..wohi re
jignesh74: in US..they say containers...
Andy: ohh, okay
jignesh74: alriite...means chunks (informix) and container (db2) are
same
jignesh74: just like row and tuples
Andy: hey, chunk can be more than 2 GB ...since 9.4
jignesh74: i think u know wat is tuples
jignesh74: yup...i guess
Andy: okay, got it
jignesh74:
Andy: he says .............only difference is that a tablespace in DB2
can only belong to one database

Andy: is that right ?
jignesh74: nowadays no one says tuples
jignesh74: u can hve multiple partitions although
Andy: he says .....in Informix, many databases can share a tablspace

jignesh74: hmmmmmm
jignesh74: cool
jignesh74: yeh pata nahi tha re
jignesh74: one tablespace can share with more than one database...cool
Andy: only ...in informix ...
jignesh74: means....one chunk can have data from more than one
database...rite
Andy: okay jigu, I got to do some testing
Andy: will talk to u soon
jignesh74: or....one tablespace will hve 3 chunks of one database and
2 chunks of other database...rite
jignesh74: okie
Andy: yes
jignesh74: yes
Nov 12 '05 #4

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

Similar topics

5
by: MPowell | last post by:
I'm going through the Koeing book Accelerated C++ in an attempt to understand Container classes. Of course I'm going through a paradigm shift from C to C++. So now I've got struct Header {...
2
by: Neil Truby | last post by:
DB2 UDB v8.1 on RedHat 7.3 I'm sure I'm being a Bozo but ... CREATE REGULAR TABLESPACE NEIL_1 PAGESIZE 4 K MANAGED BY DATABASE USING ( DEVICE '/dev/sdb2' 5120 ) EXTENTSIZE 16 OVERHEAD 10.5...
10
by: xixi | last post by:
i have db2 udb v8.1 on windows 64 bit 2003 server, after db2 server start , i found this in the db2diag.log, is this error? 2004-05-05-15.28.30.780000 Instance:DB2 Node:000...
2
by: Raquel | last post by:
On Linux, suppose a recoverable database has crashed due to a damaged tablespace (the container on which the tablespace existed has gone bad). On restarting the database, I understand that the...
1
by: Norbert Munkel | last post by:
Hi, System: 8.1.5 UDB on SuSE Linux I created a new SMS tablespace with following ddl: CREATE REGULAR TABLESPACE ASNCTL IN DATABASE PARTITION GROUP IBMDEFAULTGROUP PAGESIZE 4096 MANAGED BY...
2
by: Racerx | last post by:
Hi All : I use db2 8.1 fixpack 3 on AIX. I recieved the following message in the diaglog ====================================================== ADM7513W Database manager has started. ...
2
by: Tin | last post by:
I bought a laptop and burned 4 recovery CDs for recovery purpose. Instead of burning as disc images, I just copied and pasted these 4 CDs to my USB HDD as 4 folders called "RecoveryCD 1",...
0
by: Winder | last post by:
Computer Data Recovery Help 24/7 Data recovering tools and services is our focus. We will recover your data in a cost effective and efficient manner. We recover all operating systems and media....
2
by: =?Utf-8?B?c3BhcmtsZWJhbg==?= | last post by:
My recovery disk on vista is almost full. I have performed a back up, deleted all but the most recent recovery point, done a disk clean up and also compressed the recovery disk. It is STILL almost...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
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
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...
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
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
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.