Location of datafiles

I had a query with regard to the location of datafiles at the time of creation. Should it be in the path like $ORACLE_BASE/oradata/$ORACLE_SID/<file-name>.dbf as in the command
CREATE TABLESPACE CRESTELMEDIATIONPRD501 DATAFILE '$ORACLE_BASE/oradata/$ORACLE_SID/<file-name>.dbf' SIZE 200M AUTOEXTEND ON SEGMENT SPACE MANAGEMENT AUTO;
or, can it be at any other location also?
I hope, my question is clear.
Please, help in solving the doubt.
regards

Where you place database datafiles depends on local standards and decisions you make such as to follow Oracle OFA, use ASM, etc ... The OFA standard has been modified over the years so it depends on your Oracle version.
With RAC the Oracle SID is likely to be different on every server so I would use the database name instead of SID for the data files.
Check the DBA Admin Guide for your version. It should list the OFA standard.
HTH -- Mark D Powell --

Similar Messages

  • Import and location of datafiles

    Hello.
    I need to import full database from Oracle8i datadump to Oracle10g Express. I did:
    C:\> exp80 'user/user as sysdba' FILE=db.dmp FULL=y,
    and then on new server with Oracle10g:
    C:\> imp 'user/user as sysdba' FILE=db.dmp FULL=y
    and I get:
    IMP-00017: following statement failed with ORACLE error 1119:
    "CREATE TABLESPACE "XXX" DATAFILE 'E:\XXX\DB\XXX_1.DAT' SIZE 214748364"
    "8 AUTOEXTEND ON NEXT 104857600 MAXSIZE 2147483648 DEFAULT STORAGE ("
    "INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAXEXTENTS 121 PCTINCREASE 50) ONLINE"
    " PERMANENT"
    IMP-00003: ORACLE error 1119 encountered
    ORA-01119: error in creating database file 'E:\XXX\DB\XXX_1.DAT'
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 21) The device is not ready.
    The problem is that drive E: on new server doesn't exist. Is there any way to force location of data files during import?
    Thx

    Hi,
    >>exp80 'user/user as sysdba' FILE=db.dmp FULL=y,
    For a full database, just use: exp system/password file=db.dmp full=y
    >>IMP-00017: following statement failed with ORACLE error 1119:
    Before to import the dump file, to avoid this error, you will to create the tablespaces.
    In Oracle XE is possible to create tablespaces.
    Well, my advice for you is to create the users manually on the database and then perform an import user by user using [fromuser] [touser] clauses. Is it possible to you ?
    Cheers

  • Multiple Location of datafiles in Data Guard Environment

    I have Data Guard setup in my oracle 10g database. Uptil now , all the datafiles were at same location, therefore db_file parameter setting in pfile was fine. Now I want to move my few of the datafiles at another location. Say, few of my datafiles would be in F:\ and some of them in G:\. How do I now set db_file parameters in Pfile ?

    OK...
    Alter database rename should be ok As long as both the PRIMARY directory strucures are same or if you have set the parameter db_file_name_convert
    While asking a question..
    You should post all the necessary information for us to help(is possible)
    1.Oracle version
    2.Os version
    Thread spesific
    3.Directory strucutrs of Both Priimary and Standby
    4.Init .Ora of both PRIMARY AND STANDBY

  • Using dbca silent mode change the location of datafiles how to force it

    Hello
    usually i create oracle databases using the create database command, however im trying this time to use the dbca -silent -createDatabase -templateName General_Purpose.dbc - i have edited the General_Purpose.dbc to have the control files. datafiles etc to go to a different location other then the $ORACLE_BASE and no luck so far, whatever i do even changing the $oracle_base just dumps all into a location, how can i force it / change it - this is Oracle 11GR2 on linux
    see sample of my General_Purpose.dbc
    <initParam name="control_files" value="/u01/oradata/control01.ctl, /u02/oradata/control02.ctl"/>
    <initParam name="diagnostic_dest" value="/backup/oracle/oradata"/>
    Name id="1" Tablespace="SYSTEM" Contents="PERMANENT" Size="700" autoextend="true" blocksize="1024">/u01/oradata/system01.dbf</Name>
    <Name id="2" Tablespace="SYSAUX" Contents="PERMANENT" Size="512" autoextend="true" blocksize="1024">/u02/oradata/sysaux01.dbf</Name>
    <Name id="3" Tablespace="UNDOTBS1" Contents="UNDO" Size="25" autoextend="true" blocksize="1024">/u01/oradata/undotbs01.dbf</Name>
    <Name id="4" Tablespace="USERS" Contents="PERMANENT" Size="5" autoextend="true" blocksize="1024">/u02/oradata/users01.dbf</Name>
    thank you

    I think you should use :
    [-datafileDestination <destination directory for all database files> | -datafileNames <a text file containing database objects such as controlfiles, tablespaces, redo log files and spfile to their corresponding raw device file names mappings in name=value format.>] [-datafileDestination <destination directory database for all files> |-datafileNames <a text file containing database objects such as controlfiles, tablespaces, redo log files and spfile to their corresponding raw device file names mappings in name=value format.>]Read this please
    http://docs.oracle.com/cd/E17559_01/em.111/e16599/appdx_creating_db_templates.htm#CJACEDCD

  • RC_datafile location changed after try recover datafile into another host

    Hi,
    I has a database whose datafiles was all in i:\ofs1, yesterday,to verify that my tape backup,
    I tried to restore and recover the database into another host and location c:\ofs1,
    I connected to the recover catalog for the database while performing the restoring and recovering, everything completed successfully.
    But then I found out that the location of datafile in rc_database view in my recovery catalog been updated from i:\ofs1 to c:\ofs1,
    apparent while doing the restoring, rman also update the location of the datafile in rc_datafile.
    And now when I perform backup for the original database, it search the datafiles in c:\ofs1 instead of i:\ofs1.
    Is there anyone know how should I do to update back the datafile location in rc_datafile?
    Thanks
    Vincent

    Hi,
    I can still perform backup, but the rman output will show that the datafile are now in c:\ofs1 as below
    input datafile fno=00005 name=C:\OFS1\DATA_SE.DBF
    input datafile fno=00006 name=C:\OFS1\INDEX_SE.DBF
    input datafile fno=00013 name=C:\OFS1\DATA_SE01.DBF
    input datafile fno=00014 name=C:\OFS1\INDEX_SE01.DBF
    input datafile fno=00003 name=C:\OFS1\SYSAUX01.DBF
    input datafile fno=00009 name=C:\OFS1\RMAN_CATALOG.DBF
    input datafile fno=00001 name=C:\OFS1\SYSTEM01.DBF
    input datafile fno=00002 name=C:\OFS1\UNDOTBS01.DBF
    input datafile fno=00010 name=C:\OFS1\DATA_ODCSE01.DBF
    input datafile fno=00012 name=C:\OFS1\FLOW_1.DBF
    input datafile fno=00007 name=C:\OFS1\DATA_Q107.DBF
    input datafile fno=00008 name=C:\OFS1\INDEX_Q107.DBF
    input datafile fno=00011 name=C:\OFS1\INDEX_ODCSE01.DBF
    input datafile fno=00004 name=C:\OFS1\USERS01.DBF
    channel oem_backup_disk1: starting piece 1 at 08-JUL-10
    channel oem_backup_disk1: finished piece 1 at 08-JUL-10
    piece handle=E:\BACKUP\OFS1\30LI990V_1_1 tag=TAG20100708T133318 comment=NONE
    channel oem_backup_disk1: backup set complete, elapsed time: 00:18:35
    Finished backup at 08-JUL-10
    and when I try to recover datefile copy, the below error show
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 07/08/2010 13:52:22
    RMAN-00600: internal error, arguments [8064] [1] [C:\OFS1\SYSTEM01.DBF] []
    Is it ok if I change the data in rman catalog to update the rc_datafile location to i:\ofs1?
    Thanks
    Vincent

  • Using tar with zip for Datafiles backup on windows machine

    Dear all,
    We have R12 e business suite instance on windows.
    I was implementing cold backup for this. Unfortunately i am not a windows guy.
    I do have MKS tools installed on my windows machine, which contains the tar command.
    Can i use tar -cvzf <bkp>.tgz <location of datafiles> for this?, My main concern is, is it going to harm the source like corruption etc..
    Thanks

    If MKS tools are supported under Windows it should not corrupt input files whether input files are Oracle database files or any other Windows files.
    You could try instead to use RMAN for cold backup if you have already RMAN experience:
    - RMAN does not backup empty blocks
    - RMAN can also compress backups
    - RMAN is fully supported on Windows if corresponding Oracle version is certified on your Windows server.
    See an example of cold backup for database running in NOARCHIVELOG mode in http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmquick.htm#BRADV90059.
    If your database runs in ARCHIVELOG mode just backup your database online: http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmquick.htm#i766544.

  • Relocating datafiles on standby database after mount point on stanby is ful

    Hi,
    We have a physical standby database.
    The location of datafiles on primary database are at /oracle/oradata/ and the location of datafiles on standby database are at /oracle/oradata/
    Now we are facing a situation of mount mount getting full on standby database so we need to move some tablespaces to another location on standby.
    Say old location is /oracle/oradata/ and new location is /oradata_new/ and the tablespaces to be relocated are say tab1 and tab2.
    Can anybody tell me whether following steps are correct.
    1. Stop managed recovery on standby database
    alter database recover managed standby database cancel;
    2. Shutdown standby database
    shutdown immediate;
    3. Open standby database in mount stage
    startup mount;
    4. Copy the datafiles to new location say /oradata_new/ using os level command
    4. Rename the datafile
    alter database rename file
    '/oracle/oradata/tab1.123451.dbf', '/oracle/oradata/tab1.123452.dbf','/oracle/oradata/tab2.123451.dbf',''/oracle/oradata/tab2.123452.dbf'
    to '/oradata_new/tab1.123451.dbf', '/oradata_new/tab1.123452.dbf','/oradata_new/tab2.123451.dbf',''/oradata_new/tab2.123452.dbf';
    5. Edit the parameter db_file_name_convert
    alter system set db_file_name_convert='/oracle/oradata/tab1','/oradata_new/tab1','/oracle/oradata/tab2','/oradata_new/tab2'
    6. Start a managed recovery on standby database
    alter database recover managed standby database disconnect from session;
    I am littelbit confused in step 5 as we want to relocate only two tablespaces and not all tablespaces so we have used.
    Can we use db_file_name_convert like this i.e. does this work for only two tablespaces tab1 and tab2.
    Thanks & Regards
    GirishA

    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/manage_ps.htm#i1010428
    8.3.4 Renaming a Datafile in the Primary Database
    When you rename one or more datafiles in the primary database, the change is not propagated to the standby database. Therefore, if you want to rename the same datafiles on the standby database, you must manually make the equivalent modifications on the standby database because the modifications are not performed automatically, even if the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO.
    The following steps describe how to rename a datafile in the primary database and manually propagate the changes to the standby database.
    To rename the datafile in the primary database, take the tablespace offline:
    SQL> ALTER TABLESPACE tbs_4 OFFLINE;
    Exit from the SQL prompt and issue an operating system command, such as the following UNIX mv command, to rename the datafile on the primary system:
    % mv /disk1/oracle/oradata/payroll/tbs_4.dbf
    /disk1/oracle/oradata/payroll/tbs_x.dbf
    Rename the datafile in the primary database and bring the tablespace back online:
    SQL> ALTER TABLESPACE tbs_4 RENAME DATAFILE 2> '/disk1/oracle/oradata/payroll/tbs_4.dbf'
    3> TO '/disk1/oracle/oradata/payroll/tbs_x.dbf';
    SQL> ALTER TABLESPACE tbs_4 ONLINE;
    Connect to the standby database, query the V$ARCHIVED_LOG view to verify all of the archived redo log files are applied, and then stop Redo Apply:
    SQL> SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;
    SEQUENCE# APP
    8 YES
    9 YES
    10 YES
    11 YES
    4 rows selected.
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
    Shut down the standby database:
    SQL> SHUTDOWN;
    Rename the datafile at the standby site using an operating system command, such as the UNIX mv command:
    % mv /disk1/oracle/oradata/payroll/tbs_4.dbf /disk1/oracle/oradata/payroll/tbs_x.dbf
    Start and mount the standby database:
    SQL> STARTUP MOUNT;
    Rename the datafile in the standby control file. Note that the STANDBY_FILE_MANAGEMENT initialization parameter must be set to MANUAL.
    SQL> ALTER DATABASE RENAME FILE '/disk1/oracle/oradata/payroll/tbs_4.dbf'
    2> TO '/disk1/oracle/oradata/payroll/tbs_x.dbf';
    On the standby database, restart Redo Apply:
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE
    2> DISCONNECT FROM SESSION;
    If you do not rename the corresponding datafile at the standby system, and then try to refresh the standby database control file, the standby database will attempt to use the renamed datafile, but it will not find it. Consequently, you will see error messages similar to the following in the alert log:
    ORA-00283: recovery session canceled due to errors
    ORA-01157: cannot identify/lock datafile 4 - see DBWR trace file
    ORA-01110: datafile 4: '/Disk1/oracle/oradata/payroll/tbs_x.dbf'

  • Split the location of the Oracle software

    Hi,
    how to Split the location of the Oracle software distribution, redo logs, data files, and indexes onto separate disks
    Thanks in advance

    user9121291 wrote:
    Hi,
    how to Split the location of the Oracle software distribution, redo logs, data files, and indexes onto separate disks
    Thanks in advanceNo need to distribute oracle software location, database only. Create tablespaces and locate their datafiles into different disks.

  • Change location of controlfile..Does spfile need to be updated?

    Following the steps below to change location of controlfile, so I need to update scope=spfile or scope = both. Please let me know. Thanks
    Change location of controlfile on FVORCD17
    1.     Login to SQLPlus.
    2.     Connect as SYS DBA with CONNECT / AS SYSDBA command.
    3.     Shutdown the database instance with SHUTDOWN command.
    4.     Rename or/and move the datafiles at operating system level.
    5.     Start Oracle database in mount state with STARTUP MOUNT command.
    6.     Modify the name or location of datafiles in Oracle data dictionary using following command syntax:
    ALTER DATABASE RENAME FILE ‘<fully qualified path to original data file name>’ TO ‘<new or original fully qualified path to new or original data file name>’;
    7.     Open Oracle database instance completely with ALTER DATABASE OPEN command.

    thanks for your response.
    Please help me with the steps and question below.
    1. shutdown database
    2. move physical file to desired location
    3. start nomount (here the controlfile is not read)
    4. use the alter command as you suggested
    ALTER SYSTEM SET control_files='D:\ORACLE\ORADATA\ENTD\CONTROL01.CTL, E:\ORACLE\ORADATA\ENTD\CONTROL02.CTL, F:\ORACLE\ORADATA\ENTD\CONTROL03.CTL scope=spfile , SID=ENTD
    5. alter database mount
    6 alter database open
    Question: does the pfile get updated or do I also need to update pfile manually. Optionally could I use the scope = both in the above statment.
    thank you in advance

  • I cannot to move datafiles on windows

    Hi all,
    I'm using Oracle 10.2.0.3 on Windows 2000 Professional.
    I need to move datafiles to other disk to save space.
    So I take the tablespace to offline. But when I try to
    move a datafile, I got the windows message: File in use.
    Why I got this if the tablespace is offline?
    The database is in archivelog mode and it is open.
    Thank you very much!!!!

    Very strange.
    I take the tablespace to offline, I copy the datafile to other location, I perform the alter database rename file,
    I take the tablespace to online, but the old datafile on old disk cannot be removed because the windows returns that the file is in use. I did understand.
    The dictionary of oracle is OK, the location of datafile is OK in dictionary, but....
    Thanks again!!!

  • Move datafile

    Oracle 11.2.0.1
    AIX 5.3
    How can I move system, undo, user, sysaux and tools datafile?
    any extra precaution require before moving this file?
    please provide the steps
    Thanks,
    Vishal

    Hi,
    General procedure or steps you can follow as below :-
    Login to SQLPlus.
    Connect as SYS DBA with CONNECT / AS SYSDBA command.
    Shutdown the database instance with SHUTDOWN command.
    Rename or/and move the datafiles at operating system level.
    Start Oracle database in mount state with STARTUP MOUNT command.
    Modify the name or location of datafiles in Oracle data dictionary using following command syntax:
    ALTER DATABASE RENAME FILE ‘<fully qualified path to original data file name>’ TO ‘<new or original fully qualified path to new or original data file name>’;
    Open Oracle database instance completely with ALTER DATABASE OPEN command.
    Perhaps, if you elaborate more than you can find other feasible solutions, instead of above steps.
    kindly let us know the belwo details
    Your requirement
    Oracle Version you are working with
    Reason for chaning things.
    - Pavan Kumar N
    ORACLe 9i/10g - OCP
    RHCE - Certified Enterprize Linux 5.4

  • En-Countering Error While trying to Open the Database

    Hi Everybody,
    Database Version:Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    Os: Solaris9
    This is one of our Test Database which is running in No-Archivelog Mode and having no backup of Physical Datafiles.
    Due to some Server issues the Database was Shutdown Abnormally after which when we are trying to open our DB it showing the following Error......
    ORA-01172: recovery of thread 1 stuck at block 13447 of file 216
    ORA-01151: use media recovery to recover block, restore backup if needed....
    we are also not able to perform a media recovery since the database is running in No-Archivelog Mode....
    The only way we know to bring up the Database is making the Datafile=216 offline and opening the Database...
    In there any workaround in order to resolve the Block corruption of Data-File 216........Since we will be needing the data located in datafile 216.
    Any help Appreciated,
    Thanks & Regards,
    Prosenjit Mukherjee

    DBVERIFY: Release 9.2.0.4.0 - Production on Thu Feb 26 15:37:47 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    DBVERIFY - Verification starting : FILE = /sts/oradata/npm/sts/STPUSER10.dbf
    DBVERIFY - Verification complete
    Total Pages Examined : 98304
    Total Pages Processed (Data) : 97673
    Total Pages Failing (Data) : 0
    Total Pages Processed (Index): 1
    Total Pages Failing (Index): 0
    Total Pages Processed (Other): 570
    Total Pages Processed (Seg) : 0
    Total Pages Failing (Seg) : 0
    Total Pages Empty : 60
    Total Pages Marked Corrupt : 0
    Total Pages Influx : 0
    This is the Output of the Dbverify Utility,but as i can see "Total Pages Marked Corrupt : 0"
    its telling me that neither of the blocks are corrupted......
    Earlier when i was trying to do a Recovery it was giving me the Following Error....
    ORA-01172: recovery of thread 1 stuck at block 13447 of file 216
    ORA-01151: use media recovery to recover block, restore backup if needed.........

  • RMAN backup restoring to new server help!

    I'm using Oracle 8.1.7. The production database was copied (datafiles, controlfile etc) to a NEW server that I'm trying to set up as a development DB. I take full database backups using RMAN from the production server, and I want to restore them on the development server. I think I somehow have to specify the filename/location of the backup file but I can't seem to figure out how to do it.
    I am not using a recovery catalog.
    Any help is appreciated.

    If you restore the controlfile backup to the development server RMAN
    will "read" the expected location of the backupsets from there.
    In 8i you cannot use the CATALOG command so you have to copy all
    the backupsets to the same path on the development server as on the
    production server.
    Once you have your init.ora and controlfiles in place (and created the
    expected target directory structure for the database and redolog files),
    you can use STARTUP MOUNT and thene RESTORE from RMAN.
    I believe that you should be able to rename files in 8i RMAN as well.
    If not, you'll have to stick to restoring to the same location.
    The key thing is that the controlfile records the "location" of the RMAN backupsets
    and the "location" where datafiles are to be restored to.

  • Standby database not configure while keep database files in different place

    Dear Friends ,
    I have to successfully configured "PHYSICAL STANDBY DATABASE" within the TWO databases ("PRIM" and "STAN" Database) when I kept datafile, controlfile and redolog files in the same location (like, "/u01/app/oracle/oradata/prim" location .
    In this successful configuration , I have to add the below two lines into the initprim.ora and initstan.ora both server respectively ...
    initprim.ora:
    ========
    DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/stan','/u01/app/oracle/oradata/prim'
    LOG_FILE_NAME_CONVERT='/u01/app/oracle/flash_recovery_area/stan','/u01/app/oracle/flash_recovery_area/prim'
    initstan.ora:
    ========
    DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/prim','/u01/app/oracle/oradata/stan'
    LOG_FILE_NAME_CONVERT='/u01/app/oracle/flash_recovery_area/prim','/u01/app/oracle/flash_recovery_area/stan'Now , in second scenario , I have to change Primary database server's datafile, controlfile and redolog file in the below folder :
    controlfile --> "/u01/app/oracle/oradata/prim/ctrlfile"
    redologfile --> "/u01/app/oracle/oradata/prim/redofile"
    datafile --> "/u01/app/oracle/oradata/prim/datafile"
    Similarly I have to create same folder in my STAN database server accordingly . and also add the above lines in same way :
    initprim.ora:
    ========
    DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/stan','/u01/app/oracle/oradata/prim'
    LOG_FILE_NAME_CONVERT='/u01/app/oracle/flash_recovery_area/stan','/u01/app/oracle/flash_recovery_area/prim'
    initstan.ora:
    ========
    DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/prim','/u01/app/oracle/oradata/stan'
    LOG_FILE_NAME_CONVERT='/u01/app/oracle/flash_recovery_area/prim','/u01/app/oracle/flash_recovery_area/stan'Keeping the above situation when I run the below command in STAN database server :
    [oracle@test ~]$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Nov 15 23:15:43 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 599785472 bytes
    Fixed Size 1220772 bytes
    Variable Size 163581788 bytes
    Database Buffers 427819008 bytes
    Redo Buffers 7163904 bytes
    Database mounted.
    SQL> alter database recover managed standby database disconnect from session;
    Database altered.
    The Command execute successfully but in the alert log of the STAN database server ,I get the below error :
    Completed: alter database recover managed standby database disconnect from session
    Mon Nov 15 22:46:52 2010
    Clearing online redo logfile 1 complete
    Mon Nov 15 22:46:52 2010
    Errors in file /u01/app/oracle/admin/stan/bdump/stan_mrp0_3695.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/prim/redofile/redo02.log'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Mon Nov 15 22:46:52 2010
    Errors in file /u01/app/oracle/admin/stan/bdump/stan_mrp0_3695.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/prim/redofile/redo02.log'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3But I already created the above mention folder "'/u01/app/oracle/oradata/prim/redofile" successfully and the redo log files are also created there successfully , but I cannot understand why this error is showed ? And also no archivelogs are shifted from PRIM database server to STAN database server .
    Would u plz suggest me , why I cannot configure Physical Standby Database when I keep my database fles in the separate location ?
    help me plz ... ...

    Hi,
    I'm missing the steps you took renaming/moving the files on the primary.
    Since the location of datafiles is stored in the control file the controlfile of the standby might not know the new location yet.
    I suggest you read this http://www.cs.bris.ac.uk/maintain/OracleDocs/server.816/a76995/standby.htm#23603 and see if that helps
    Success,
    FJFranken

  • Processing of Image files in PI

    Hi experts,
    I have a requirement where an input excel file will have an image name, and all images are in a particular folder.
    Is it possible to go to that folder and verify the properties..such as if image is more than 500 pixel, then throw error else continu with the mapping of the rest of the fields in the xl file?
    I have searched a lot, I dont think its possible in PI runtime..
    would any of u have any suggestions?

    Ravindra,
    This is very simple...
    Using module( which you already wrote) you can read Excel data. Now call for java mapping.  In java mapping you can read the image file and its property directly from location "usr/datafile/images/imagename". You do not need to send this data using module.
    Look at the blog provided by jose...
    http://www.java2s.com/Code/Java/2D-Graphics-GUI/Imagesize.htm
    String url = "http://www.java2s.com/style/logo.png"; replace with "usr/datafile/images/imagename.jpg";
    For java mapping look check out this reference..... ( You can find n number of blogs on java mapping )
    https://wiki.sdn.sap.com/wiki/display/Snippets/FILEtoIDOCusingJava+Mapping
    Hope this will help.
    Thanks,
    Nilesh

Maybe you are looking for