How source data changing synchronize to destination after exp from source?

Stream creation, how the source data changing synchronize to the destination after exp data from source?
Time of Stream creation:
a. exp/imp
exp erpdev/erpdev owner=erpdevobject_consistent=y file=erpdev.dmp grants=y rows=y indexes=y statistics=none
imp erpdev/erpdev file=erpdev.dmp ignore=ycommit=y log=import.log streams_instantiation=y
b. confirming source and dest database SCN
BEGIN
DBMS_APPLY_ADM.SET_SCHEMA_INSTANTIATION_SCN(
SOURCE_SCHEMA_NAME=> 'erpdev',
source_database_name=> 'ERPDB',
instantiation_scn=> &iscn ,
recursive =>TRUE);
END;
c. 'START_APPLY' of dest database
EXEC DBMS_APPLY_ADM.START_APPLY('STRMADMIN_APPLY');
Question:
1.
Stream start to work at "c. START_APPLY of dest database", how the source data changing synchronize to the destination after exp data from source?
2.
What was "b. confirming source and dest database SCN" for?

You missed a step : the prepare table and its role. The prepare table for capture returns an SCN which will tells Streams at which SCN it must start capture any DML. At this stage the Apply may be configured or not, but if the source tables is modified, an LCR will be created when you start the capture and this LCR will be sent to the apply site when the apply site is finally up.
During the process of transfering the content of the Source site to target site there is always room for a desync to take place if the source site is active. Two cases exists and must be examined:
- Prepare table first, then export source --> any DML after the prepared SCN and before the start of the export will be sent as LCR while it is also into the export->> duplicate DML
- Export first then prepare table --> A DML occured AFTER the start of the export but before the SCN returned by the prepared SCN: this DML will be missing in the epxort (and at target site) and not yet captured neither since it occured before the prepare table.
So what is the best? The answer the first. You resolve the issue with the apply SCN which has into the export, for each table the SCN at the start of the export. In this scenario, you have prepared first, export next source, import in target and set the scn of each table i(at apply site) using the one found nto the export (hence the parameter STREAMS_INSTANTIATION ).
Now even all SCN captured on source after the prepared table but before the start of the export, will effectively be sent to apply site but will be IGNORED by the apply process has it would be a SCN aging before the start of the export. The SCN of the tables into the export file will become the SCN of the apply process. any SCN lower will be ignored by the apply process.
A last word in respect of a DML that started AFTER the start of the export and BEFORE the end of the export on source site (during the export). Since it is after the prepare table, it is captured and since it is after the start of the export, it is not into the export (we assume the export is consistent - which is not always true). So you need this LCR as the mutation it describes occured after the start of the export and is not in the export: everything is ok.
Having said that, still the best way to setup a target site is still to avoid any transction on source site during the setup.
I hope you understand this well for it is the way it works.

