Login  Register

r12.2

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

r12.2

satish
1160 posts
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
| More
Print post
Permalink

Re: r12.2

ErmanArslansOracleBlog
Administrator
5738 posts
This post was updated on Sep 13, 2017; 7:52am.
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
| More
Print post
Permalink

Re: r12.2

satish
1160 posts
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
| More
Print post
Permalink

Re: r12.2

ErmanArslansOracleBlog
Administrator
5738 posts
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
| More
Print post
Permalink

Re: r12.2

satish
1160 posts
Then what is flipping snapshots

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

Re: r12.2

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

Re: r12.2

satish
1160 posts
During cutover phase,we will come across flipping snapshots
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: r12.2

ErmanArslansOracleBlog
Administrator
5738 posts
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.
Sri
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: r12.2

Sri
289 posts
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
| More
Print post
Permalink

Re: r12.2

ErmanArslansOracleBlog
Administrator
5738 posts
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
| More
Print post
Permalink

Re: r12.2

satish
1160 posts
What is  C, P, Q, G, can you please explain a little better
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: r12.2

ErmanArslansOracleBlog
Administrator
5738 posts
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')