Create the day before having abandoned datafile offline.

Hello
How to treat offline datafiles source dumped when creating pending.
I have 4 bow TIE and a tablespace offline and related bigdatafile droped offline (because of corruption).
SQL> select tablespace_name , status from dba_tablespaces order by status ;

TABLESPACE_NAME                STATUS
------------------------------ ---------
OLD_TBS                         OFFLINE

SQL> select TS#,STATUS,ENABLED from v$datafile order by status;

       TS# STATUS  ENABLED
---------- ------- ----------
        16 OFFLINE DISABLED



Its 4 node RAC 10.2.0.3 and ASM .

select name,TS#,STATUS,ENABLED from v$datafile order by status
+DBG1/dbname/datafile/bigfile.279.615031073

Currently I'm doing something like that


rman target /
catalog backuppiece '/oarch/backup/bigfile.279.615031073';
run{
allocate channel ch1 type disk;
SET NEWNAME FOR DATAFILE 16 TO '+DBG1';    
restore datafile 16 from tag='TAG20100209T124507';
SWITCH DATAFILE 16; 
release channel ch1;
}

and then after duplicate is end

SQL> alter database datafile 16 offline drop;
SQL> recover automatic standby database;
Please advice.
Concerning
GregG

RMAN DUPLICATE provides that all files.

You could take a manual backup and restore it on the standby server, then create a standby controlfile and restore it on the standby server. These could exclude the data deleted file.

Hemant K Collette

Tags: Database

