Syncing two database via archivelogs

Hello Gurus of the Oracle World.
I have two database I want to keep in sync. both databases are 7.3.4 database. Yeah I know they are old and out of date. But this is my world and it is very old . My question is am using sqlbacktrack as a backup and recovery tool. I am able to backup my primary database and restore it to a different location. Now my problems is keeping them in-sync every 1 to 2 hours. Is there a script I can use to apply the archive logs via some type of cronjob? So that when I copy the archive log files over to the secondary database I can apply them automatically with no intervention from me or any users.
Your help is greatly appreciated.
Thanks.

I don't know exactly how sqlbacktrack works. I also don't recall a lot about 7.3.4, so take this with a grain of salt...
When you recover the database on to the other machine, do you know whether the recovery process does anything like resetting the archive log sequence? I would expect that your tool has some sort of option to prevent this, at least.
Once you have the standby database, you should be able to put the database in manual recovery mode and have a script that copies archived log files from the primary to the standby and applies them to the standby. The standby database cannot be open for this-- user's wouldn't be able to access the data unless you stopped the recovery process and opened the database. The database would also have to be opened read-only.
Niall Litchfield's presentation "You Probably Don't Need Data Guard" would be a good place to start. The presentation and scripts are linked from his site
http://www.niall.litchfield.dial.pipex.com/
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Syncing two computers via network session

    hi
    this topic started out in another thread, really should have it's own though...
    so i want to sync two computers via a "network session".
    one is a G4 (dual 800 running logic pro 7.2.2) the other is my macbook pro running logic pro 6.4.2.
    basically all i am using the macbook for is to playback a quicktime movie...
    now i have successfully got the network session going in "Audio Midi Setup", but for the life of me can't get the logic on the macbook pro to slave up. even though mtc is set up and the logic 7.2.2 is set up to send mtc via the network session.
    if anyone has any ideas...please feel free...
    cheers, warner

    really?
    cool.
    have been researching this a little bit (not that i have the time - just got curious).
    there are a couple of relaly interesting apps out there that can take MTC and play video. one in particular was very interesting....check this out:
    http://mac.softpedia.com/progDownload/VIDVOX-GRID-Download-9038.html

  • Sync two database

    I am beginner in sql Database and I don't know where and how i search for my question.
    I have two computer (a laptop and a PC). i work with database somtimes in laptop E& somtimes in PC
    I need a solution to make Synchronization the two database to merge their records
    suppos I have a table in database
    in PC its data is:
    1 a
    11:20
    2 b
    10:30
    3 c
    12:00 
    And in other system the data is
    1 a
    11:20
    2 b
    10:30
    3 f
    08:25
    the row 3 created differently
    I need to merge tow tables :
    1 a
    11:20
    2 b
    10:30
    3 c
    12:00 
    4 f
    08:25
    Is a solution that can mege Inserted,Edited or deleted rows in two tables??
    Regard,
    VB2015

    What editions of SQL are you running? If you running DEV edition, you can setup merge replication to sync the data both ways.
    Satish Kartan www.sqlfood.com
    I want to do it By code because I don't use SqlServer database
    I am using Sqlite, hence, Sqlserver management can not be my selection.
    I have saw a software using sqlite had did this job.

  • Transfer large data between two databases via ODI

    Hi, we want to transfer our 2 billion records (70gb) A database oracle server to B database oracle server via ODI LKM SQL to Oracle (SQLLDR).We use a filter like "prod_enter_date>sysdate-1" for daily  records(about 200.000).It takes about 1 our.How can we transfer data faster, thanks  for your advice.

    OK so assuming the Oracle DB's can see each on the network other have a word with your DBA's about creating a DBLink and test out the LKM DB Link KM.
    Also try Uli's amended LKM if dont want to be too intrusive on your souce system creating synonyms etc. : http://sonra.io/tag/lkm-db-links/
    I have used both and they work fine.
    Basically you are currently unloading a large amount of data, transfering to another location and then uploading that data with no transformation to the target environment, a DBLink LKM will transfer this data without the need to unload / upload , just the network transfer.
    Another thread here : https://forums.oracle.com/message/9630782
    To re-quote the that thread quoting the documentaion for that LKM : "As it says in the component description - "This module is recommended when developing interfaces between two Oracle servers."

  • Why can't apple let us sync two computers over bluetooth?

    I am extremely annoyed that mac won't let you sync two computers via bluetooth, when you can easily do it with phones and pdas. It seems to me that it takes the exact same technology to do so, and the only reason mac does not let you sync two computers is that they want to force you to pay $100 for a .mac account. Very Microsoft-like of them. Apple advertises that you can do this function as part of the OSX, but fails to mention it requires additional cost. I hope they provide this in the future.
    I've heard a new program, spanning sync, may work, but that is just for your calendar.

    1) Apple always advertised its computer to computer sync'ing as ".Mac sync" (http://www.apple.com/macosx/features/dotmacsync/) so I don't see where they "fail to mention it requires .mac" or put that "in the small print no one reads"
    2) Peer-to-peer sync'ing leverages many conceptual problems that sync'ing with a central server does not have. It takes a lot of effort to have proper, reliable, secure, yet simple-to-use peer-to-peer sync'ing. It becomes even worse when more than 2 peers are involved, and becomes a total nightmare when there can be cycles in the sync'ing swarm. Apple took the simpler, reliable approach. Of course, Apple can put money to provide some peer-to-peer solution but it's likely not worth the money yet for Apple.
    3) Third parties can provide peer-to-peer sync'ing in no time (if it were that simple) since Tiger, thanks to Sync Services... yet there isn't many solutions out-there... however, maybe you should take a look on VersionTracker. You might find what you want:
    http://www.versiontracker.com/macosx/index.shtml
    Remember... sync'ing is never that simple.
      Mac OS X (10.4.8)  

  • How could I synchronize databases via web services

    I have two web sites. The first has been build in jsp. The second has been build in php. Each of these sites has database mysql.
    I have managed to communicate these two web sites via web services.
    I would like someone to tell me how could I syncronize these two databases via web services. There is something specific procedure?
    Thanks in advance, sorry for my bad English

    If you can explain us what you actually looking for, then I can extend my help.As we are also using websites in jsp which is having DB connections.
    Cheers
    Rajesh R

  • I synced two of my email accounts via gmail's POP3 thing. But now my iphone's gmail inbox shows a random selection of emails (not most recent ones that are in my inbox). How can I make my iphone inbox match what I see when I log on using a PC?

    I synced two of my email accounts via gmail's POP3 capabilities. But now my iphone's gmail inbox only shows a random selection of emails (i.e. right now it is May 31, 2013 but the emails in my inbox are a couple from Nov 12, a few from Oct 12, and then some way older than that and so on.When I log into my gmail from a computer, I see all my emails in the logical, standard order. How can I make my iphone inbox match what I see when I log on using a PC?

    If you're trying to decide between using POP and IMAP, we encourage you to use IMAP.
    Unlike POP, IMAP offers two-way communication between your web Gmail and your email client. This means when you log in to Gmail using a web browser, actions you perform on email clients and mobile devices (ex: putting mail in a 'work' folder) will instantly and automatically appear in Gmail (ex: it will already have a 'work' label on that email the next time you sign in).
    IMAP also provides a better method to access your mail from multiple devices. If you check your email at work, on your mobile phone, and again at home, IMAP ensures that new mail is accessible from any device at any given time.
    Finally, IMAP offers a more stable experience overall. Whereas POP is prone to losing messages or downloading the same messages multiple times, IMAP avoids this through two-way syncing capabilities between your mail clients and your web Gmail.
    That is from the page that you linked- does highlighted part of message ring a bell?

  • Compare and Sync two Sql server Databases using msDeploy

    Hi,
    I have two servers on each server I have sql server 2005 with the same database instance, So I want to use msdeploy to compare between two databases and then sync new rows,tables and any database object from first server to second one.
    I used dbFullSql provider but dbFullSql provider used to sync for first Time.
    Please if there any idea.
    Thanks and Regards.
    mhd

    
    Hi Mohammed Oda,
    Could you explain what your demand, i am not quite understand your description, if you are asking the SQL question please post in SQL forum.
    SQL Server question please post to theSQL Server forum.
    SQL Server forum:
    http://social.technet.microsoft.com/Forums/sqlserver/en-us/home?category=sqlserver
    Thanks for your understanding and support.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Sync Documents Folder on two Mac via iSync

    Hi there,
    i have two OS X 10.4 Intel Mac's and want to sync my documents folders on the two computers via iSync (You see i although have a .Mac Account).
    My idee was to move the documents folder on to the iDisk. It should by possible to work offline with my documents via the iDisk utility.
    It should be possible two sync the the two documents folders on the macs via iDisk.
    Is my approach correct? How can i move the documents folders to the iDisk?
    Where is the path of the documents folder stored?
    Thanks for your help...
    cu swenska

    Hi there,
    i have two OS X 10.4 Intel Mac's and want to sync my documents folders on the two computers via iSync (You see i although have a .Mac Account).
    My idee was to move the documents folder on to the iDisk. It should by possible to work offline with my documents via the iDisk utility.
    It should be possible two sync the the two documents folders on the macs via iDisk.
    Is my approach correct? How can i move the documents folders to the iDisk?
    Where is the path of the documents folder stored?
    Thanks for your help...
    cu swenska

  • Can i sync two time capsule via WAN?

    I want to set up a new time capsul in my company, and i like to know if i can sync them with a time capsul which stands in my house?

    Sorry, but no. You cannot sync two or more Time Capsules regardless of if they are remote or on the same LAN. You could; however, operate them as completely separate Time Machine backup destinations.

  • RMAN backup for two databases with similar DBID

    We have two databases with SID 'uiivc' and 'uiivc1' running from one of the HP Unix 11.11 PA-RISC server. I did configured RMAN backup for both databases. But it is found that both databases have same DBID [connected to target database: UIIVC (DBID=3005194057) for UIIVC & connected to target database: UIIVC1 (DBID=3005194057) for UIIVC1] and backup configured via crontab seen running fine with full backup at weekend and archivelog backup at daily for both databases. Now my query is that will it create any issues at time of restoration since both databases have similar DBID? Does RMAN uses DBID to distinguish databases?
    Kindly help to clarifiy
    Regards
    Manoj Thakkan
    [email protected]

    Hi Tycho,
    I configured RMAN to store controlfile backups in different folders on each database.
    UIIVC database:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/hot_backups/rmanbkp/uiivc/cf%F';
    UIIVC1 database:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/hot_backups/rmanbkp/uiivc1/cf%F';
    Server output:
    uii-79:uiivc1 > ls -lrt /hot_backups/rmanbkp/uiivc
    total 43904816
    -rw-r----- 1 oracle dba 21144928256 Jul 15 10:58 8rkk68p5_1_1
    -rw-r----- 1 oracle dba 287110144 Jul 15 13:41 8tkk6sfv_1_1
    -rw-r----- 1 oracle dba 862700544 Jul 16 08:00 90kk8sel_1_1
    -rw-r----- 1 oracle dba 152350720 Jul 16 08:09 92kk8tgg_1_1
    -rw-r----- 1 oracle dba 32145408 Jul 16 08:09 cfc-3005194057-20090716-01
    uii-79:uiivc1 > ls -lrt /hot_backups/rmanbkp/uiivc1
    total 24186112
    -rw-r----- 1 oracle dba 6373965824 Jul 13 13:10 83kk1ftf_1_1
    -rw-r----- 1 oracle dba 784803840 Jul 13 13:46 85kk1j5e_1_1
    -rw-r----- 1 oracle dba 1022674944 Jul 13 23:07 87kk2kjs_1_1
    -rw-r----- 1 oracle dba 1814230016 Jul 14 23:46 89kk591i_1_1
    -rw-r----- 1 oracle dba 1211042816 Jul 15 23:06 8bkk7tc0_1_1
    -rw-r----- 1 oracle dba 1165975552 Jul 15 23:10 8ckk7tnr_1_1
    -rw-r----- 1 oracle dba 10534912 Jul 15 23:10 cfc-3005194057-20090715-00
    And I saw backups are placing in the respective folders too. So with these settings, can I safely assume there is no issues with RMAN backup and restore having similar DBID for two databases running on same server?
    Regards
    Manoj Thakkan

  • How to sync two iTunes libraries between two Macs?

    I have two macs (Mavericks) plus the latest version of iTunes. What I want to do is to mirror any change I do on one library to the other iTunes library using Google Drive (iTunes Library Mac 1 to iTunes Library Mac 2 and vice versa).
    I installed Google Drive on both of my Macs. It works pretty well at mirroring changes in .mp3 files names changes I do (i.e. My_Song.mp3 to MY_SONG.mp3), new files I add or files I delete...
    But there are two things I can't sync right now. Playlists and files info attributes (i.e. when I change the soundtrack Genre of one of my soundtrack it doesn't sync with the same soundtrack on my other mac).
    I know I can export+import playlist but I don't know how to actually sync playlists using Google Drive. iTunes has a special way of "storing" playlists. What I want is, for example, I create/modify a playlist on my Mac1 and it sync to Mac2 via Google sync.
    So, how can I make my playlists + any changes I make on my soundtracks (not the mp3 files) sync between my Macs using Google Drive?
    Thank you.

    Periodic posts on people wanting to do something like this and no good answer.
    All that information is in the library files.
    What are the iTunes library files? - http://support.apple.com/kb/HT1660
    More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    Where are my iTunes files located? - http://support.apple.com/kb/ht1391
    Apple's attempt at doing this is Home Sharing but that's more of a track by track basis, not the whole library.  The only way you will get it to automatically "sync" is to share a common set of library files with both computers (note, only one computer can open a library file at a time).

  • How do you PRECISELY sync two video tracks?

    Here's the background:
    I filmed a video, in the dark, doing sequential movements with light-sources while listening to a metronome (to create a pattern of trail-effects)
    I then took this video, duplicated it, took the opacity down to 50%, and overlayed it with the original
    I then attempted to offset the video by 1/2/3 clicks of the metronome, identifying it by the soundwave.
    Here's my dilema:
    I can only use the razor tool at certain quantities of time along the timeline, and can only DRAG the clip along certain incriments of time along the time line.
    I am finding it impossible to get the metronome 'clicks' lined up seamlessly!
    why can I not drag the duplicate clip along to ANY incriment of space/time along the timeline? Is there a way around this?
    *I have tried turning of the magnetic timeline
    Thanks in advance for any tips

    I tried this as well. If you zoom in enough, even when using the 'p' tool, the clip 'jumps' along certain incriments as I try to drag it. I can not place it precisely where I want along a continuous set of coordinates along the timeline.
    I am trying to match up two videos via the audio waveform, syncing the metronome 'clicks' that are present in the videos (and also taking them out of phase, with the metronome 'clicks' lining up, but the video itself is not (it's out of phase)) [[think sine and cosine, same waveform, but out of phase]].
    I used the metronome to sustain consistency [[wavelength]] and mark the points at which to sync them out of phase [[i.e. crest vs. trough, etc]]
    Here's what I'm looking at
    http://img338.imageshack.us/img338/9231/screenshot20111027at122d.png
    I drag the bottom clip over, but it only moves to the placement in which it is in the picture below the first, and CANNOT BE PLACED PRECISELY WHERE I NEED IT TO BE, even while using the 'p' tool

  • Cannot connect to database via TNS

    Hello!
    I installed XE with default settings and have some trouble. I cannot connect to database via TNS. Two symptoms:
    1. I can connect with SQLPLUS system/pwd (locally, without tns name input), but CANNOT connect with SQLPLUS system/pwd@EX (WITH TNS NAME input).
    2. I cannot start Database Home Page.
    How to avoid this problem? Any ideas?
    DETAILS:
    PC configuration: Win2k+SP4, 512Mb, Outpost Firewall (disabled!), No another Oracle products being installed.
    TNSNAMES.ORA file:
    ************* BEGIN TNSNAMES *****************************************
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pz)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ************* END OF TNSNAMES *****************************************
    Listener status:
    ************* BEGIN STATUS *****************************************
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Prod
    ction
    Start Date 22-MAR-2006 17:27:15
    Uptime 0 days 1 hr. 8 min. 53 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File D:\oracle\ora10xe\app\oracle\product\10.2.0\server\ne
    work\admin\listener.ora
    Listener Log File D:\oracle\ora10xe\app\oracle\product\10.2.0\server\ne
    work\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pz)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation
    HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    ************* END OF STATUS *****************************************
    NETSTAT -an results:
    ************* BEGIN NETSTAT *****************************************
    Proto Local Address Foreign Address State
    TCP 0.0.0.0:1521 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:2298 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:2455 127.0.0.1:8080 ESTABLISHED
    TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:8080 127.0.0.1:2382 CLOSE_WAIT
    TCP 127.0.0.1:8080 127.0.0.1:2455 ESTABLISHED
    TCP 192.168.200.49:1521 192.168.200.49:2298 ESTABLISHED
    TCP 192.168.200.49:2298 192.168.200.49:1521 ESTABLISHED
    <truncated>
    ************* END OF NETSTAT *****************************************
    I found following error in SQLNET.LOG:
    *************** START LOG *********************************************
    Fatal NI connect error 12570, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 22-MAR-2006 17:28:59
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12570
    TNS-12570: TNS:packet reader failure
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    *************** END OF LOG *******************************************

    I successfully connect with XE client to another Oracle databases from LAN, including 8i and 9i databases.
    But cannot connect from another machines to my XE.

  • Database in archivelog

    my database is in archivelog mode and i have a two database one is db01 which has alok1 tablespace and second is oemrep and i have a tablespace name alok1 and it has 3 tables in it i want to know that if i want to recover alok1 tablespace in second database named oemrep
    how could i do it? can i recover that tablespace in hr schema??if yes will this show me those tables which is in alok1 tablespaces ..
    please help me .....
    thakns in advance ...

    i have found in oem that u can back up and recovere the tablespace that's why i was trying it
    you can recover tablespaces in the same database where they belonged.
    1. what is rec catalog does,if i am using it
    RMAN ( CATALOG CREATION ) STEP BY STEP by Joel Pérez
    RMAN ( CATALOG CREATION ) STEP BY STEP by Joel Pérez
    2. if i have two database db01 and oemrep both database almost have same tablespace in it will it create problem me to backup and recover..
    you can not recover a tablespace in another database. Instead of that you can transport that tablespace with the export/import utilities.
    3.what should i do if i have to backup db01 database and want to recover it in oemrep database.and
    please let me know in detail how could i do that ???
    you have to use the feature "Transportable Tablespaces"
    On monday I am going to give the needed steps to do that.
    Joel Pérez
    http://otn.oracle.com/experts

