Oracle 10g Real Time Backup

Hi
My company need to set database real time backup for Oracle 10g release 2 (Standard Edition).
I see in Oracle Database 10g Product Family [Oracle Database 10g Product Family|http://www.oracle.com/technology/products/database/oracle10g/pdf/twp_general_10gdb_product_family.pdf] not support the Data Guard.
Can I do it in Oracle 10g SE ?
Thanks in advance

hi,
trouble is the cost of EE can be quite expensive
another way of creating a psuedo (hope I spelt that correctly) dataguard would be to script a method of shipping archive files to a DR server.
Live System
=========
             BEGIN
          IF ORACLE ONLINE THEN
                        SWITCH LOG;
                   END IF;
                   IF ANOTHER INSTANCE OF SCRIPT RUNNING (LOCAL OR REMOTE) THEN
                             ERROR;
                             EXIT;
                   END IF;
          IF (STANDBY NOT ONLINE) THEN
                          ERROR;
                          SEND EMAIL;
                          EXIT;
                   END IF;
                   GET LAST SHIPPED LOG FILE TIMESTAMP FROM THE REMOTE SITE OR FROM LOCAL SERVER;
                    WHILE LOG > SHIPPED LOG FILE TIMESTAMP DO
                              TRANSFER LOG FILE TO REMOTE SITE;
                              DO CHECKSUM ON LOG FILES;
                              IF NOT MATCH THEN
                                     RETRY TRANSFER;
                                     IF FAILURE 3 TIME THEN
                                           ERROR;
                                           SEND EMAIL;
                                     END IF;
                      END IF;
                              ' GOT THIS FAR SO ALL IS OK
                              MARK THE LOG FILE AS TRANSFERRED;
                    WEND;        
DR System
========
          BEGIN
               CREATE A LOCK SEMAPHORE;        - Only one instance allowed
                             CHECK LAST APPLIED LOG FILE;
               IF CONNECTION TO LIVE SERVER OK THEN
                                     CHECKSUM  NEXT LOG FILE WITH LIVE SYSTEM;
                                     IF CHECKSUM NOT SAME THEN
                                              IF LOG FILE ON ITS WAY FROM LIVE THEN
                                                       EXIT;
                                              END IF;
                                              WHILE  LOGFILE EXISTS DO
                                                        GET NEXT LOG FILE FROM LIVE;
                                              WEND;
                                     END IF;
                             ELSE
                                     ' Extra work
                                     APPLY NEXT LOG FILE
                             END IF;
               APPLY LOG FILES;
                             WORKOUT NO OF LOG FILE APPLIED;
                             KEEP SPECIFIED PERCENTAGE LOG FILES;
                             DELETE EXTRA LOG FILES;
                             TRANSFER LAST APPLIED LOG FILE ATTRIBUTES TO LIVE SERVER;
                             EXIT;
                     END;       I cannot give you the actual code that I have as there are some more bits that I have added for our client but what it does is give you an over view of the process involved for creating a pseudo DG environment.
regards
Alan

Similar Messages

  • Oracle JRockit Real Time 3.1.2 and weblogic?

    http://www.oracle.com/technology/software/products/jrockit/index.html". I go to the website, and find a software called: Oracle JRockit Real Time 3.1.2 for windows 64 bit. My question is: In order to let weblogic 9.2 works in windows 2003 R2 64 bit machine, SHOULD I MUST DOWNLOAD "Oracle JRockit Real Time 3.1.2 for windows 64 bit"? Or I don't need to download anything? Actually, I just download a file called jdk-6u18-windows-x64.exe. Please clear my question, thanks! One more thing, what is the functionality for Oracle JRockit Real Time 3.1.2? Is it a kind of JRE ?

    Hi,
    For more information on JRocket Real Time have a read of :- http://www.oracle.com/technology/products/jrockit/jrrt/index.html
    As far as I am aware you don't have to install the real time product you can installl the JRockit JVM and use that with Weblogic, I think newer version of JRocket come bundled with Real Time which is the JVM and monitoring and analysis tools. There are still standalone JRocket JVM installs available, you can get them from oracle edelivery.
    JRocket is a JVM but optimized for use with Weblogic, so you should get better overall performance.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Oracle Enterprise Real-Time Scheduling (Sidewinder)

    Hi Friends,
    Any idea where can i find some documentation on Oracle Enterprise Real-Time Scheduling (Sidewinder)?
    Regards,
    Anirban Roy

    Start here:
    http://www.oracle.com/corporate/press/2007_mar/030507_Oracle%20Utilities%20MWM.htm
    Those contacts might lead you to the documentation

  • Oracle SGA Real Time Consumption Information(9i,10g and 11g)

    Hello,
    I need to prepare a comparative analysis report of SGA for an Oracle Production Instance
    The analysis would show the pre-allocated memory to SGA components v/s real time consumption of memory by these SGA components. I need to do this for each of following components.
    SGA itself
    Fixed Size
    Variable Size
    Database Buffers
    Redo Buffers
    The pre-allocated memory to above SGA components can be obtained by querying v$sga. But from where do I get its real time(current) memory conusmption in Oracle Production environment.
    In addition to above, i need the same information (pre-allocated and real time consumption) for following.
    Keep buffer cache
    Recycle buffer cache
    Specific block size caches
    Shared pool
    Large pool
    Java pool
    streams pool
    Which tables do I need to consider in order to derive 1)pre-allocated memory and 2)real time consumption for above mentioned SGA components
    Please advice.
    Thank you for your time in reading this post.
    Thanks,
    Ruchir

    Hi,
    Have a look at v$sgastat. Also, use statspack in 9i and AWR reports on 10g. Also, the size of the caches won't grow unless they are used. The parameters you have specified within the parameter file, like sga_target (10g onwards) and possibly the other pools if you have specified them, will show you what the caches can grow to.
    For example, you could just log onto the DB and do show parameter sga_ or shared_pool and you will seee values for these. Also, it depends whether you are running in automatic memory management mode - where the sga_target parameter is set - or manual. 9i will be manual, but 10g could be auto. In manual case, 9i, check out the parameters individually.
    Also, read the docs about the parameters shown and you will see what it says abotu them. There will be lots in the docs about performance tuning and monitoring of the instance. You might even learn some other interesting facts while reading through the docs...
    Hope this helps,
    Rob
    http://www.ora00600.com

  • ORACLE 11G  "real time apply" not work?????

    we have a database original on ORACLE 10.2.0.4 and we upgrade it to 11.1.0.7.
    after that we create standby database and tried to use "real time apply" feature.
    Primary database can transfer log files to standby database and standby database also can apply logs. The problem is it can NOT work on "real time apply".
    Ant ideal what wrong?
    === procedures ====== (standby database)
    SQL> startup mount;
    ORACLE instance started.
    Total System Global Area 2087780352 bytes
    Fixed Size 2161272 bytes
    Variable Size 1795163528 bytes
    Database Buffers 251658240 bytes
    Redo Buffers 38797312 bytes
    Database mounted.
    SQL> alter database open read only;
    Database altered.
    SQL> alter database recover managed standby database using current logfile disconnect;
    Database altered.
    SQL> select PROTECTION_MODE, PROTECTION_LEVEL, DATABASE_ROLE, SWITCHOVER_STATUS, OPEN_MODE, GUARD_STATUS from v$database;
    PROTECTION_MODE PROTECTION_LEVEL DATABASE_ROLE SWITCHOVER_STATUS
    OPEN_MODE GUARD_S
    MAXIMUM PERFORMANCE MAXIMUM PERFORMANCE PHYSICAL STANDBY NOT ALLOWED
    MOUNTED NONE
    SQL> select process, status from v$managed_standby;
    PROCESS STATUS
    ARCH CONNECTED
    ARCH CONNECTED
    ARCH CONNECTED
    ARCH CONNECTED
    RFS IDLE
    MRP0 APPLYING_LOG
    6 rows selected.
    ========== Primary database init.ora file setup =====
    ### for DG use
    db_unique_name = DBPMY
    log_archive_config='dg_config=(DBPMY,DBSBY)'
    log_archive_dest_1='LOCATION=/Archive/DBPMY/arch/arch MANDATORY'
    log_archive_dest_2='service=DBSBY valid_for=(online_logfiles,primary_role) db_unique_name=DBSBY LGWR ASYNC=20480 OPTIONAL REOPEN=15 NET_TIMEOUT=30'
    *.log_archive_format='DBPMY_%r_%t_%s.arc'
    log_archive_dest_state_1 = enable
    log_archive_dest_state_2 = enable

    There are a couple of things to look at.
    1. Real time apply requires standby redo logs on the standby database. On the standby database run this query:
    SELECT * FROM v$logfile where type = 'STANDBY';
    if you get 0 rows back you'll need to create standby logfiles
    The general guideline is to size them exactly like your redo logs but add one additional standby log to ensure it doesn't cause a bottleneck.
    2. Get the size of your logfiles:
    SELECT GROUP#, BYTES FROM V$LOG;
    3. For example if you have 3 redo logs that are 50 MB in size, create 4 standby redo logs 50 MB each and don't multiplex them.
    ALTER DATABASE ADD STANDBY LOGFILE ('/Archive/DBSBY/onlinelog/slog1.rdo') SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE ('/Archive/DBSBY/onlinelog/slog2.rdo') SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE ('/Archive/DBSBY/onlinelog/slog3.rdo') SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE ('/Archive/DBSBY/onlinelog/slog4.rdo') SIZE 50M;
    4. Cancel recovery on standby
    recover managed standby database cancel;
    5. Restart recovery using real time apply
    recover managed standby database using current logfile disconnect;
    6. To validate that real time is working you can check a few places.
    -It will say in the database alert log on standby that it's using real time apply
    OR
    -Check primary
    SELECT status, recovery_mode FROM v$archive_dest_status where dest_name = 'LOG_ARCHIVE_DEST_2';
    If the recovery_mode is "MANAGED REAL TIME APPLY" then real time apply is working, if it's anything else then we'll need to check more things.
    NOTE that if you are going to allow your current primary to switch roles and become a standby then you'll want to create standby redo logs on primary as well
    Sometimes recovery gets "stuck" and simply resetting the destination parameters can resolve it:
    alter system set log_archive_dest_2='service=DBSBY valid_for=(online_logfiles,primary_role) db_unique_name=DBSBY LGWR ASYNC=20480 OPTIONAL REOPEN=15 NET_TIMEOUT=30';
    There are some other things we can check next but let's start with the easiest fixes first.

  • Welcome to the Oracle JRockit Real Time forum

    The JRockit forum over at forums.bea.com is since the first of July in read only mode - this is now the official forum for the JRockit Real Time product.
    Best regards,
    Stefan

    Bonjour "Etudiant from Tunisia",
    I'm not sure what you mean with "please give me the user/password".
    As far as I know there is no online OWB available where you could try out the product (if that is what you mean).
    If you would like to learn more about OWB, read online documentation or for instance the link that is provided in an earlier post in this thread.
    Otherwise simply install OWB and try it yourself. The Installation and Configuration Guide is clear enough even without much experience installing Oracle software, and the OWB User Guide provides some basic insight on working with OWB itself.
    Good luck, Patrick
    ps If people are still expecting what Igor mentioned when he started this forum ("Oracle Warehouse Builder (OWB) product management and development will monitor the discussion forum on regular basis"), don't count on it; fortunately the product itself has been around long enough now, there are quite some users that can share usable insights and/or drop some useful lines on the new threads... ;-)

  • How to Restore datas in Oracle 10g using hot backup?

    I did Hot backup things (On-line backup) in Oracle 10g (Windows environment)
    Now backup files are stored in physical location..
    How to restore the datas to original location..
    Can any one give the url or command for recovery in ora 10g for hot backup
    Thanks

    Please do not dump all of your work in this forum, and expect volunteers to do it for free!!!
    Dear Great Senior DBA Sybrand Bakker
    What are Oracle Discussion Forums?
    Oracle Discussion Forums is an interactive community for sharing information, questions, and comments about Oracle products and related technologies. Most forums are moderated by product managers, and all of them are frequently visited by knowledgeable users from the community
    oracle forums is not your place for showing “bossing” it is a place where junior to seniors share there knowledge and advices, it means helping and sharing….. Knowledge is for giving ….giving only it will increase… don’t discourage any one like this ……
    There are my Great Seniors (not like u) mainly respected Mr. Jonathan Lewis, Mr. Don Burleson and a lot of oracle nominated ACE members are all giving patiently replay to jr. to sr.
    Obeasley oracle doubts are mostly related to practical issue only……
    Pls try to learn the word meaning of “volunteers”

  • Problem in importing data in oracle 10g from 9i backup

    Hi ,
    Am trying to import data in oracle 10g..but it does not importing constraints, and stop doing anything by the msg.
    About to enable constraints.....
    after this msg it does not work.
    plz help,
    Regards,
    Neha

    Hi Neha,
    You have a lot of options. I'll supose you can test first, and you're using an export file.
    First forget about the data, think in your database structure. So you can do this:
    exp userid=... file=exp_norows.dmp full=y rows=n statistics=none
    Now you have the structure of your database. Create the database, in 10g, empty, check you have all filesystem, etc. for you new datafiles. And do the import with parameter ignore=y, you'll see a lot off errors on SYSTEM schema, don't worry about it.
    Now you have the structure of you database in 10g. You can take a look in the import log file, looking for some possible errors come from your schemas. so check the objects, and check the schemas.
    Bear in mind things like CONNECT role in 9i it's different in 10g, you can't create db_links in 10g with "IDENTIFIED BY VALUES" because you'll get an ORA-00600, etc.
    Well, fix all problems on source database (9i) and repeate this procedure until you don't recieve any more errors (not a SYSTEM schema errors).
    When you have everything solved, you can try to import the data.
    I hope, this method can help you. If you have any problem do not hesitate to ask me.
    John Ospino Rivas

  • Oracle 10G Express Edition backup issues

    After a backup job is run on our Oralce 10g Express Edition Server our system users can't access their web login page -
    http://127.0.0.1:8080/apex - To access their databse.
    What i need to know is this.
    I do a daily backup of the Oracle DB manually, the one that comes with express edition, but when the backup is comple users can't access the afforementioned web address as i have stated
    1 - Does anyone know what can be causing this?
    2 - When i backup the database manually where does the database actually backup to?
    3 - I was thinking of backing up the Oralce DB manually usning XE's own backup then running Symatec backup Software to backup this file.In the event of a system crash i could then simply restore the operating system (windows 2003), reinstall XE and import the file i had backedup with XE . Does this sound like a good solution

    No idea why users cant access the login page, maybe trying to post on XE forum Oracle Database Express Edition (XE) may help for this.
    But you may use Rman with XE, it is a best practice for Oracle B&R and it is easy to control the backup destination with Rman - http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/backrest.htm#sthref414
    Also these demos may help - http://psoug.org/reference/rman_demos.html
    Best regards.

  • Oracle 10g RAC Archive Backup RMAN

    Hi All
    We are running a 3 node Oracle 10.2.0.4 RAC instanes on Solaris OS 10. Due to the dependecy during peak loads, we configured our Archive destinations LOCAL on each node and have them NFS mounted on alternate nodes participating on this cluster.
    Due to some NFS issue, when ever a node is rebooted/panicked to restart these NFS mounts are not mounting on the alternate nodes although all other services are restarted and fully functional.
    In such events, our backup job is failing to backup the archives +(obviously for non availability of the archives)+. So I tried to modify the job by making an expliit connection to each of the nodes before running the block "backup archive log all delete all input;". So one archive job is now broke down to 3 different independant blocks. However, this is still causing the archive job on each of the nodes failing for the not reacheable archives from alterate nodes.
    I want to now ensure that this backup archive log block is run as a single job and is still successful backing up archives from all instances irrespective of which node(instance) the job has made connection to. Can this be done? Please Advice.
    Sarat.

    Is there a way at RMAN> prompt so that I could connect to the other instances of the database and backup the archives although they are not available?
    I mean, lets say the rman job has made conection to orcl1 instance on orcl database running on node 1 of a 3 ode cluster.. I normally make a connetion like below to make a connection.
    rman target \ rman/rman123@catalogue cmdfile=cmdtext.lst log=rmanbkp.log
    I the example, I now need to connect to orcl2 and orcl3 instances and complete the archive log backup.. Can this be done in one single run block at rman prompt?
    Sarat

  • Real-time backup of data

    I have two servers.A had installed netware 5.1,B had installed netware 6.5.
    I want to backup server B's files data by server A.
    how can i do ? thanks!

    Not sure which one you mean. Rysnc module and documentation is here Rsync for NetWare - Developer Community
    Avanti Technology - Management Software for Novell NetWare Servers

  • Oracle EDQ Real time Integration

    Hi,
    Will it be possible to create 1:m relationship WSDL file in EDQ. I have a requirement where Customer is the Parent entity and other child entities such as Address, References, Privacy preferences etc. would have a multiple entries for one customer record.
    The default process to create a Web services, creates a 1:1 WSDL only. Is there any other approach to create a WSDL with 1:M relationship in EDQ?
    Thanks and Regards,
    Rajesh.

    Hi Rajesh,
    Your question is very unclear - perhaps you could be more clear on what you are trying to achieve?
    There is no 'default process to create a web service' that assumes 1:1. The wizard for creating web services allows you to tick a box on either the input or output interfaces of the web service to enable multiple records. Typical examples are:
    1. Record cleaning services 1:1
    2. Record clustering services 1:M (driving record in, many cluster keys out)
    3. Reference matching services: 1:M (working record in, matching reference records returned)
    4. Matching services M:M (driving and candidate records in, matching records returned)
    Where you are dealing with hierarchical data, you may need to use the capabilities in EDQ to consolidate or split records. EDQ works with a flat record structure but can easily consolidate or split records at several phases of a process.
    Regards,
    Mike

  • Alter SHRINK SPACE in oracle 10g

    Hello,
    My table PRICE_T table gets deleted and inserted almost 50 million records everyday.
    Now it takes too much time to perform this operation because of TABLE fragmented.
    i can use "CREATE table as select” option to remove fragmentation from table.
    but i dont want to use this option.
    so i hv tried ALTER TABLE SHRINK SPACE as i m using ORACLE 10g
    alter table price_t enable row movement;
    alter table price_t shrink space
    alter table price_t disable row movement;
    and i have applied following query to check table gets remove free space but still having free space after applying ALTER SPACE COMMAND
    select table_name,round((blocks*8),2)||'kb' "size1",round((num_rows*avg_row_len/1024),2)||'kb' "size"
    from DBA_tables
    where table_name = 'PRICE_T';
    Tablespace in PRICE_T table fall into is SEGMENT SPACE MANAGEMENT AUTO
    please help me to remove fragmentation from table using SHRINK command.
    Thanks.

    Now it takes too much time to perform this operation because of TABLE fragmented.How do you define "fragmented"?
    Why do you believe that your table is fragmented?
    Why do you believe that the fragmentation is causing performance problems?
    select table_name,
           round((blocks*8),2)||'kb' "size1",
           round((num_rows*avg_row_len/1024),2)||'kb' "size"
      from DBA_tables
    where table_name = 'PRICE_T'; - What is the output of this query before and after you shrink the table?
    - Are your statistics up to date? NUM_ROWS, BLOCKS and AVG_ROW_LENGTH provide information to the optimizer-- they are estimates gathered when object statistics are gathered. They are not maintained by Oracle in real time and may be substantially out of date.
    - I don't see any attempt to account in this query for overhead like PCTFREE.
    - Is there a reason that you aren't using the DBMS_SPACE package? This query seems highly suspect.
    Justin

  • HT1553 What is the best system for a real time cloud back up of documents?  My MacBook crashed, and I lost 2 hours of writing and could not find a way to restore it.

    My MacBook Pro crashed while I was rewriting a book, lost more than an hour of work and could not find a way to restore it.  Did not have Time Machine set up, but it appears that Time Machine does not have Real Time back up and documents must be manually stored.
    I need an automatic, real time back up to keep this from happening - I'm not happy my MacBook has crashed twice now.   What is the best cloud system for Real Time backup?   Thanks to anyone who can help me, I'm not the most astutde computer guy... James

    One way would be to use Dropbox, or a similar sync service, and just keep your critical documents in the appropriate folder. Dropbox, at least, keeps a local copy of everything and syncs automatically to the cloud whenver a change is made. Dropbox is free for up to 2GB of data.
    There are also true backup services such as CrashPlan+:
    http://www.crashplan.com/consumer/crashplan-plus.html
    which provide automatic backups whenver a change is detected. It's not free, but usually such services aren't too expensive unless you need to back up a lot of data.
    Regards.

  • Real-time database or non real-time database

    I know the scheduling mechanism in Oracle database is somewhat like the Linux OS which is not real-time. Does Oracle provide real-time database which has some real-time scheduling guaranteeing each user transaction to meet with a deadline ? Thx a lot.

    The Berkley DB that Oracle owns has been ported to QNX which is a real-time operating system.
    http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_unix/qnx.html
    Why, out of curiosity, are you looking into Oracle for a real-time system? That implies that you're running a real-time operating system on your servers, which is certainly unusual. I've heard of some ports of 9i to real-time operating systems, but that would certainly be unusual.
    Justin