Similar Questions

  • How to create the day before

    Hello

    I am new to oracle, oracle11g installed on linux, intend to create/practice day before Oracle server.
    Please suggest a link which has config step by step.

    Thank you
    Mike.

    1000611 wrote:
    Hello

    I am new to oracle, oracle11g installed on linux, intend to create/practice day before Oracle server.
    Please suggest a link which has config step by step.

    Thank you
    Mike.

    Welcome to the DG oracle forum.

    see the link below.
    http://www.Oracle-base.com/articles/11g/Data-Guard-Setup-11gr2.php
    http://docs.Oracle.com/CD/B28359_01/server.111/b28282/configbp006.htm

  • How to change the power settings to activate the fan stops during the day before.

    Since my computer has turned off the fan in the standby mode.  Suddenly, after having entered the day before, the fan continues to run.

    Where can I set the power standby mode, so that the fan stops?

    You mention not likely this fan, case fan? That would be controlled by the drivers from your mobo, obtained from your mobo site

  • Invite communications from the day before

    Hi All,

    EBS 11i

    9i

    RHEL5

    D OC 216212.1

    Section 3: Create the physical standby

    Step 6. Invite communications from the day before


    What is the mandatory part? Or I can still connect my apps even standby without running this.



    Thank you very much

    JC



    Hello;

    It is a security option. If it will work with your Setup, I would use it.

    Additional information:

    https://dba010.WordPress.com/2011/02/07/securing-the-Oracle-listener/

    Best regards

    mseberg

  • How to get data that are created the or before the last Wednesday

    Hi, can someone please tell me how to write a query to retrieve the data that are created the or before last Wednesday.

    Thanks in advance...

    Hello

    Here's one way:

    WHERE created_date< next_day="" (="" trunc="" (sysdate="" )="" -="">

    , "THURSDAY".

    )

    "Before Thursday' means the same as 'the or before Wednesday '.

    This assumes that NLS_DATE_LANGUAGE is English.  If you are not sure what is NLS_DATE_LANGUAGE, you can do this:

    WHERE created_date< next_day="" (="" trunc="" (sysdate="" )="" -="">

    , TO_CHAR (DATE ' 2014-03-06' - or any Thursday)

    , 'DAY '.

    )

    )

    There is nothing magical about March 6, 2014; will do any Thursday.  To_char will return the translation of 'Thursday' in all that is the current NLS_DATE_LANGIUAGE, and NEXT_DAY can use this value.

  • SP A60: As soon as the day before, why devices do not work?

    Hello

    A question on my Toshiba Satellite Pro A60 (P2.8GHz, 40 GB, Win XP Pro, delivered to the factory and expanded with Belkin 54 G wireless PC card network adapter).

    When the laptop awakens from the day before, several devices no longer work, for example the wireless network card. I have not found something to check (UN) Wake-On-Lan, resume, power management or something similar.

    After a full reboot, everything works fine again.

    What could I do to let all devices work the same after waking from standby?

    Thanks in advance for your answer.

    Kind regards
    Herman Zandt

    Hi, Herman

    I had the same situation, but I have found no solution for this problem. Just after the restart, it was OK again. It's really not easy to explain. You have this problem with the power supply or battery?

  • Is it possible to create the page without having to install apps on personal system

    Is it possible to create the page without having to install apps on personal system?

    Hi hankouraou,

    installation of oracle in the system applications, you can run any page of the OAF by jdeveloper. If you want to develop any stand-alone page (without oracle application), you can go to the ADF.

    Thank you
    Vandenplas.

  • Move the data to another file system file - affects on the day before in a DG?

    If I want to move a file of data to another file system, because the current file system is full, I'd take the tablespace offline and unix, copy the data file to the new location and rename the tablespace to the new location.

    How would behave the night before in a dataguard environment? The DOF would apply, but could I take a tablespace offline space, waiting for read-only copy the data file on the unix sleep?

    Hello;

    I think that this would be ' rename a Datafile in the primary Database.

    If you don't rename the data corresponding to the watch system and then attempt to refresh the database backup control file, the standby database will attempt to use the data file renamed, but it will not enter into it. (the change is not propagated to the database pending)

    See Section 8.3.4 rename a data file in the primary database in the Document Oracle B14239-05 (Oracle10)

    This is a step by step on how to handle this.

    OR

    Chapter 9.3.4 rename a data file in the primary database in Oracle Document E10700-02 (Oracle 11)

    Best regards

    mseberg

    Published by: mseberg on December 1st, 2011 09:15

  • SQL to retrieve data from the day before

    Hello

    I am asked to collect intelligence data and generate a daily report to determine the success rate (to do daily data that determines success rate). I have a session_time of column (with the DATE data type) that I try to do the job. I've been using:

    Select * from ABC

    where session_time > = TRUNC (SYSDATE - 2)

    Gives me data, but I get the data from 26/10/14 and 10/28/14 so when I only need data on 27-10-14 (as of the day 28/10/14). I tried a few variations and did not get the expected result. Could someone please help me understand this? Time is also displayed in my outings, maybe I shouldn't include the time?

    I use: TOAD for Oracle 11.5.1.2.

    Oracle Database 11g Enterprose 11.2.0.1.0 Edition

    Thank you in advance.

    Hello

    2632048 wrote:

    Hello

    I am asked to collect intelligence data and generate a daily report to determine the success rate (to do daily data that determines success rate). I have a session_time of column (with the DATE data type) that I try to do the job. I've been using:

    Select * from ABC

    where session_time > = TRUNC (SYSDATE - 2)

    Gives me data, but I get the data from 26/10/14 and 10/28/14 so when I only need data on 27-10-14 (as of the day 28/10/14). I tried a few variations and did not get the expected result. Could someone please help me understand this? Time is also displayed in my outings, maybe I shouldn't include the time?

    I use: TOAD for Oracle 11.5.1.2.

    Oracle Database 11g Enterprose 11.2.0.1.0 Edition

    Thank you in advance.

    Use:

    SELECT *.

    ABC

    WHERE session_time > = TRUNC (SYSDATE) - 1

    AND session_time<  trunc="">

    ;

    It's 09:15 on October 28, 2014, then TRUNC (SYSDATE - 2) is 00:00:00 October 26; The query you posted became data of October 26 and later.  (You may not all future dates in your table.)

    If it's 09:15 October 28, then TRUNC (SYSDATE) is 00:00:00 October 28 (i.e., midnight, at the beginning of October 28) and TRUNC (SYSDATE) - 1 is 00:00:00 October 27.

    Do not be tempted to use

    WHEN TRUNC (session_time) = TRUNC (SYSDATE) - 1 * INEFFECTIVE!  ***

    It will get the same results, but it is slower, you cannot use an index on session_time and requires a call to separate function for each row in the table, it is selected or not.

  • Cannot access internet occasionally during the day. Having to reconnect.

    problem 169.254

    My PC is running XP and is licensed and up-to-date. I connect to Internet using ISP Orange and a Livebox router. Occasionally, maybe once a day, I can't access the Internet or e-mail. I can't repair the connection, which is to get a new IP address. While in this condition I CAN access internet through my netbook, wireless, which also works in XP. This makes me think that my router IS connected to the internet. I can re - establish an internet connection by removing power to the router and reconnect the power supply after a few seconds. However, this process is very annoying that the router then takes about 3 minutes to make an internet connection.  I found that my IP (before the reset of the router) on my desktop connected cable (that has the problem) has been 169.254.16.60. I understand that it is the beach allocated to private networks. I tried all the suggestions including reset winsock, TCP/IP reloading, loaded the latest drivers for NETWORK card and disable my firewall (Outpost). My PC is permanently set to get an IP by DHCP. It lasts for almost a year now and I think I've tried everything. I don't want to reload XP. I suspect that this has started happening after I deleted a scanning program of free registry that I had downloaded from net ther. I have just run Microsoft Safety Scanner and it has reported, no spyware, malware or viruses. My AVG virus program and is up-to-date.

    Anyone has any suggestions please. I'm not an expert by any means think (!) I understand what I'm doing!

    Mike

    It might actually be your 'firewall' (Outpost)... that is causing your problem!

    (What "adversarial"... with an integrated XP! Even if you say that it (XP) has been disabled! Not COMPLETELY allowing your router working properly, because it is "in conflict" with that, too!)

    Turn it off (Outpost)... means that the software application still in your computer and always 'in conlfict"with the XP firewall.

    In regard to the average of your software antivirus, crikey, why not OPT for the Microsoft Security Essentials?

    Yes, I did.

    It's free, as long as the OS is legitimate, and, as they say,... yours is!

    SET all SETTINGS... REMOVE, and everything is DONE (by the 'set up' scheduling)... for you.

    (By the way, it uses AS it's very own firewall (firewall Defender)... or XP.) "They are much safer to use.)

    Download it, it's ready to install, once you remove moy.

    Update as soon as you have it installed, and properly "standing upward", nothing could be easier.

    As for your router, I suggest you contact your ISP provider.

    To help RESET your router once again correctly!

    And, oh, one last thing... Stop your 'DIY '.

    ('Tinkering' would be used to do any bad problem much worse than it really is! By your own admission, you have done enough of that! Get it all right, even once, then leave well alone.)

  • Could not start the day before

    Hello

    I have configured dataguard,

    I caught a cold backup files from data/redolog/standby controlfile and I FTP'd to the machine standby.

    When I start my database awaiting its display error:


    SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE
    *
    ERROR on line 1:
    ORA-00283: cool cancelled due to errors
    ORA-01110: data file 1:
    ' / oradatafiles1/CBKPRIM/datafile/o1_mf_system_7r2xvft2_.dbf'
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1:
    ' / oradatafiles1/CBKPRIM/datafile/o1_mf_system_7r2xvft2_.dbf'


    Thanks in advance

    My bad

    Cannot create, but rename

    ALTER DATABASE RENAME ' to '';

    The paths are different correct?

    ALTER DATABASE RENAME ' / oradatafiles1/CBKPRIM/datafile/o1_mf_system_7r2xvft2_.dbf' TO ' / oradatafiles1/CBKPRIM/datafile/o1_mf_system_7r2xvft2_.dbf';

    Best regards

    mseberg

    Published by: mseberg on April 8, 2012 09:32

  • Data hold seem to be OK but cannot open the day before

    I configured the data pending physical guard on Red hat with Oracle 11.2. I followed the doc
    http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10g_RACPrimarySingleInstancePhysicalStandby.pdf
    . Things went smoothly and after replication completed and created satndby rego log on the satndby I ran
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;
    Then tried to open the database pending, but received the error
    SQL> alter database open;
    alter database open
    *
    ERROR at line 1:
    ORA-10456: cannot open standby database; media recovery session may be in progress
    I checked the views of gollowing for the status of the DG
    SQL> select thread#, max(sequence#) "Last Primary Seq Generated" from v$archived_log
     group by thread# order by 1;
      2
       THREAD# Last Primary Seq Generated
    ---------- --------------------------
             1                       1372
             2                        803
             3                        788
    The same result in the primary and standby.
    SQL> select recid,SEQUENCE#,blocks,APPLIED,status,first_chg_time,completed from (
      2  SELECT recid,SEQUENCE#,name log_name,blocks,APPLIED,status,
      3   to_char(first_time,'mmdd-hh24miss') first_chg_time,
      4   to_char(completion_time,'mmdd-hh24miss') completed
      5   FROM V$ARCHIVED_LOG where first_time< sysdate+1 ORDER BY SEQUENCE# desc,1
      6  ) where rownum<16;
    
         RECID  SEQUENCE#     BLOCKS APPLIED   S FIRST_CHG_T COMPLETED
    ---------- ---------- ---------- --------- - ----------- -----------
             2       1372       5264 YES       A 0517-033143 0517-034827
             1       1371       1382 YES       A 0517-032616 0517-034827
             8       1370      19913 YES       A 0517-024906 0517-035620
             7       1369       3264 YES       A 0517-023805 0517-035619
             4        803       1680 NO        A 0517-033144 0517-034828
             6        802        686 YES       A 0517-032617 0517-034924
            10        801       7096 YES       A 0517-024906 0517-035621
             9        800       1080 YES       A 0517-023806 0517-035620
             3        788       1565 NO        A 0517-033144 0517-034828
             5        787        488 YES       A 0517-032616 0517-034921
            12        786       6644 YES       A 0517-024906 0517-035622
            11        785       1486 YES       A 0517-023806 0517-035622
    Note that the # 1372 sequence has been applied but 788 and 803 are not
    select facility,severity,message_num msg_num,timestamp,message from v$dataguard_status order by TIMESTAMP desc
    ) where rownum<20;
      2    3
    FACILITY                 SEVERITY         MSG_NUM TIMESTAMP     MESSAGE
    ------------------------ ------------- ---------- ------------- -------------------------------------------------------
    Log Apply Services       Warning               74 0517 03:56:26 Media Recovery Waiting for thread 1 sequence 1373 (in t
                                                                    ransit)
    
    Log Apply Services       Informational         68 0517 03:56:25 Media Recovery Log /u01/flash/flashback_recovery_area/C
                                                                    CHDR/archivelog/2010_05_17/o1_mf_1_1371_5z20ptt7_.arc
    Here the sequence 1373 is in transfer. But 1372 is exists even in the primary according to the result of the query 1. I waited for 20 minutes is not yet done. I can not open the database.

    What else can I do to open the database?

    To open the standby database in read only mode, run the SQL statement on the physical standby server
    SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
    SQL > ALTER DATABASE OPEN READ-ONLY.
    SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT LOG FILE USING CURRENT;

    You must cancel the recovery process before opening the database.

    Kind regards
    Sudhir

  • Email of the day before being removed or deleted from the Inbox when you restart?

    Emails from my previous day's class 'abducted' of the 'box '. They do not appear in the "Deleted" folder or in the windows 'Recycle Bin '. I use a desktop computer & any other device. I have checked and re - check on the internet and nothing doesn't seem to refer to the problem. I'm a surfer of money with a little savvy & unafraid of have-a-go to any help anyone can offer. Thank you in advance.

    First option

    View menu > discussions > all

  • Symbol of the day before for iphone6

    Can how I reinstall the software from Apple Watch on my phone. I can't find my kidnapped.

    What iPhone model you have and which version of the iOS you run.

    Did you do a spotlight search for watch? In the middle of the touch screen it and drag it to the bottom. In the search box, type Watch.

  • everiting is set to English but google displays of Thai buttons, I'm in Thailand but don't speak or read the day before.

    I put in place while English butt some services such as google use of local servers to display the local script pages, in the Thai case. How can I change this in firefox mobile?

    Try going to http://google.com/m/preferences from your phone. This page should allow you to change the language settings in Google.