Maybe you are looking for

  • RFC : SAPSLDAPI Error Details timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456 Timeout dur

    Dear Expert, Please your advice about the problem PI connection RFC, ECC to PI first I trying add the parameter RZ10 PI: gw/sec_info = 0 gw/reg_no_conn_info =1 ( for gw SLD_UC, worked) if im not give parameter RFC SLD_UC error. gw/acl_mode =1 This RF

  • Failed Update - Stuck in Recovery Mode

    An unmodified iPhone. Tried to update to v2.0 and get a failed message; iPhone could not be restored. I get one of 4 error messages 2001, 2003 2005 and (6). I'm using the latest version of iTunes and have rebooted my Mac several times. Plugged and un

  • Yosemite broke AirPlay

    I used to be able to AirPlay to my AppleTV and it worked great. Now I can send video, but it is glitchy in 2-3 different ways: * mouse cursor is not visible most of the time * cannot mirror display correctly * can't quit Airplay properly without rela

  • ODI 10.1.3.5.0 Documentation

    Hi Experts, Could you please share where can i find documentation for ODI 10.1.3.5 I am looking for Release Notes ,New Features etc. Cheers, Andy

  • Important condition in Pricing??

    hii Can some list out here , few inmportant condition are there in pricing porcedure in MM. SOmebody list it out with description. I hope around 14 or 16 conditions are more important. so ... Thanks