Adding files of data in environment dataguard

Hi gurus,

I have a doubt regarding the data file adding a table space which lies in environmental protection data.

My oracle database is install in oracle 10 g 2 on windows 64-bit server. I have a physical primary data and data base of DR.
I'll add the data file in the primary database. All my data files located in the directory "C:/oradata/data file / $Month_Name.

Now, to add the new data file, I create a new directory under file C:/oradata/data / named November and add the data file in the directory from November .

1 Will add new folder named November will automatically reflected in the database of DR also. or I have to go to the doctor and add the same directory and then add the data file in the primary database.

2. when I add the primary database data file, it will affect the DR database? Or the DR database will synchronize automatically?

Please provide me with the step by step procedure.

can someone provide me steps to follow, so that primary and DR will be synchronized?

Thank you
Meena

Published by: 949632 on November 16, 2012 22:46

Published by: 949632 on November 16, 2012 22:47

Hello

The directory not created on the database ensures if create you it on the primary database.
Let me give you an example. Suppose the data files on the standby database are currently at the location 'D:\oracle\std\data_5' and now you need to create another directory called 'data_11' as 'D:\oracle\std\data_11', then on the database pending, set the parameter "db_file_name_convert' as shown below:

db_file_name_convert='D:\oracle\P01\sapdata5\','D:\oracle\std\data_5\','D:\oracle\P01\BTABD_11','D:\oracle\std\data_11'

Db_file_name_convert syntax:

db_file_name_convert='','','',''

Note: parameter db_file_name_convert must be set to the standby database and is a static parameter. So, you have to bounce the database pending after setting it.

It could be useful! Please examine fence by providing appropriate points if you feel that your question has been answered.

Tags: Database