Maybe you are looking for

  • IPhone stolen

    Hello. Yesterday, my iPhone 6 has been stolen. I was able to delete content in https://www.icloud.com/. Last night, my friend received a message from an unknown number saying "your iPhone 6 64 GB gold was located near Metro Hotel 5110 today at 19:44

  • Trouble accessing a struct returned a DLL function

    I realize, this is a recurring theme on the forums, but I've not been able to find a thread that has successfully helped me to solve my problem, here's so I write. I work with a third party dll to get x, y data z to a device. I'm having problems when

  • HP Pavilion g7: I would like to know if there is another option for a CPU upgrade?

    As the title says I would like to know if I have a better option since the manual is outdated (may 2012)? This is the Manual: Manual Here is some info: Name of product: notebook PC HP Pavilion g7 Product number: B5Z48UAR #ABA 8.1 pro 64-bit of Window

  • Why Internet Explorer cannot display Web pages (dup responded so marked since can't delete because of a response)

    I am constantly see (but not always) Internet Explorer can not display the webpage when I open Internet Explorer, and he tries to go to my home page which is Facebook. Then I click on any site in my favorites and it goes straight to him. In fact, aft

  • "do not disturb" function auto-désactiver

    I have problem with the "do not disturb", after the upgrade to Android 6.0.1 in phone Xperia Z2, this function works until the first connection of the trial, I hear not the first call, but it is disable this function, I tried with automatic, without