r12.2

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

r12.2

grill
Hi Erman,

Have a Nice day

I need your help in understanding about  what is "Synchronizing snapshots" that happens during prepare phase and will it happen at file system level or database level?

Thanks,
Grill
Reply | Threaded
Open this post in threaded view
|

Re: r12.2

ErmanArslansOracleBlog
Administrator
This post was updated on .
It is filesystem snapshot.
We have seperate snapshots for each filesystem and these are maintained inside the database.
Snapshots  are current views of your filesystems. Basically, snapshot lists patches and versions of files in your filesystems.
Reply | Threaded
Open this post in threaded view
|

Re: r12.2

grill
so if the snapshots are maintained in database,then the syncronising snapshots is also happens at tables right(database) that store the related information.

please correct me if wrong

Thanks,
Grill
Reply | Threaded
Open this post in threaded view
|

Re: r12.2

ErmanArslansOracleBlog
Administrator
It just happens .. The code ofcourse doesn't checking every file. So it uses some kind of lookup.
At the end of the day, the fs snapshot info is maintained in the database.
Reply | Threaded
Open this post in threaded view
|

Re: r12.2

Lawrence
Then what is flipping snapshots

Thanks,
Grill
Reply | Threaded
Open this post in threaded view
|

Re: r12.2

ErmanArslansOracleBlog
Administrator
Flipping snapshots? Where did you get this word? Any logs our outputs? Any document?
Reply | Threaded
Open this post in threaded view
|

Re: r12.2

Lawrence
During cutover phase,we will come across flipping snapshots
Reply | Threaded
Open this post in threaded view
|

Re: r12.2

ErmanArslansOracleBlog
Administrator
okay. You are talkin about ad_zd_adop.flip_snapshots.
It is probably a cutover thing in the manner of snapshots.
Like flipping the snapshots for run and patch filesystems.

But, need to check the code for ad_zd_adop.flip_snapshots, maybe there is a comment made there.
Reply | Threaded
Open this post in threaded view
|

Re: r12.2

anwar
flipping snapshots means changing snapshot tables ad_snaphots,ad_files from one edition to other?is it right?can you give some idea
Reply | Threaded
Open this post in threaded view
|

Re: r12.2

ErmanArslansOracleBlog
Administrator
It just do the following update.
Note that I didn't include the select of that update, but it is clear that It flips the snapshot info in ad_snapshots. I mean it makes type C -> P and P -> C and G -> Q and Q -> G)

So, the same logic of the cutover applies for it as well..

update ad_snapshots
  set    snapshot_type=DECODE(snapshot_type, 'C', 'P', 'P', 'C',
                                            'G', 'Q', 'Q', 'G')
Reply | Threaded
Open this post in threaded view
|

Re: r12.2

Lawrence
What is  C, P, Q, G, can you please explain a little better
Reply | Threaded
Open this post in threaded view
|

Re: r12.2

ErmanArslansOracleBlog
Administrator
This is not documented in anywhere... I checked and asked, no info yet...
But, what I can say is;  C is the same as P and Q is the same as G ..
How can I think like this? Because as you see the following update , it sets C  to P and G to Q and vice versa.
Like fs1 and fs2 is the same, I believe "C and P" and "G and Q" are the same things . These are for cutover.. It changes the filesystems and it changes/cutovers the snapshot types accordingly (using these letters)...
This is what I think actually...

update ad_snapshots
  set    snapshot_type=DECODE(snapshot_type, 'C', 'P', 'P', 'C',
                                            'G', 'Q', 'Q', 'G')