REDO LOG STOP TRANSPORT MARITIMES TO THE BACKUP SITE

Hi guru,.

After physical creation Eve redologs are shipped and applied to standby mode. But suddenly stopped shipping redo log. I checked the main site from the log file it log archiving generates here but that is not delivered to the backup site. As I checked the pwd file is same on both sites, so I am able to connect to the db of the main site backup site.

Can any of clarify you why it happens so.

Thanks in advance

From point 1 to 3, I check that all are defined

But for pt 4 when I run the above command is as below:

STATE ERROR

-------------------               ---------------------------------------------------------------------

VALID

DISABLED ORA - 16057:DGID OF THE SERVER NOT IN THE CONFIG OF DATA HOLD

OK, I got the error where is is LOG_ARCHIVE_CONFIG check box enabled on db primary

I correct and now delivery is correct, but one thing which still confuse me, is that when I run the command to check the archiev applied

SEQUENCE # FIRST_TIME NEXT_TIME APP

APP COLUMN ALWAYS SHOWS NO standby, as well as on the primary, but before it shows why Yes

Tags: Database

Similar Questions

  • Standby redo logs must be configured on the primary

    Oracle 11.2.0.4, 4 CARS on primary node

    Oracle 11.2.0.4, node 4 CARS waiting

    Configured with oracle Data Guard using Data Guard Broker

    I use the latest version or orachk 12.1.0.2.4

    In the orachk report, I see the following error message:

    Standby redo logs must be configured on the primary

    +RECO/finprd1/onlinelog/group_13.2146.881183157

    +RECO/finprd1/onlinelog/group_14.2143.881183159

    +RECO/finprd1/onlinelog/group_15.5008.881183161

    +Data/finprd1/onlinelog/group_16.1660.881183161

    +RECO/finprd1/onlinelog/group_16.5003.881183161

    +RECO/finprd1/onlinelog/group_17.4999.881183163

    +RECO/finprd1/onlinelog/group_18.2096.881183163

    +RECO/finprd1/onlinelog/group_19.2094.881183305

    +RECO/finprd1/onlinelog/group_20.1778.881183305

    +RECO/finprd1/onlinelog/group_21.4994.881183307

    +RECO/finprd1/onlinelog/group_22.4992.881183307

    +RECO/finprd1/onlinelog/group_23.2049.881183307

    +RECO/finprd1/onlinelog/group_24.1454.881183309

    +RECO/finprd1/onlinelog/group_25.4983.881183309

    +RECO/finprd1/onlinelog/group_26.1688.881183309

    +RECO/finprd1/onlinelog/group_27.4973.881183311

    +RECO/finprd1/onlinelog/group_28.4969.881183311

    But when I check the primary database, I see that there are waiting for redo logs. So, why the error? Any ideas?

    [SYS@FINPRD11] SQL > select

    2 lg.group #.

    LG.type,

    3 4 lg.member

    l.bytes/1024/1024 as SIZE_MB

    Of

    5 6 7 v$ logfile lg,.

    v 8 $log l

    9 where

    10 lg.group #= l.group #.

    Union of all the

    11 12 select

    LG.Group # 13,

    LG.type 14,

    15 lg.member,

    16 st.bytes/1024/1024 as SIZE_MB

    17 of

    18 v$ logfile lg,.

    19 v$ standby_log st

    where the 20

    21 lg.group #= st.group #;

    GROUP # TYPE MEMBER SIZE_MB

    ---------- ------- -------------------------------------------------- ----------

    1 +DATA/finprd1/onlinelog/group_1.286.876507139 on LINE 512

    1 +RECO/finprd1/onlinelog/group_1.706.876507139 on LINE 512

    +DATA/finprd1/onlinelog/group_2.384.876507141 online 2 512

    +RECO/finprd1/onlinelog/group_2.737.876507141 online 2 512

    +DATA/finprd1/onlinelog/group_7.451.876507495 online 7 512

    +RECO/finprd1/onlinelog/group_7.714.876507497 online 7 512

    +DATA/finprd1/onlinelog/group_8.450.876507497 online 8 512

    +RECO/finprd1/onlinelog/group_8.1162.876507497 online 8 512

    +DATA/finprd1/onlinelog/group_5.449.876507499 online 5 512

    +RECO/finprd1/onlinelog/group_5.355.876507499 online 5 512

    +DATA/finprd1/onlinelog/group_6.448.876507499 online 6 512

    +RECO/finprd1/onlinelog/group_6.818.876507501 online 6 512

    +DATA/finprd1/onlinelog/group_3.447.876507501 online 3 512

    +RECO/finprd1/onlinelog/group_3.1188.876507501 online 3 512

    4 +DATA/finprd1/onlinelog/group_4.446.876507503 on LINE 512

    4 +RECO/finprd1/onlinelog/group_4.385.876507503 on LINE 512

    +DATA/finprd1/onlinelog/group_9.1653.881182905 online 9 512

    +RECO/finprd1/onlinelog/group_9.5058.881182905 online 9 512

    +DATA/finprd1/onlinelog/group_10.1654.881182985 online 10 512

    +RECO/finprd1/onlinelog/group_10.2206.881182985 online 10 512

    +DATA/finprd1/onlinelog/group_11.1655.881182985 online 11 512

    +RECO/finprd1/onlinelog/group_11.2205.881182987 online 11 512

    +DATA/finprd1/onlinelog/group_12.1656.881182987 online 12 512

    +RECO/finprd1/onlinelog/group_12.5045.881182987 online 12 512

    +RECO/finprd1/onlinelog/group_13.2146.881183157 EVE 13 512

    +RECO/finprd1/onlinelog/group_14.2143.881183159 EVE 14 512

    +RECO/finprd1/onlinelog/group_15.5008.881183161 EVE 15 512

    +DATA/finprd1/onlinelog/group_16.1660.881183161 EVE 16 512

    +RECO/finprd1/onlinelog/group_16.5003.881183161 EVE 16 512

    +RECO/finprd1/onlinelog/group_17.4999.881183163 EVE 17 512

    +RECO/finprd1/onlinelog/group_18.2096.881183163 EVE 18 512

    +RECO/finprd1/onlinelog/group_19.2094.881183305 standby 19 512

    +RECO/finprd1/onlinelog/group_20.1778.881183305 EVE 20 512

    +RECO/finprd1/onlinelog/group_21.4994.881183307 EVE 21 512

    22 +RECO/finprd1/onlinelog/group_22.4992.881183307 ENSURES 512

    +RECO/finprd1/onlinelog/group_23.2049.881183307 EVE 23 512

    +RECO/finprd1/onlinelog/group_24.1454.881183309 EVE 24 512

    +RECO/finprd1/onlinelog/group_25.4983.881183309 EVE 25 512

    26 +RECO/finprd1/onlinelog/group_26.1688.881183309 ENSURES 512

    +RECO/finprd1/onlinelog/group_27.4973.881183311 EVE 27 512

    +RECO/finprd1/onlinelog/group_28.4969.881183311 EVE 28 512

    41 selected lines.

    [SYS@FINPRD11] SQL > SELECT GROUP #, THREAD #, SEQUENCE #, ARCHIVED, STATUS FROM V$ STANDBY_LOG

    2;

    GROUP # THREAD # SEQUENCE # ARC STATUS

    ---------- ---------- ---------- --- ----------

    13 1 0 UNASSIGNED YES

    14 1 0 UNASSIGNED YES

    15 1 0 UNASSIGNED YES

    16 1 0 UNASSIGNED YES

    17 2 0 UNASSIGNED YES

    18 2 0 UNASSIGNED YES

    19 2 0 UNASSIGNED YES

    20 2 UNASSIGNED YES 0

    21 3 0 UNASSIGNED YES

    22 3 0 UNASSIGNED YES

    23 3 0 UNASSIGNED YES

    GROUP # THREAD # SEQUENCE # ARC STATUS

    ---------- ---------- ---------- --- ----------

    24 3 0 UNASSIGNED YES

    25 4 0 UNASSIGNED YES

    26 4 0 UNASSIGNED YES

    27 4 0 UNASSIGNED YES

    28 4 0 UNASSIGNED YES

    IT would be difficult to debug, better you trigger SR in support to verify the code. Good thing is you know again sleep exists, so why worry.

    You can ignore it.

  • delivery problem connect to the backup site.

    Hi all

    I'm using oracle 11.1.6.0 on LINUX centos 5.
    After the successful creation of database of sleep by using rman duplicate, I am faced with the issue of the journal not shpping to backup site.
    I copy the password from the primary to the backup site and rename on it.also create new file password for both servers, but the error remains the same.here is the error of the primary db alerts log

    Thu Feb 19 14:42 2013
    Logging of 1017 errors received on the eve
    ------------------------------------------------------------
    Verify that the primary and standby use a password file
    and remote_login_passwordfile shared or EXCLUSIVE.
    and the SYS password is the same password files.
    error ORA-16191
    ------------------------------------------------------------
    Errors in the /u01/app/oracle/11/diag/rdbms/orcl/orcl/trace/orcl_arc3_8226.trc file:
    ORA-16191: customer main newspaper not connected waiting for shipment
    Heartbeat PING [ARC3]: Unable to connect to the eve "stan." The error is 16191.

    also here is the primary database connection caraa its working fine

    [script oracle@primary] $ sqlplus/nolog
    SQL * more: version 11.1.0.6.0 - Production kills him Feb 19 14:44:28 2013
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    SQL > connect sys/oracle@orcl as sysdba
    Connected.
    SQL > connect sys/oracle@stan as sysdba
    Connected.
    SQL >

    any help in this regard.please I'm stuck here for the past two days.

    recreate the two with ignorecase = yes password files, for example

    orapwd... entries = password =... ignorecase = yes

    Sometimes it mixes upwards, even if you type the password in lower case (without the ignorecase = yes). seen it go wrong 11.1 front.

  • All the links on a page was taken over by ads. How can I stop and go to the linked site correct

    All the links on a page was taken over by ads. How can I stop and go to the linked site correct

    You may have ad / bad-ware. More information can be found in the article troubleshooting Firefox problems caused by malware .

    Run most or all of the listed malware scanners. Each works differently. If a single
    program forget something, someone else can pick it up.

    Adblock more {web link}
    Blocks annoying video ads on YouTube, Facebook ads, banners
    and much more. Adblock Plus blocks all the annoying ads, and
    supports Web sites by blocking is not discrete (configurable) default ads.

    Pop-up Addon Adblock more {web link}
    Adblock Plus pop-up Addon - extends the functionality of blocking of the
    Adblock Plus for those annoying windows pop up that opens on the mouse
    clicks and other actions of the user.

    Forum; Homepage of Adblock Plus {web link}

  • Standby Redo logs and the Directory Structure in the Backup Site

    Hi guru

    I just want to confirm, I know that if the directory structure is different, I need to talk about these 2 settings in the file pfile

    on the main site:

    DB_CONVERT_DATAFILE = 'sleep', 'primary '.

    LOG_CONVERT_DATAFILE = 'sleep', 'primary '.

    On the secondary Site:

    DB_CONVERT_DATAFILE = 'primary', 'sleep '.

    LOG_CONVERT_DATAFILE = 'primary', 'sleep '.

    But I want to confirm this weather I have to deliver the full path of the directory in the two paramtere above:

    as:

    DB_CONVERT_DATAFILE = ' / u01/oracle/app/oracle/oradata/sleep ', ' / u01/oracle/app/oracle/oradata/primary.

    LOG_CONVERT_DATAFILE = ' / u01/oracle/app/oracle/oradata/sleep ', ' / u01/oracle/app/oracle/oradata/primary.

    Second Confusion: -.

    After that transfer standby Redo logs creates primary and made to sleep on the foregoing, mentioned the directory structure and after restoring the alongwith primary db backup, that ensures the control file will not affect the journal of physics again placed watch on the above mentioned location.

    Thanks in advance for your help

    vk82 wrote:

    In fact, I create the day before by using the RMAN Duplicate command. but where I am confused is the point if I transfer the backup that i taken the pri on the C:\backup_files path. and after that, I transfer the backups to the waiting on C:\backup_files. After that when I restore it will create datafile and other stuff in another directory I mentioned using DB_FILE_NAME_CONVERT as LOG_FILE_NAME_CONVERT. I think Yes but need your advice during the same period.

    Hello

    Yes, files should be created under the directory mentioned in the path of the parameters 'db_file_name_convert' and 'log_file_name_convert.

    Kind regards
    Shivananda

  • ARCHIVELOG apply very slow to the backup site

    I did a refresh of the data on the production site, then after the import is done, I found the file in the sync backup site password. After I synchronize files password on the two prod and Eve, Eve archivelog apply has been long out of sync.

    Now get going, but it's very very slow. I don't think it's good. Here's some data:

    Production:

    SQL > SELECT
    NAME IN STANDBY MODE,
    SEQUENCE #.
    APPLIED,
    COMPLETION_TIME
    Of
    V$ ARCHIVED_LOG
    WHERE
    DEST_ID = 2
    AND
    NEXT_TIME > SYSDATE-1; 2 3 4 5 6 7 8 9 10 11

    STANDBY SEQUENCE # APPLIED CAPS
    -------------------- ---------- ---------- ---------
    hysdev 18693 No. 2 January 12
    hysdev 18696 No. 2 January 12
    hysdev 18697 No. 2 January 12
    hysdev 18698 No. 2 January 12
    hysdev 18699 No. 2 January 12
    hysdev 18700 No. 2 January 12
    hysdev 18701 No. 2 January 12
    hysdev 18702 No. 2 January 12
    hysdev 18703 No. 3 January 12
    hysdev 18704 No. 3 January 12
    hysdev 18705 No. 3 January 12

    STANDBY SEQUENCE # APPLIED CAPS
    -------------------- ---------- ---------- ---------
    hysdev 18706 No. 3 January 12
    hysdev 18707 No. 3 January 12
    hysdev 18708 No. 3 January 12
    hysdev 18709 No. 3 January 12
    hysdev 18710 No. 3 January 12

    16 selected lines.

    SQL > SELECT
    MAX(SEQUENCE#)
    Of
    V$ ARCHIVED_LOG
    WHERE
    NEXT_TIME > SYSDATE-1;
    2 3 4 5 6
    MAX(SEQUENCE#)
    --------------
    18710

    SQL > select thread #, max(sequence#) in Group v$ archived_log by thread #;

    THREAD # MAX(SEQUENCE#)
    ---------- --------------
    1 18710

    SQL > select name, floor (space_limit/1024/1024) "Size MB", ceil (space_used/1024/1024) "used MB.
    v $ recovery_file_dest
    by name
    2 3 4
    SQL > /.

    NAME
    ----------------------------------------------------------------------------------------------------
    Size used Mo Mo
    ---------- ----------
    + HY_FRA
    368640 367839

    SQL > SQL > select ds.dest_id id
    2, ad.status
    ds.database_mode db_mode
    3 4, type ad.archiver
    5, ds.recovery_mode
    6, ds.protection_mode
    DS.standby_logfile_count 7, "litigants".
    8, active ds.standby_logfile_active
    9, ds.archived_seq #.
    10 v $ archive_dest_status ds
    , announcement of v$ archive_dest
    where ds.dest_id = ad.dest_id
    11 12 13 and ad.status! = 'INACTIVE '.
    14 order by
    15 ds.dest_id
    16.

    ID STATUS DB_MODE TYPE RECOVERY_MODE PROTECTION_MODE
    ---------- --------- --------------- ---------- ----------------------- --------------------
    SRls ASSETS ARCHIVED_SEQ #.
    ---------- ---------- -------------
    1 VALID INACTIVE OPEN ARC MAXIMUM PERFORMANCE
    0 0 18710

    2 VALID LGWR OPEN_READ MANAGED AT THE TIME ONLY ONE REAL IS APPLIES TO MAXIMUM PERFORMANCE
    8 2 16851

    standby:
    SQL > select process, status, sequence # from v$ managed_standby;

    STATUS OF PROCESS SEQUENCE #.
    --------- ------------ ----------
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    ARCH. CLOSING 18703
    ARCH. CLOSING 18704
    ARCH. CLOSING 18705
    ARCH. CLOSING 18706
    ARCH. CLOSING 18707
    ARCH. CLOSING 18708
    ARCH. CLOSING 18709
    ARCH. CLOSING 18710

    STATUS OF PROCESS SEQUENCE #.
    --------- ------------ ----------
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    CONNECTED ARCH 0

    STATUS OF PROCESS SEQUENCE #.
    --------- ------------ ----------
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    CONNECTED ARCH 0
    RFS RECEIVING 16852
    RFS RECEIVING 16869
    RFS RECEIVING 16863

    STATUS OF PROCESS SEQUENCE #.
    --------- ------------ ----------
    RFS RECEIVING 16860
    RFS RECEIVING 16872
    RFS RECEIVING 16862
    RFS RECEIVING 16878
    RFS RECEIVING 16853
    RFS RECEIVING 16866
    RFS RECEIVING 16868
    RFS RECEIVING 16876
    RFS RECEIVING 16856
    RFS RECEIVING 16877
    RFS RECEIVING 16858

    STATUS OF PROCESS SEQUENCE #.
    --------- ------------ ----------
    RFS RECEIVING 16874
    RFS RECEIVING 16871
    RFS RECEIVING 16870
    RFS RECEIVING 16879
    RFS RECEIVING 16855
    RFS RECEIVING 16859
    RFS IDLE 18711
    RFS RECEIVING 16873
    RFS RECEIVING 16861
    RFS RECEIVING 16875
    RFS RECEIVING 16857

    STATUS OF PROCESS SEQUENCE #.
    --------- ------------ ----------
    RFS RECEIVING 16867
    RFS RECEIVING 16865
    RFS RECEIVING 16864
    RFS RECEIVING 16880
    RFS RECEIVING 16854
    MRP0 WAIT_FOR_LOG 16852

    61 selected lines.

    SQL > select thread #, max(sequence#) from v$ archived_log in case of application = 'YES' group by thread #;

    THREAD # MAX(SEQUENCE#)
    ---------- --------------
    1 16851

    SQL > select ds.dest_id id
    2, ad.status
    3, ds.database_mode db_mode
    4, type ad.archiver
    5, ds.recovery_mode
    6, ds.protection_mode
    DS.standby_logfile_count 7, "litigants".
    8, active ds.standby_logfile_active
    9, ds.archived_seq #.
    10 v $ archive_dest_status ds
    11, v$ archive_dest ad
    12 where ds.dest_id = ad.dest_id
    13 and ad.status! = 'INACTIVE '.
    14 order by
    15 ds.dest_id
    16.


    ID STATUS DB_MODE TYPE RECOVERY_MODE
    ---------- --------- --------------- ---------- -----------------------
    LAR ACTIVE ARCHIVED_SEQ PROTECTION_MODE #.
    -------------------- ---------- ---------- -------------
    APPLY 1 VALID OPEN_READ ONLY MANAGED AT THE TIME VAULT REAL
    0 0 18710 MAXIMUM PERFORMANCE

    2 LGWR INACTIVE VALID UNKNOWN
    MAXIMUM PERFORMANCE 0 0 0

    32 INACTIVE VALID UNKNOWN ARCH
    0 0 16851 MAXIMUM PERFORMANCE


    SQL > SQL > home
    Oracle@oracle01[home/Oracle]hysdev$ ps - ef | grep mrp
    Oracle 20660 1 0 00:27? 00:00:00 ora_mrp0_hysdev


    Last night the archivelog applied was a sequence 15100, this morning, it was 16851, which is extremely slow.

    dgmgrl results:
    DGMGRL > see the hysdev database

    Database - hysdev

    Role: STANDBY PHYSICS
    State of destination: apply
    Delay of transport: 1 day (s) 4 hours, 40 minutes and 52 seconds
    Apply the Lag: 1 day (s 4 hours, 40 minutes and 53 seconds)
    Real-time query: WE
    Occurrence (s):
    hysdev

    State of the database:
    SUCCESS


    I do not understand why it is so slow and I wonder if the archivelogs are ignored? or is the area FRA prod is nearly full?

    Help, please. Thanks in advance.

    874437 wrote:
    Thank you and msberg much, you guys always there when I need help. You both deserve a metal.

    I'll watch the newspaper generate rates and I hope next time I can do better.

    Thanks again for your time and your contribution.

    Please close the thread, so that significant as she answered.

    Mseberg contribution was great again.

    Published by: CKPT on January 4, 2012 09:05

  • When I try to go to my page pintrest I get this message: {"status": "404"}. That is what this mean and how do I get to pinterest and stop using IE for the Web site

    Pintrest seems to be the only site where I get the error message: {"status": "404"}. So far all other sites developed.

    Reload Web pages and ignore the cache to refresh potentially stale or corrupt.

    • Hold SHIFT and click reload.
    • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
    • Press 'Command + shift + R' (MAC)

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".
  • DG broker configuration file not created at the backup site

    Hello

    I try to configure dataguard for db (10.2.0.1) primary, standby is created as stby

    I configured a third node to the observer, I did the TNS entires and verified connectivity

    When I expressed

    ALTER system set dg_broker_start = True scope = both;

    on both nodes, the configuration files have been created at the primary site

    SQL > show parameter DG_BROKER_CONFIG

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    dg_broker_config_file1 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\DR1PRIMARY. A3
    dg_broker_config_file2 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\DR2PRIMARY. A3


    I checked the

    but the stby node

    SQL > show parameter DG_BROKER_CONFIG

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    dg_broker_config_file1 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\DR1STBY. A3
    dg_broker_config_file2 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\DR2STBY. A3

    There is no config file even though the parameter gives suggests that it had been created

    how I created these files

    without them I won't be able to add stby on the watcher node

    The config seems mostly OK. Suggest you add another roll forward Eve sign in primary and standby, then switch connects to the primary and see what you get errors.

  • Recreate the Member lost/damaged redo log in a group

    DB version: 11.2.0.4

    OS: Oracle Linux 6.5

    In this particular PB we have multiplexes recovery logs (2 members from each group of redo).

    If one member of a group of Redo log is corrupted then, regardless of whether the Member belonged to the Group that is CURRENT, ACTIVE or INACTIVE, can we just let GO and CREATE the file journal lost this group member by following the steps below?

    -Find the corrupted Member

    SELECT GROUP #, STATUS, MEMBER OF V$ LOGFILE WHERE STATUS = 'INVALID ';

    1 back UP the DB

    2. CHANGE THE SYSTEM CHECKPOINT;

    3 ALTER DATABASE CLEAR LOGFILE GROUP 3;  - , This step should not be executed. Right?

    4. ALTER DATABASE DROP LOGFILE MEMBER ' / oracle/oradata/wms/redo02.log';

    (Apparently, this removes not the logfile at the OS level, only the control file is updated in the DB)

    5 ALTER DATABASE ADD LOGFILE MEMBER ' / oracle/oradata/wms/redo02b.log' to GROUP 3.

    When I googled for steps, I found the table below in the official documentation of the Oracle. This table is applicable only if the ENTIRE REDO LOG disappeared.

    http://docs.Oracle.com/CD/E25054_01/backup.1111/e10642/osadvsce.htm#CACFJDBG

    I want just the steps if only 1 member of a multiplex group is lost/damaged.

    3. ALTER DATABASE CLEAR LOGFILE GROUP 3;  -This step should not be executed. Right?

    Yes. It's true. You can refer to the section 'Recovery after losing a member of the a multiplex online Redo Log group' under recovery after the loss of online redo log files: scenarios

    HTH

    -Jonathan Rolland

  • Cold backup with online redo logs

    I'm working on 10G in AIX for a single instance
    It's just a general db backup & restore issue, but I have something confused.

    I'll take a cold backup with my database ARCHIVELOG.
    No wonder why make a backup of cold because it's a test database that can suffer from loss of data and the time during backup.
    I read some guides. They all mentioned to back up all the data files and control files.
    When restoring I copy all saved data files and control files to the default location.
    Then mount boot;
    Is the last step before opening the database recover database until cancel;
    For the acknowledgement, I do the database recovery command, because again the online newspapers were not saved, so we must recover in order to reset the redo logs.
    For my question, I would be in a position of order recovery of database, then directly the database starts, if I backed up online redo logs and copy the default location when restoring?
    However, I have read a lot of documents that mentions that it is not proposed to backup online redo logs. Is it simply the case that ONLY applied in the backup hot? Do you think all that for my case, cold backup online redo logs is recommended?

    Thank you all

    Hello

    read the response of Hemant ==> Re: restoration of noarchive

    Anand

  • Files redo log by using the optimal_logfile_size to design view.

    Concerning

    I have a specific question about the size of the log file. I have deployed a database of test and I was exploring some aspects regarding the selection of the optimal size of recovery for performance logs by using the view v$ instance_recovery optimal_logfile_size. My main goal is necessary for example to reduce the bytes redo recovery. Currently I have not been able to optimize the size of redo log file. Here are the steps I followed: -.

    In order to use the view v$ instance_recovery, I had to put the fast_start_mttr_target parameter which is by default do not then I did as follows: -.

    (1) SQL > sho parameter fast_start_mttr_target;

    VALUE OF TYPE NAME
    ------------------------------------ --------------------------------- ------------------------------
    fast_start_mttr_target integer 0

    (2) setting the fast_start_mttr_target requires destroy deferred to the following parameters: -.
    SQL > show parameter log_checkpoint;

    VALUE OF TYPE NAME
    ------------------------------------ --------------------------------- ------------------------------
    log_checkpoint_interval integer 0
    log_checkpoint_timeout around 1800
    log_checkpoints_to_alert boolean FALSE

    SQL > select ISSES_MODIFIABLE, ISSYS_MODIFIABLE, ISINSTANCE_MODIFIABLE, ISMODIFIED parameter of $ v where name like 'log_checkpoint_timeout;

    ISSES_MODIFIABL ISSYS_MODIFIABLE ISINSTANCE_MODI ISMODIFIED
    --------------- --------------------------- --------------- ------------------------------
    IMMEDIATE FALSE TRUE FALSE

    SQL > alter system set log_checkpoint_timeout = 0 scope = both;

    Modified system.

    SQL > show parameter log_checkpoint_timeout;

    VALUE OF TYPE NAME
    ------------------------------------ --------------------------------- ------------------------------
    log_checkpoint_timeout integer 0

    (3) setting fast_start_mttr_target now

    SQL > select ISSES_MODIFIABLE, ISSYS_MODIFIABLE, ISINSTANCE_MODIFIABLE, ISMODIFIED parameter of $ v where name like 'fast_start_mttr_target;

    ISSES_MODIFIABL ISSYS_MODIFIABLE ISINSTANCE_MODI ISMODIFIED
    --------------- --------------------------- --------------- ------------------------------
    IMMEDIATE FALSE TRUE FALSE

    Definition of the fast_mttr_target to 1200 = 20 minutes of the control point of switching on the recommendation of the Oracle

    Ask the view v instance_recovery $

    (4) SQL > select ACTUAL_REDO_BLKS, TARGET_REDO_BLKS, TARGET_MTTR, ESTIMATED_MTTR, OPTIMAL_LOGFILE_SIZE, CKPT_BLOCK_WRITES from v$ instance_recovery;

    ACTUAL_REDO_BLKS TARGET_REDO_BLKS TARGET_MTTR ESTIMATED_MTTR OPTIMAL_LOGFILE_SIZE CKPT_BLOCK_WRITES
    ---------------- ---------------- ----------- -------------- -------------------- -----------------
    276 165888 * 93 * 59 361 16040

    Here target MTTR was 93 so I put the fast_mttr_target to 120

    SQL > alter system set fast_start_mttr_target = 120 scope = both;

    Modified system.

    The size of the log file suggested by v$ instance_recovery is now 290 MB

    SQL > select ACTUAL_REDO_BLKS, TARGET_REDO_BLKS, TARGET_MTTR, ESTIMATED_MTTR, OPTIMAL_LOGFILE_SIZE, CKPT_BLOCK_WRITES from v$ instance_recovery;

    ACTUAL_REDO_BLKS TARGET_REDO_BLKS TARGET_MTTR ESTIMATED_MTTR OPTIMAL_LOGFILE_SIZE CKPT_BLOCK_WRITES
    ---------------- ---------------- ----------- -------------- -------------------- -----------------
    59 165888 93 59 290 16080

    After you change the size of the logfile to 290 as indicated below by v$ log view;

    SQL > select GROUP #, THREAD #, SEQUENCE #, BYTES of the log v$.

    GROUP # THREAD # SEQUENCE # BYTES
    ---------- ---------- ---------- ----------
    1 1 24 304087040
    2 1 0 304087040
    3 1 0 304087040
    4 1 0 304087040
    (5) after you change the size, I observed the anomaly as redo log blocks to be applied for the recovery went to * $ 59 to 696 * v instance_recovery view is now also now offers the size of the log file of * 276 MB *. Have I misunderstood something

    SQL > select ACTUAL_REDO_BLKS, TARGET_REDO_BLKS, TARGET_MTTR, ESTIMATED_MTTR, OPTIMAL_LOGFILE_SIZE, CKPT_BLOCK_WRITES from v$ instance_recovery;

    ACTUAL_REDO_BLKS TARGET_REDO_BLKS TARGET_MTTR ESTIMATED_MTTR OPTIMAL_LOGFILE_SIZE CKPT_BLOCK_WRITES
    ---------------- ---------------- ----------- -------------- -------------------- -----------------
    * 696 * 646947 120 59 * 276 * 18474

    If please specify the output above, that I'm unable to optimize the size of the log file and have not been able to achieve the goal of reducing the redo log blocks to apply for recovery, any help is appreciated in this regard.

    I don't think that test for the optimum size of redo's CTD. Maybe if you did each week, as a regular or something, but the unique initial setup and sometimes check in production? N ° but it will be iterative as part of a deployment of init.ora Exchange.

    In addition, it is part of the DBA job to understand the recovery and what to expect. Which includes the understanding of all these parameters, init and tests for the environment. It also includes an understanding of the characteristics of the application and its load.

  • Question about how Oracle manages the Redo logs

    Hello

    Assuming a configuration which consists of 2 redo log groups (groups A and B), each group of 2 disks (disks A1 and A2 for Group A) and B1 and B2 disks for Group B. Additionally, assume that each redo log file resides by itself in a disk storage device and that the device is dedicated to her. So in the situation described above, there are 4 discs, one for each redo log file, and each disc contains nothing other than a redo log file. Also, assume that the database is in ARCHIVELOG mode and the files from archive is stored on another different set of devices.

    kind of graphically:
        GROUP A             GROUP B
    
          A1                  B1
          A2                  B2
    The question is: when the disks that make up the Group A are filled and Oracle switches to the disks in the Group B, can the group drives to take offline, perhaps even physically removed from the system if necessary without affecting the functioning of the database? Can the archiver process temporarily delayed until the disks (which have been removed) are presented online or is the DBA have to wait until the end of the process to archive a copy of the redo log file creating in archive?

    Thank you for your help,

    John.

    Hello
    A journal of the groups fall

    To remove a group of online redo logs, you must have the ALTER DATABASE system privilege. Before you delete a line redo log group, consider the following precautions and restrictions:

    * An instance requires at least two groups of files logging online, regardless of the number of members in the groups. (A group is one or more members.)
    * You can delete a group of newspapers online redo only if it is inactive. If you need to drop the current group, first force a log switch occurs.
    * Make sure a group of online redo logs is archived (if archiving is enabled) before dropping. To see if this happens, use the view LOG V$.

    SELECT GROUP #, ARCHIVED, STATUS FROM V$ LOG;

    GROUP # ARC STATUS
    --------- --- ----------------
    1 ACTIVE YES
    2. NO CURRENT
    3 INACTIVE YES
    4 INACTIVE YES

    Delete a group of newspapers online redo with the SQL ALTER DATABASE statement with the DROP LOGFILE clause.

    The following statement drops redo log group number 3:

    ALTER DATABASE, DROP LOGFILE GROUP 3;

    When a group of online redo logs is deleted from the database, and you do not use Oracle managed files, operating system files are not removed from the disk. Instead, control of the associated database files are updated to remove members of the Group of the database structure. After deleting a group of online redo logs, make sure the drop completed successfully and then use the command of operating system appropriate to delete the dropped online redo log files.

    When you work with files managed by Oracle, the cleaning of operating system files is done automatically for you.
    Your database will not be affected as you can work with 2 files, redo log in each group, as the minimum number of redo log in a database file is two because the process LGWR (newspaper writer) writes in the redo log in a circular way. If the process crashes because you have 2 groups only if you want to remove 1 Add a third and make that the current group and remove the one you want to be offline.

    Please refer to:
    http://download.Oracle.com/docs/CD/B10500_01/server.920/a96521/onlineredo.htm#7438
    Kind regards
    Mohamed
    Oracle DBA

  • Question about the size of the redo log buffer

    Hello

    I am a student in Oracle and the book I use says that having a bigger than the buffer log by default, the size is a bad idea.

    It sets out the reasons for this are:

    >
    The problem is that when a statement COMMIT is issued, part of the batch validation means to write the contents of the buffer log for redo log to disk files. This entry occurs in real time, and if it is in progress, the session that issued the VALIDATION will be suspended.
    >

    I understand that if the redo log buffer is too large, memory is lost and in some cases could result in disk i/o.

    What I'm not clear on is, the book makes it sound as if a log buffer would cause additional or IO work. I would have thought that the amount of work or IO would be substantially the same (if not identical) because writing the buffer log for redo log files is based on the postings show and not the size of the buffer itself (or its satiety).

    Description of the book is misleading, or did I miss something important to have a larger than necessary log buffer?

    Thank you for your help,

    John.

    Published by: 440bx - 11 GR 2 on August 1st, 2010 09:05 - edited for formatting of the citation

    A commit evacuates everything that in the buffer redolog for redo log files.
    A redo log buffer contains the modified data.
    But this is not just commit who empty the redolog buffer to restore the log files.
    LGWR active every time that:
    (1) a validation occurs
    (2) when the redo log is 1/3 full
    (3) every 3 seconds
    It is not always necessary that this redolog file will contain validated data.
    If there is no commit after 3 seconds, redologfile would be bound to contain uncommitted data.

    Best,
    Wissem

  • Loss of all Redo Log files

    Hello

    It's for testing purposes and practice of recovery scenarios. Database is in log mode archive. My question would be on the scenario in which we loose that redo all online log files available.

    Now after doing a lot of research on the internet I could find two scenarios.

    CASES1

    My recovery logs have been lost. But I could stop normal or immediate of the database. In this case I could perform incomplete recovery using my archived logs and re create the logs online redo with the resetlogs option.

    CAS2 (my question)

    My recovery logs have been lost and the system crashed. Now, oracle would need perform a recovery of proceeding on re start, however there is no present setpoint recovery to perform this restore.

    Is it not possible to recover the database, even if I have a valid backup? If there is, how do you do that?

    Thank you

    If you lose all copies of online redo logs, you lost all those transactions. Data files may or may not have some or all of the data of those redo logs. You need restore the database and retrieve it at the point in time of the last series of archive logs (at the latest) and go from there.

    But guess what? Oracle expected that someone might have a question like that, and actually (gasp) has documented the scenario:

    http://docs.Oracle.com/CD/B19306_01/backup.102/b14191/recoscen.htm#i1006437

  • ORA-38754: FLASHBACK DATABASE not started; required redo log is not available

    Hello

    I am getting below error when executing the activities of flashback. Currently we have backups, so when I tried the command flashback in RMAN my question solved.

    But if I want to do the same thing using SQLPLUS what steps should I take?

    ERROR:

    ORA-38754: FLASHBACK DATABASE not started; required redo log is not available

    ORA-38762: redo logs needed for SNA to SNA 20062842936 20062842926

    ORA-38761: redo log sequence 4 in thread 2, 65 incarnation cannot

    consulted

    DATABASE:11.2.0.3.0 (UAT)

    RMAN will automatically restore logs archived redo required for the operation of blowback when they are not present on the drive, while (as meyssoun said) when using sqlplus required archived redo logs must be available on the disc.

    Concerning

    AJ

Maybe you are looking for

  • Windows XP don't talk to the PS3

    I have windows XP and trying to get the computer talk to him about the PS3 for media sharing. The last few days while pretending to have all the boxes are checked on the computer and with WMP11 and all the setting supposed to be correct in the PS3 ca

  • OfficeJet Pro 8000: Reset/change password wireless Officejet Pro 800 on Mac OS El Capitan

    I need to change the password on my officejet wireless, but cannot figure out how. It seem not to be drivers download more and when I try to put in place via the Apple driver no wireless printer is listed. I have reset to factory settings, but which

  • Authentic or not?

    I received a card Sandisk Extreme Pro 32 GB SD card recently. I'm already registered it with Sandisk. How can I check if it is authentic or not?

  • No present 'attributes'?

    I need your help. I have Vista Home Edition on a Toshiba Satellite. I have Microsoft Security Essentials loaded. I was downloading an update for PC Tools the other day, when the problem started. Now, my computer is almost inadmissible; Unable to conn

  • Startup error 0701

    Original title: 0701 start error comes every time how can stop