Similar Messages

  • How do I change the download destination for applications from Creative Cloud?

    My C Drive is totally crammed and CC seems to default to downloading there....have changed Chrome to default to a different drive, but CC is still heading for the C drive.  I'm hoping this is a simple setting, but so far have not found it!
    Any help appreciated.

    Some of the more simple applications can be dragged to another drive and be run from that location,  Remember that if you do move them if you have icons in the dock they will need to be updated.  There are also utilities that will remove unused language files from your system freeing up space.
    Check your downloads folder for things you do not need.  Empty your deleted mail folder.  Empty your junk mail folders.  Get Appcleaner and delete any apps that you do not use.

  • How can I change the location for the backup from iphone to itunes?

    How can I change the location for the backup from iphone to itunes? I want to backup to my external harddisk and not the computer itself. How do I do it?

    Moving the iOS device backup location
    Open a command prompt by hitting the start button and typing CMD<Enter> in the search box that opens up, or with Start > Run on older Windows.
    To move the current backup folder from C: to D: (for example) type in this command and press <Enter>
    Move "C:\Users\<User>\AppData\Local\Apple Computer\MobileSync\Backup" "D:\Backup"
    Where <User> is your Windows user name.
    To make iTunes look for the data in the new location type in this command and press <Enter>
    MkLink /J "C:\Users\<User>\AppData\Local\Apple Computer\MobileSync\Backup" "D:\Backup"
    If your preferred drive has a different letter or you already have a folder called "Backup" then edit "D:\Backup" accordingly in both commands.
    If you have Windows XP then you'll need a third-party tool such as Junction to link the two locations together instead of the MkLink command. The source folder is C:\Documents and Settings\<User>\Application Data\Apple Computer\MobileSync\Backup
    tt2

  • How can I change CO-PA characteristic's validation from no check to check ?

    I created customer characteristic as no check in validation and applied it to
    operating concerns.
    Now I want to change it's validation from no check to check table.
    How can I change CO-PA characteristic's validation from no check to check table?

    You have to check this when u are creating the characteristics. After the charateristics is created and activated it may not be possible for you  to change it to NOCHECK mode.

  • How can i change my e-mail address color from blue to black when i send a new message

    How can i change my e-mail address color from blue to black when i send a new message

    Hi Steven, if you send to yourself does it come through blue?
    Is this in the Header or a Signature?

  • How can I change an app's Apple ID from one that no longer exist to a current one?

    how can I change an app's Apple ID from one that no longer exist to a current one?

    vanesanesa wrote:
    how can I change an app's Apple ID from one that no longer exist to a current one?
    Apple IDs generally don't stop existing. If you mean that you have changed your email address, what you need to do is update your Apple ID to the new email.  Start here:
    https://www.apple.com/support/appleid/manage/

  • How do I change the name of my iMac from my wife's name to our surname?

    How do I change the name of my iMac from my wife name to our surname?

    System Preferences - Sharing - Change the name of the computer in the Computer Name box.

  • I was in a Pages Doc and inadvertently had the Caps Lock on. How Can I change all the text I typed from Upper Case to Lower Case?

    I was in a Pages Doc and inadvertently had the Caps Lock on. How Can I change all the text I typed from Upper Case to Lower Case?

    Several protocols may be used.
    Here I describe two of them.
    (1) the one which I use : install and use the "Convert to Lowercase" service available in the free WordService
    (2) copy your text, paste in TextEdit and enter the Edit menu.
    I guess that you will recognize the items in your English menu.
    I apologize but I don't know the English items.
    Yvan KOENIG (VALLAURIS, France) jeudi 16 février 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • How do i change the time line in Au from time since recording start to the actual time?

    how do i change the time line in Au from time since recording start to the actual time? I have a recording that was started at 10:00 but obviously in Au it starts at 0:0:00. Basically i want to time shift this to 10:00:00

    In the Properties panel, modify the Start Time parameter.

  • How do I change the language in Photoshop CC from danish to english?

    How do I change the language in Photoshop CC from danish to english? I'm not used to work in my motherlanguage in PS - but when I downloaded the app, it was in danish - I didn't have a choice to choose language. So what do I do?
    I have checked creative cloud for options where to choose languages, but there doesn't seem to be any in the dansih version..?

    KirstenAdler please see Adjust the install language | Creative Cloud applications | CCM - http://helpx.adobe.com/creative-cloud/kb/change-installed-language.html which discusses how to adjust the language of your Photoshop CC installation.

  • How to keep the current http session after returning from external web site

    Hi,
    When I use the response.sendRedirect api to redirect the web page to the external payment site, after payment and return back to the current application, I found that the current http session is lost.
    How to keep the current http session after returning from external web site?
    Thanks

    You should make your sidebar1 and sidebar2 fixed positioned. Make your content DIV fluid.
    This should help you: http://www.glish.com/css/7.asp

  • How do you change direction of the delete button from "delete backward" to "delete forward"?

    how do you change direction of the delete button from "delete backward" to "delete forward"?

    Hold the function (fn) key down while clicking delete.

  • I set up my iPhone through iCloud but assigned the wrong cell number to it so I am getting messages that don't belong to me but rather to my husband as I entered his cell number in there - how do I change that number to stop this from happening??

    I set up my iPhone through iCloud but assigned the wrong cell number to it so I am getting messages that don't belong to me but rather to my husband as I entered his cell number in there - how do I change that number to stop this from happening??

    Also, if you are sharing an Apple ID, you will get his iMessages.

  • I have illustrator cc. My job has cs5. How do I change the display of the software from light grey to dark grey?

    I have illustrator cc. My job has cs5. How do I change the display of the software from light grey to dark grey?

    CS5 can be somehow turned darker inside preferences. But you will be disappointed.

  • How can data in cube will update after Master data changes

    Hi,
    We have a Revenue cube which we are loading actuals after every month.
    Now we have master data changes at profit center level. Profit center is moving from Holdings to Power, effective with October reporting.  So master data we updated accordinglt now we need to update data in cube.
    I want know how can we update all the data in cube without dropping and relaoding again.
    We have DS0s first then cube.
    Please let me know available options.
    Thanks
    Sivaprasad

    Hi,
    Make the field which stores data whether it is holding or power as navigational attribute of profit centre.
    So whenever master data changes just update profit center master data . Use this nav attribute in reports.
    So whenever master data changes report changes automatically.
    If you want time dependant 2008 to 2009 Holdings then 2007 power enable profit center time dependant master data.
    Hope it helps.
    Thanks,
    Arun

Maybe you are looking for

  • Ipod not getting recognized by computer or itunes

    okayyyy so after my ipod wiping i connected it to my pc and it was like the ipod's in recovery mode you've got to reformat etc. so i clicked the reformat button but my internet didn't work so i switched pc's to my brother's (same op system) but then

  • DVD/BD Quality Tradeoff for source movie from SVHS

    I imported a 2.5 GB MP4 home movie into Elements 12 on my Mac.  The original source was a SVHS home movie from over 10 years ago.  I had encoded it to MP4 using a third party application/cable.  I did no editing in PE, just had it add the automatic c

  • T CODE for Incoming Check Management

    Hi, Could you please help on this.. Is there any transaction code to identify the Check management for Incoming Payment in FICA. THanks in Advance.. Sriram.

  • Scheduled Background jobs after Client Copy

    Hello, I've been doing some searching online and I don't seem to be able to find a definitive answer to this question: Are background jobs client specific? I've seen some discussions on here say some are and some are not.  I've also seen a discussion

  • 2600 doesn't have a Calculator ???

    I just got a 2600 classic and I don't believe that there is a calculator on it. Is there a way to download one and put it on there. Help me please.