Maybe you are looking for

  • Win 7 boot from VHD "License Error: Booting from VHD is not supported on this system"

    I am trying to set up my TP 500 model 2242-CTO to boot from a virtual hard drive, per the instructions at http://blogs.technet.com/keithcombs/archive/2009/0​5/22/dual-boot-from-vhd-using-windows-7-and-window​... I get all the way thru the Win 7 setup

  • Problems still after adding Media Feature Pack (win8.1, 64bit, c660d)

    Hi guys! I.m just after installing win8.1 pro N to my Toshiba Satellite C660D laptop, it was a clean install directly from win7 (so no 8 meanwhile), i updated everything just after install, also the newest Media Feature Pack (6.3-KB2835517-x64) updat

  • How do I stop a new tab from opening when I click a link?

    Whenever I click a link, it opens in a new tab. This just started almost a week ago, but I didn't change any settings or click anything--it just started doing it by itself. It is extremely irritating, because it just increases the number of tabs I ha

  • Exporting "CSS and images (.htm.)" from Fireworks CS4?

    Is this an effective process for developing CSS based layouts? Are there any proven tricks to improve the quality of the resulting structure?

  • Blob cache issue

    I have installed SharePoint 2013 Enterprise version we have 3 Server of SharePoint from which 1 is App Server and other 2 is web server. Web server are on load balance. Database is SQL Server 2012 R2 SharePoint is purely used for heavy traffic Intern