Similar Questions

  • Adding files of data on primary - errors pending

    Hi friends,

    We run 11.2.0.4.0 to DB primary and physical intelligence.

    Accidentally, one of our directors had created a new data file on the primary with StandbyFileManagement set to AUTO.

    Now repeat the process applied is stopped, and we found some erros like that on the alerts log

    ORA-27040: file create error, cannot create the file

    04002 - OSD: OSD 04002: could not open the file

    O / S error: (OS 21) the device is not ready

    #161 file added to the file of control as 'UNNAMED00161 '.

    Created originally as:

    ' D:\ORACLE\ORADATA\ORCL2010I\USERS20. DBF'

    Recovery failed to create the file as:

    ' D:\ORACLE\ORADATA\ORCL2000\USERS20. DBF'

    krsh.c 16:02:14.292 4320 2015-02-24

    MRP0: Background Media Recovery terminated with error 1274

    ORA-01274: cannot add datafile ' D:\ORACLE\ORADATA\ORCL2015\USERS20. DBF'

    krsh.c 16:02:14.292 4320 2015-02-24

    Managed Standby recovery not using real time applies

    Now, audit dba_data_files I really 01 more files on the primary. And I see errors on broker

    Error: ORA-16766: redo apply is stopped


    Advice how to fix this without compromising the total recovery?

    TKS a lot!

    Hello

    The problem is caused because it looks 'standby_file_management' database parameter is set to MANUAL, so a new added file on primary are not created in the standby mode.

    For more information about this parameter can be found:

    https://docs.Oracle.com/CD/E18283_01/server.112/e17110/initparams247.htm

    If you set it to AUTO on the main database, you will not encounter issues.

    ALTER system set standby_file_management = auto;

    How to solve current problems;

    * Pending, create a data file

    alter database create datafile  '/UNNAMED00161'.as''D:\ORACLE\ORADATA\ORCL2010I\USERS20.DBF'';

    * Start apply

    HTH,

    Pradeep

  • File generation Date two consequtive

    I have a requirement to search for files to date in a data log application.

    The files are generated and stored in the format< dayofyear-dd-mm-yyyy.txt="">

    And it must be added the user shall enter information in this genearte the first day and I need to automatically generate the next day file reference. That is the problem. While I've evolved logical to create automatically the number of DayOfYear (Dec. 31 it will generate 01 as the next DayOfYear) I do not think that its easy to do the same for the date. I guess it must manage things like leap years and months of 30 days etc.

    Simple ideas to do the above? By joining my screws. (Version LV2012).

    Thanks in advance.

    see for yourself:

    EDIT:

    And he treats both leap years

  • Flashback Database using Data Guard environment

    11.2.0.3/RHEL 5.8

    I came across several documents that speak of FLASHBACK DATABASE configuration in dataguard environments. We have several
    Physical DBs sleep (Single Instance & RAC) running in our shop. I would like to know two or three major (common) use of FLASHBACK DATABASE data child care settings.

    I understand one of the uses mentioned in the below URL ie. a logical error recovery

    http://uhesse.com/2010/08/06/using-flashback-in-a-Data-Guard-environment/

    I would like to know what are the other major/common use of Flashback Database River in environment DataGuard

    A few other uses:

    (1) flashback allows you to test your DR. So you can activate your watch. Test the connectivity of network/applications and features on your recovery site and when done return the database to a physical standby. It must however ensure that this is allowed in your environment. In some places, I worked, it would be a big no, no, because they have no needs of data loss. However some companies that will allow as long that the watch is delivered in place for some time.

    (2) in the case that you do a failover for a reason, but what has been the main site would then become available, you can flashback what has been your primary to make the eve rather than re-instatiating the database from scratch.
    For example. You have a power failure on your main site if perform you a failover and your watch becomes the principal. Once it's your main site is back online, you can convert your previous primary in a day before making a full return/restoration (or any method you choose) to recreate your standby again. However you also have the option to use flashback on this database and then convert it to a watch because it would be potentially faster than the re-instantiation of the day before.

  • 'File Info' data can be deleted?

    Hello

    Currently, using FM11 and creation of documents unstructured.  We do custom types, of the equipment and tend to start a new document from an earlier version.  We would like to remove the previous data from 'File Info' and be updated with the current data for the new document.  Remove us the 'File Info' data and save the document, but when opened, the data is always there.

    Thanks in advance,

    WRB

    There is a setting in maker.ini (CopyFileInfoOnImport) that controls whether imported Doc Info fields are copied to or not. It is not documented in the Maker.ini reference Guide.

    If you want that content from another file, or a model that must be explicitly added to the [options] section as "CopyFileInfoOnImport = we." Similarly, if you do not want a model by replacing the already signposted meta-date. You must explicitly set this 'OFF '.

    Also, keep in mind that FM 'merges' content when import it formats, i.e. If the item exists in both files, it is replaced, otherwise, it is left alone.

  • How to get my homepage index.html to stand, I've added files?

    Hello

    How to get my homepage index.html to stand, I've added files?

    I created folders in the root and Idex.htlm file, but when I ADDED a file to the file, the INDEX or photos. Files HTML moves downwards.

    see you soon,

    Dreamer.101

    I do not think too that you can have the index at the top of the "stack".

    However, you can group the files / folders by Type, Date modified and file size by double clicking on the topic at the top of the File Manager.

    --

    Nadia

    Adobe Community Expert: Dreamweaver

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

    Unique templates CSS | Tutorials | SEO articles

    http://www.DreamweaverResources.com

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

    Web Design & development

    http://www.perrelink.com.au

    http://Twitter.com/nadiap

  • Attached to incoming mail in as files winmail.dat since update iOS 10

    This cannot be opened since update to iOS 10.0.1 and joined a mail of PC's entry in iPhone & Ipad as winmail.dat files. Able to access via gmail online but not by e-mail, phone etc yet another botched updated to apple I think. What happened to if it isn't broken, don't fix it!

    Hi Peterboynz,

    I see that your iPhone / iPad receive are formatted as files "winmail.dat" which you are unable to open attachments. I'll be happy to help you.

    If your Mac email contains a winmail.dat attachment - while this article is for the emails from Mac, the question is the same. Once the sender updates their e-mail applications, messaging on a device iOS and Mac applications should be able to open the attachments.

    In the meantime, he also winmail.dat readers available for both devices.

    Have a great day and thank you for the communities of Apple Support.

  • The vi below opens a new data file every time new data of the visa arrived. I only want a single file of data for registration period!

    The vi below opens a new data file every time new data of the visa arrived. I only want a single file of data for registration period!

    Can someone bring me (Labview is new to me) in the right direction?

    John

    See attached the amendment. I made a change to my suggestions and possess the top-level VI for the null refnum. See if it makes sense.

  • Cannot delete file ntuser.dat.log1 & ntuser.dat.log2 in my pc

    deletastion problems

    Sir, I can't delete the file ntuser.dat.log1 & ntuser.dat.log2 in my pc.

    Please help me right now.how can i delet it.

    http://social.msdn.Microsoft.com/forums/en/windowssdk/thread/a994b93a-d85f-4ab6-b14f-90eb3aabd54e

    Read the above about the files.

    More necessary info as to what is wrong.

    See you soon.

    Mick Murphy - Microsoft partner

  • need help on adding files doc, xls, ppt or pdf on my desktop

    Need help, adding files from my computer need to add one of these DOC, XLS, PPT, HTML, PDF, RTF, TXT files.

    Never received a response to my question!  How to add files doc, xls, ppt or pdf on my computer?

  • I need to know the file current date/time number stamp and the version of "spoolsv.exe" in Vista Home Premium 32-bit with SP2.

    I need to know the file current date/time number stamp and the version of "spoolsv.exe" in Vista Home Premium 32-bit with SP2. My spooler file got corrupted and I need to know what that the stamp of date/time on the latest version of the file: spoolsv.exe. I did a search on my hard drive and found 8 copies of the file with 7 different dates. I need to know which copy in my file C:\windows\system32\. I suspect that the problem was caused by some kind of malware. I think that some of the different versions on my machine of the initial installation of the Vista, SP1 and SP2. 3 copies that would explain. I tried all the suggestions in this forum and several others. I tried sfc/scannow and it simply replaces the corrupted file by another. I understand how works this file and a simple copy will do the trick if I knew that the file to use. I know that I don't want to go back to the first version of 2006.  BTW... my symptoms are all my printers have disappeared, and when I try to 'add a new printer' I get an error message saying that my spooler service does not work. When I opened my services window it shows that indeed, he is arrested, but I will not start because the description column contains only the code garbled machine indicating that the file is corrupted, or it may contain a virus. I had been using F-Prot until this virus got by and now I use AVG. I scanned my machine with several cleaning packages and it is is more infected, but I worry that from this corrupt file grow something. I know that the problem is not with my printers or drivers, because everyone on my home network can print on all of my printers. None of the people I know are on Vista 32 bit. They are all running System 7 or XP. I have XP, except that a few years ago I suffered from the "Syndrome of Pepsi" on my laptop and when I bought a new HP, it came with Vista.

    Version 6.0.6002.18294

    Day 17/08/2010

    Duration 14:11

    Duration may vary in different time zones.

  • I received a file winmail DAT - how to open it?

    I received a file winmail DAT - how to open it.

    I do not know.  I do not have a file association for. DAT files (Start / Control Panel / Default programs / associate a file or Protocol with a program / analysis then list for.) (DAT).  I guess you have not either.  Your best bet is to communicate with the person who sent you the file and find out which program was used to create it-then maybe you can get the program or to find a drive for this program.  Good places to watch once you know the program are www.tucows.com and www.download.com.  Here for example is an option for some .dat to open the files that may or may not work with your (given the MANY programs produce and, even once, you need to know what program the file): http://www.winmaildat.com/ (since you say it's a winmail.dat file I hope that this link could actually work).  If it's not, and if you find the name of the program that generated the file, we can help you find something to use to play with - but we need this name (and version number).

    Good luck and I hope this has helped. Lorien - a - MCSE/MCSA/network + / A +.

  • A video of the file change date

    This question relates specifically to a video that is downloading.

    What happens in the video for the file modified date to change?

    I have about 10 videos and they all have one updated the date after the date of creation.  I need to understand all the reasons why this has happened.  I know that this time stamp changes with for example a word document that you add more data, but that's why I would like to know for the video specifically.

    As far as I know on this topic is Google of the Machine.  The phenomenon seems to be real, so dark in nature / questioning.  You could try to ask a question specifically in a TechNet forum: https://social.technet.microsoft.com/Forums/windows/en-US/home?forum=w7itprogeneral

  • File system data Structure of the ReFS in the context of a legal analysis?

    Hello

    Explain the file system data Structure of ReFS in the context of the legal analysis?

    Concerning

    Hello

    Your question is beyond the scope of this community.

    But I see you have already posted this Question on TechNet.

    https://social.technet.Microsoft.com/forums/en-us/a706b829-3d60-478b-ADBE-a974cbe3e67f/detailed-data-structure-of-refs-file-system-in-context-of-forensic-analysis?Forum=w8itprogeneral

    See you soon.

  • List recently added files in a directory.

    Hello

    Is there a way to list recently added files in a directory first?

    FileConnection::list lists all files in a directory, with possibly a filter, but it does not provide a way to get the list of files sorted by their time of creation.

    -MO

    Yes, you need to list them according to your requirement.

Maybe you are looking for