Need to upgrade Logical standby.

Hi All,
I am in the need to upgrade my Prod & its logical standby database simultaneously from (10.2.0.2 to 10.2.0.4). Could some one provide me any document or steps to perform.
Many thanks in advance...

user13079811 wrote:
Hi All,
I am in the need to upgrade my Prod & its logical standby database simultaneously from (10.2.0.2 to 10.2.0.4). Could some one provide me any document or steps to perform.
Many thanks in advance...Refer http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/rollup.htm#BABGFCAI

Similar Messages

  • Do I need ASM for logical standby server?

    I am using ASM in production, when I created physical standby for it, system asked me create ASM file system on it else it is not possible. My question is do I need ASM file system for logical standby too.?
    Thanks

    You can have the primary database on ASM and the standby on filesystem if you want.
    You just need to set db_file_name_convert and standby_file_management. I have tested this will physical, but not logical standby.

  • Logical standby: SQL Apply too slow

    Hi all,
    I have a question regarding SQL Apply performance in logical standby. There are two kind of operations that are remarkably slow when applying them on logical standby. These are "truncate table" and "delete from table" operations.
    When logical standby pick up one of mentioned statements from logs one of appliers start working whereas rest others are waiting. It looks like standby hang and very slow sql apply is moving on gradually and finally when operation completes standby is behind primary for 4 or 5 or even 8 hours.
    What can be done in this regard to speed up sql apply and alleviate this situation?
    Best Regards,
    Alex

    Are you absolutely sure that the truncate is the problem (and deletes). How did you check it?
    You can use LogMiner to check what are most of the commands in the log currently applied. I use this:
    BEGIN
    sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/home/oracle/arc_43547_1_595785865.arc', OPTIONS => sys.DBMS_LOGMNR.ADDFILE);
    END;
    BEGIN
    sys.DBMS_LOGMNR.START_LOGMNR( OPTIONS => sys.DBMS_LOGMNR.DICT_FROM_ONLINE_CATALOG);
    END;
    SELECT seg_owner,seg_name,table_name,operation,COUNT(1) FROM V$LOGMNR_CONTENTS
    GROUP BY seg_owner,seg_name,table_name,operation
    ORDER BY COUNT(1) DESC
    BEGIN
    sys.DBMS_LOGMNR.END_LOGMNR();
    END;
    Most of the times in our cases when SQL Apply is slow is because of high activity on particular object. This can be detected by high number of DMLs for that object using LogMiner. If this object is not needed on the logical standby you can skip it and thus SQL Apply will be faster because it will not apply changes for this particular one. If it's needed and this is not a regular rate, then you can skip it temporarily, turn on SQL Apply , after problematic logs are applied, turn off SQL Apply, instantiate the object and unskip it, turn on sql apply again.
    Another thing that can drastically slowdown SQL Apply is the size of memory available for SQL Apply(Alert log shows that max is ~4.5GB or something like this, I'm not sure )
    You can increase it with something like this:
    ALTER DATABASE STOP LOGICAL STANDBY APPLY;
    BEGIN
    DBMS_LOGSTDBY.APPLY_SET('MAX_SGA', 3000); -- set to 3000 MB
    END;
    ALTER DATABASE START LOGICAL STANDBY APPLY;
    You have to increase it if the following reports:
    SELECT NAME, VALUE FROM V$LOGSTDBY_STATS
    WHERE NAME LIKE '%page%' OR
    NAME LIKE '%uptime%' or name like '%idle%';
    that 'bytes paged out' increases if run every few seconds during slow SQL Apply.
    I hope that it's something that can be fixed using the above info. If no, please comment and share your investigations.
    Thanks

  • Upgrade 10.2.0.4 RAC to 11.2.0.2 RAC using a transient logical standby?

    Has anyone performed a successful upgrade from 10.2.0.4 RAC to 11.2.0.2 RAC using a transient logical standby? I found one reference to this white paper "http://www.oracle.com/technetwork/database/features/availability/maa-wp-10gr2-transrollupg-168590.pdf" that describes steps to us transient logical standby to upgrade to 11.1.0.6 but I wasn't sure if it also works for upgrades to 11.2.0.2.
    I have a 3 node 10.2.0.4 RAC cluster running on rhel 4.8 with a 3 node dataguard physical standby (which the customer want to keep as a physical standby after the upgrade) that I need to upgrade to 11.2.0.2 with as little downtime as possible. This approach seems like a possible solution but I want to know if it is proven.

    Hi,
    I have a 3 node 10.2.0.4 RAC cluster running on rhel 4.8 with a 3 node dataguard physical standby (which the customer want to keep as a physical standby after the upgrade) that I need to upgrade to 11.2.0.2 with as little downtime as possible. This approach seems like a possible solution but I want to know if it is proven.I suggest you to log a S.R and confirm the same.
    thanks,
    X A H E E R

  • NEED HELP!!!!  Logical Standby and RMAN.

    Hello,
    I have a Data Guard env setup on win 2000 with 9.2.0.4.
    I now have primary and standby. I was wondering if I create a logical standby to achieve transparent application failover. What I am saying is if the primary node dies, then in tnsnames I want to point to the logical standby, since it is an open database, the users can still perform without knowing the db went down. Then if we indeed need a failover we can failover to the physical standby. This would ensure availability without having to implement RAC or AQ, Right? Also, I read that you should create rman schema (recovery catalog) on standby db. Any thoughts?

    Were you able to figure this one out?
    I have a similar configuration as you - the same motherboard and an eVga Geforce 3 6600 fanless.  With the latest BIOS (3.8) and this video card, the system will not go into Standby completely.  I hear the HDD head park and the video goes black, but the LEDs on the front of the PC chassis and the case/PS fans do not stop.  Pressing the button to bring the PC out of Standby, rather, whatever state it is in, works.

  • I own Logic Pro 7( I used to have a PowerPC  and need to upgrade to Logic Pro 9 (new Intel chip, system 10.8) .  Do I need to buy a whole new set or do I upgrade for less cost?

    I own Logic Pro 7( I used to have a PowerPC  and need to upgrade to Logic Pro 9 (new Intel chip, system 10.8) .  Do I need to buy a whole new set or do I upgrade for less cost?

    The cost of the Full Logic Pro 9 from the App Store is less than the cost of the discontinued Boxed Upgrade set for Logic Studio (if you could find one) ... so you might as well purchase the full Logic Pro 9 from the App store and be done.

  • Dataguard - logical standby - need help - not updating data at commit

    Hi
    Need help ?
    We have logical standby setup where data is not updated at standby when committed at Primary. It only updates when alter system swith logfile.
    On Primary:
    log_archive_dest_2='service=xxStandby LGWR ASYNC valid_for=(online_logfiles,primary_role) db_unique_name=xxStandby'
    On Standby:
    we have already created standby redo logs ( 1+ # redo logs)
    we used ALTER DATABASE START LOGICAL STANDBY APPLY IMMEDIATE NODELAY;
    The data only ships when we do the ALTER SYSTEM SWITCH LOGFILE whereas it should so when data is commited on the primary.
    Is there anything we are missing or need attention.
    Please help
    Thanks you so much

    Yes, I have standby redo logs = ( 1 + # redo logs on the primary) and are of same size.
    I also changed the log_archive_dest_2 setting for valid_for to ALL_LOGFILES, but the performance is still very slow... we are now overr 9 hrs behind the primary.
    log_archive_dest_2='service=xxStandby LGWR ASYNC valid_for=(ALL_LOGFILES,primary_role) db_unique_name=xxStandby'
    The Logical standby performance reallly not good at all. trying to increase sga/pga more ... hoping this will speed up some
    Paul

  • Logical standby rolling upgrade issue

    Hello together,
    im experiencing some strange error during the setup of a logical standby environment.
    primary system running: 10.1.0.3.0 - 64bit Production
    log. standby system running: 10.1.0.5.0 - 64bit Production
    compatibility flags set to 10.1.0.3.0 on the standby side.
    now everything works fine till it comes to the point where I have to register the logical logfile after building the logminer dictionary on the primary site.
    Execution flow on the primary site:
    SQL> EXECUTE DBMS_LOGSTDBY.BUILD;
    SQL> SELECT NAME FROM V$ARCHIVED_LOG WHERE (SEQUENCE#=(SELECT MAX(SEQUENCE#) FROM V$ARCHIVED_LOG WHERE DICTIONARY_BEGIN = 'YES' AND STANDBY_DEST= 'NO'));
    gives me:
    /oradata/primary/arch/585226884_1_10.arc
    Copied to the standby side and tried to register the logfile:
    SQL> alter database register logical logfile '/oradata/standby/arch/585226884_1_10.arc';
    alter database register logical logfile '/oradata/standby/arch/585226884_1_10.arc'
    ERROR at line 1:
    ORA-16225: Missing LogMiner session name for Streams
    anyone knows what could cause ?
    thanks in advance
    Chris

    It isn't documented anywhere that I know of but yes you can.
    Stop SQL Apply, set your Guaranteed Restore Point (GRP) in the Logical standby, run your replay, get the results, flashback the standby to the GRP, open reset logs and restart the apply.
    You would need to figure out at what point you would want to run the capture at the primary and stop the SQL Apply at that point or else you will need to flash the logical standby back to the point you started the capture at the Primary and set your Guaranteed Restore point at that point in the database so that Replay can operate correctly (i.e. on the same set of data).
    Bear in mind that you during this process you will have two GRP's. One on the standby and one on the Primary. So you need room for the flashback logs at the standby to hold the flashback data and archive logs generated by the replay as well as room for the archive logs coming in from the Primary. And you will need room for the flashback logs at the Primary because it will be still running production during your replay period and generating flashback data there as well.
    Larry

  • Can i convert logical standby database to physical standby database

    Dear All,
    Can i convert a logical standby database to physical standby database?
    If yes, what are the steps to follow?
    Thanks
    Mahipal

    I never needed or tested something like this, but below maybe usefull -
    Transient Logical Standby
    Users can convert a physical standby to a transient logical standby database to effect a rolling database upgrade, and then revert the standby to its original state as a physical standby database once the upgrade is complete - using the KEEP IDENTITY clause. This benefits physical standby users who wish to execute a rolling database upgrade without investing in redundant storage otherwise needed to create a logical standby database.
    http://www.oracle.com/technology/deploy/availability/htdocs/DataGuardOverview.html
    But opposite is documented - http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ls.htm#BEIGJCAC
    best regards.

  • Oracle 10 upgrade - Primary & standby database

    Hi Expert,
    I need some information on your project experience. We're currently planning a oracle 10 upgrade. Have a few question:
    1. We're planning to upgrade the primary database first and a week later the standby database. Will the archive log which is sent from primary to standby database will still work? Will the recovery still work?
    2. Is this the right patch to go 10.2.0.4? I'm currently on 4.7 ext 2
    3. Will there be a performance issue known of oracle 10 running on 32-bit machine, since it has the limitation of the memory (3G). Do I need to set AWE option on windows?
    Thanks in advance.

    Hello Sean,
    please let me go more in detail with some of your comments.
    > I actually posted my experience with doing a rolling upgrade of a PHYSICAL standby database.
    This statement is wrong. You can't do a rolling upgrade with a physical standby database. You have to convert the database to a logical standby database .. and then you can perform a rolling upgrade. But if you have done the conversion, it is not a physical anymore.
    This is also described and mentioned in this white paper:
    http://www.oracle.com/technology/deploy/availability/pdf/maa_wp_10gr2_rollingupgradebestpractices.pdf
    Data Guard SQL Apply (logical standby database) is required in order to perform a database rolling upgrade. You can also do a rolling upgrade when starting with a physical standby by temporarily converting the physical standby to a logical standby. If starting with 11g, see the Rolling Database Upgrades for Physical Standby Databases using Transient Logical Standby 11g paper for details on doing a rolling upgrade when starting with a physical standby. If starting with 10g, see MetaLink note 300479.1.
    > It WILL work, and is fairly straight forward.
    In this point you are almost correct, because of a standard SAP system is not using the unsupported data types, etc. (afaik)
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/data_support.htm
    To be honest if a sap basis admin asks such a question, i would not recommend to perform an unsupported way, because i am in doubt about his dataguard know how.
    Regards
    Stefan

  • Logical standby and truncate partition

    Hi,
    I'm evaluation whether a logical standby database would meet our needs.
    We have a live database and want a reporting database that is identical to the live one, just minutes behind in time to the live one, plus we want to create other summary tables etc on the reporting db.
    Logical standby seems to meet our needs but I have one query.
    - On the live db the most of the tables are organized by date partitions and only 5 days are kept with new partitions being created every night for the forthcoming days and the oldest date partitions being truncated.
    On the reporting database we want to keep 30 days partitions.
    Can we have all the DDL and DML from live being applied to the standby APART from the specific truncate partition statements?
    Many Thanks,
    Kailas

    Addendum.
    If you can , it is better to truncate the partition but not drop it, after exporting the partition for archive purposes. If you ever need to bring the data back, the data will go into the correct partition . If the table structure has been changed by adding or lengthening columns, this will still work OK where column names match.
    Test ease of restoration of archived data to existing and non-existing partitions with altered structure (dropped columns,added columns, renamed columns) for yourself though.
    Regards, Vin.
    PS. When splitting maxdata partition to create new 'highest' partition, use a small initial extent then the 'next' being the expected real size needed. When the partition is truncated, the only space that should remain un-claimable will be that allocated for the initial extent.

  • Logical Standby Database in NOARCHIVE Mode

    Hi,
    I have configured a Logical Standby Database for Reporting purposes. A Physical Standby Database is running for MAA. i.e. in case of Role Transition (switch/Failover) the Physical Stdby Db will get the role of the Primary.
    The logical standby database is creating a lot of Archive Redologs files, nearly every minute. Redolog files are 50MB and there is no work done in db during the time. I'm NOT using Standby Redolog files.
    Is there a need for logical standby database to be in NOARCHIVELOG mode? The Primary is definatley in ARCHIVELOG mode.
    Thanks for any responses.
    regards
    Sahba

    hi,
    well there are two things to the above:-
    1. there was an archive file nearly every minute:
    this is due to a db recovery. for some reason, the db was in inconsistent state, after a sudden shutdownof the OS. I was on a test environment, on windows vista, unfortunately. unimportant ... a reboot solved it.
    2. Logical standby db in NOARCHIVE MODE when setup for the purpose of Reporting.
    As long as the MAA configured for the primary db, such as physical standby db, and a second, the logical standby db setup purely for the purpose of reporting, which then can run with NOARCHIVELOG mode, after converting the physical standby db to logical.
    logical standby db uses Streams architecture, so this method brings cost, time and performance advantages to the customer.
    regards
    Sahba

  • Best practice on using Flashback and Logical Standby

    Hello,
    I'm testing a fail-back scenario where I first need to activate a logical standby, then do some dummy transactions before I flashback this db and resme the redo apply. Here is what the steps look like:
    1)     Ensure logical standby is in-sync with primary
    2)     Enable flashback on standby
    3)     Create a flashback guaranteed restore point
    4)     Defer log shipping from primary
    5)     Activate the logical standby so it’s fully open to read-write
    6)     Dummy activities against the standby (which is now fully open)
    7)     Flashback the database to the guaranteed checkpoint
    8)     Resume log shipping on primary
    9)     Resume redo apply on secondary
    In the end, i can see the log shipping is happening but the logical standby does not apply any of these..and there is no error in the alert log on Standby side. But the following query could explains why the standby is idle:
    SELECT TYPE, HIGH_SCN, STATUS FROM V$LOGSTDBY;
    TYPE HIGH_SCN STATUS
    COORDINATOR ORA-16240: Waiting for log file (thread# 2, sequence# 0)
    ORA-16240: Waiting for log file (thread# string, sequence# string)
    Cause: Process is idle waiting for additional log file to be available.
    Action: No action necessary. This informational statement is provided to record the event for diagnostic purposes.
    I dont understand why it's looking for sequence #0 after the flashback.
    Thanks for the help.

    Hello;
    I hesitate to answer your question because you are not doing a good job of keeping the forum clean :
    Total Questions: 13 (13 unresolved)
    Please consider closing some of you old answered questions and rewarding those who helped you.
    No action necessary.
    Do you really have a thread 2? ( Redo thread number )
    Quick check
    select applied_scn,latest_scn from v$logstdby_progress;Use the DBA_LOGSTDBY_LOG View if you don't have a thread 2 then the sequence# is meaningless.
    COLUMN DICT_BEGIN FORMAT A10;
    SELECT FILE_NAME, SEQUENCE#, FIRST_CHANGE#, NEXT_CHANGE#,
    TIMESTAMP, DICT_BEGIN, DICT_END, THREAD# AS THR# FROM DBA_LOGSTDBY_LOG
    ORDER BY SEQUENCE#;Logical Standby questions are difficult, not a lot of them out there I'm thinking.
    Check
    http://docs.oracle.com/cd/E14072_01/server.112/e10700/manage_ls.htm
    "Waiting On Gap State" ( However I still believe you don't have a 2nd thread# )
    OR
    http://psilt.wordpress.com/2009/04/29/simple-logical-standby/
    Best Regards
    mseberg
    Edited by: mseberg on Apr 26, 2012 5:13 PM

  • Logical standby in noarchive mode

    Hello,
    does anybody know if it is possible to run a logical standby (10gR2) in noarchivelog mode?
    For my understanding it should be possible, why not... But I can't find a piece of documentation which prove this.
    Thanks in advance,
    Boris...

    I also was curious if setting up a Logical Standby in noarchivelog mode was possible. It looks like it is...
    We use this simply as a reporting copy of our data. Our analysts do not change any of this data. They just need it to be fairly current (~3 days). At this point, there isn't any need to generate archivelogs so we want to disable the feature to minimize our maintenance and our storage requirements.
    STANDBY DB:
    SQL> select log_mode, open_mode from v$database;
    LOG_MODE     OPEN_MODE
    ARCHIVELOG   READ WRITE
    SQL> ALTER DATABASE STOP LOGICAL STANDBY APPLY;
    Database altered.
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount;
    ORACLE instance started.
    Database mounted.
    SQL>  alter database noarchivelog;
    Database altered.
    SQL> alter database open;
    Database altered.
    SQL> ALTER DATABASE START LOGICAL STANDBY APPLY IMMEDIATE;
    Database altered.Then I created an object on the production server:
    SQL> create table testuser.noarchivelog_testing as select * from dba_objects;
    Table created.
    SQL> alter system switch logfile;
    System altered.
    Mon Jun 22 11:13:26 2009
    Beginning log switch checkpoint up to RBA [0xe6.2.10], SCN: 1031235046
    Mon Jun 22 11:13:26 2009Now I see it on the standby:
    Mon Jun 22 11:13:43 2009
    RFS LogMiner: RFS id [25920] assigned as thread [1] PING handler
    RFS[1]: Archived Log: '/oracle/LH1/oraarch/LH1arch_1_229_680639127.arc'
    Mon Jun 22 11:13:46 2009
    RFS LogMiner: Registered logfile [/oracle/LH1/oraarch/LH1arch_1_229_680639127.arc] to LogMiner session id [1]
    Mon Jun 22 11:13:48 2009
    LOGSTDBY status: ORA-16204: DDL successfully applied
    Mon Jun 22 11:13:51 2009
    LOGMINER: End mining logfile: /oracle/LH1/oraarch/LH1arch_1_229_680639127.arc
    SQL> select count(*) from testuser.noarchivelog_testing;
      COUNT(*)
         24444

  • Upgrading Logic and Mac at the same time?

    Hey, I need a bit of help. I am curenttly running Logic 7 on a 2.0 dual core powermac G5. When Apple release the penryn chips I will sell my G5 and get a new mac book pro. I want to upgrade to Logic 8 (the UK upgrade price is about £130). However would I need to install logic 7 on the new mac to be able to use the upgrade? Sorry if this sounds stupid! I don't really wanna be installing old software on my new mac. Could someone explain how this would work. I would prefer to keep everything new and simple, for some reason I have an image of installing 7 and then upgrading to 8 is gonna eat all my memory and hardrive space and muck up the new machine?! Kinda wanted to start afresh with new computer, new software etc. There is nothing I need to bring over from my copy of Logic, no tracks or plug-in's or anything. Also another factor is I think I have 7 or 7.1, not sure that will even run on the new intels will it? If I remember I think 7.2 was the intel upgrade. If I had the money I would just buy it from scratch but I don't have the money and spent about £600 on it originally so would prefer to keep costs down!
    Cheers

    No, just install Logic 8 and have your XSkey handy.
    Logic 7 installation is not required (or even advisable.)

Maybe you are looking for

  • Beats earbud volume control on iPhone 5 not working

    I have a pair of the Beats URBEATS ear buds.  When I use them with my iPhone the volume controls do not work on the headphones not can I answer calls or skip songs.  Anyone else having this problem and how do I fix it ?

  • MimeMultipart.writeTo() synchronized in 1.4.2

    I noticed some synchronization issues in my code due to the fact that MimeMultipart.writeTo() was synchronized in JavaMail 1.4.2. This change disallows two threads from calling writeTo() on the same MimeMessage. I think I should be able to work aroun

  • Required "/" (root) file system size on UNIX for Solution Manager.

    Hello SAP Gurus,    I am setting up SAP Solution Manager 3.2 on HP-UX. It is asking me about 350MB free sapce on "/" file system for Central Instance installation and about 120MB free sapce on "/" file system for Database Instance installation.    I

  • IOS 7.0 iPad Error Occurs

    I Am Getting iMessage and FaceTime Login Error, It Keep Ask Me To Check My Internet Connection But It Was Ok. App Store Can Be Used ( Means Internet Was Working). I Also Feel Some Hang When In Setting.

  • How to get rid of bing at "new tab"

    I dont have a toolbar, it does not hijack my homepage. But everytime I open a new tab (which was always blank) I get a stupid bing search bar. That is the only place it shows up, but it is sooo annoying because I always go straight to typing whatever