Move the data to different mount point file...? 10g R2

I have data like the following files...

/U02/MY_TEST_DATA/data01.dbf
/U02/MY_TEST_DATA/data02.dbf

I'm running out of disk space available in u02.

How to move these two files to u03? I have a lot of space in u03.
HP Unix, Oracle 10g R2.

What I need to change other settings when I move the location of the file? for example, backup, archieve etc...

Please advice.

Thank you
GISH

Your control file will be updated with the new location of the data file and you'll be all set.

Tags: Database

Similar Questions

  • Move the data files on the standby server without moving primary Oracle 11 g r2

    Hi all


    Oracle 11g 2 with EBS 11.5.0.2 version.

    The size of one of the mounting points on the standby is full and I'm going through one of the data files to another mount point without making any changes to the primary level.

    I tried Google and came across this link:
    http://oraclesea.blogspot.in/2011/12/move-datafiles-on-standby-server.html
    But it did not work... I had to start the database with the spfile to work.

    The steps mentioned in the blog:
    Include below parameter in standby parameter file
    DB_FILE_NAME_CONVERT = '/primary_location/xyz.dbf','/standby_location/xyz.dbf'
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE cancel;
    shut immediate
    startup nomount pfile=initSCSL.ora
    alter database mount standby database ;
    alter system set standby_file_management='MANUAL' SCOPE=MEMORY ; 
    ! cp /primary_location/xyz.dbf'  /standby_location/xyz.dbf
    alter database rename file  '/primary_location/xyz.dbf' to '/standby_location/xyz.dbf';
    alter system set standby_file_management='AUTO' SCOPE=MEMORY ; 
    alter database recover managed standby database parallel 4 disconnect from session;
    Can you please help me with the right steps...


    Concerning
    KK

    Edited by: 903150 Sep 26, 2012 22:41

    Here is an example for you.

    Database pending:

    SQL> select status,instance_name,database_role from v$database,v$instance;
    
    STATUS       INSTANCE_NAME    DATABASE_ROLE
    ------------ ---------------- ----------------
    OPEN         srprim           PHYSICAL STANDBY
    
    SQL> select file_name from dba_data_files;
    
    FILE_NAME
    --------------------------------------------------------------------------------
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\UNDOTBS01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\SYSAUX01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\SYSTEM01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS02.DBF
    
    SQL> select process,status,sequence# from v$managed_standby;
    
    PROCESS   STATUS        SEQUENCE#
    --------- ------------ ----------
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    RFS       IDLE                  0
    RFS       IDLE                154
    MRP0      WAIT_FOR_LOG        154
    
    7 rows selected.
    
    SQL> show parameter name_convert
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    db_file_name_convert                 string
    log_file_name_convert                string
    SQL> alter database recover managed standby database cancel;
    
    Database altered.
    
    SQL> shut immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    M:\>copy C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS02.DBF C:\APP\SHIVANANDA.RAO\ORADATA\DBTEST\USERS02.DBF
    1 file(s) copied.
    
    M:\>sqlplus sys/oracle@srprim as sysdba
    
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Sep 27 14:57:16 2012
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Connected to an idle instance.
    
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  778387456 bytes
    Fixed Size                  1374808 bytes
    Variable Size             494929320 bytes
    Database Buffers          276824064 bytes
    Redo Buffers                5259264 bytes
    Database mounted.
    SQL> alter system set standby_file_management=manual;
    
    System altered.
    
    SQL> alter database rename file 'C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS02.DBF' to 'C:\APP\SHIVANANDA.RAO\ORADA
    A\DBTEST\USERS02.DBF';
    
    Database altered.
    
    SQL> alter database recover managed standby database disconnect from session;
    
    Database altered.
    
    SQL> select process,status,sequence# from v$managed_standby;
    
    PROCESS   STATUS        SEQUENCE#
    --------- ------------ ----------
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    RFS       IDLE                  0
    RFS       IDLE                155
    MRP0      WAIT_FOR_LOG        155
    
    7 rows selected.
    
    SQL> select name from v$datafile;
    
    NAME
    --------------------------------------------------
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\SYSTEM01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\SYSAUX01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\UNDOTBS01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\DBTEST\USERS02.DBF
    

    1. you must close the database pending.
    2 copy the file that you want to move to the different mount point using the OS commands.
    3. Mount the standby database.
    4 rename the data through database level. Make sure that the standby_file_management is set to MANUAL
    5. start the MRP on the standby database.

    Please do not use more than one response to the thread ID. Because you created this thread with ID 903150, I propose to answer with the same ID, not the ID of the other.

  • Move the data from Palm Z22 for palm M125

    My Palm Z22 batteries do not hold a charge.  I recently bought a Palm M125, but have been unable to transfer data from the Z22, the M125.  My op system is Windows Vista Ultimate 32-bit Edition processor.  Is it possible to move the data?

    If the Z22 still works, the best way to transfer your data is for her beam to the M125.  At least, for the PIM of Palm of basic data (e.g., calendar, Contacts, memos, to-(tasks)).   On the Z22 in calendar, switch to the display of the day (not the order of the day).  In the menu, select the category of beam, choose the date range and select all from the drop-down list category.  Make sure that receiving IR is selected in the receiving device.  Align them face to face on one foot out and tap the beam.

    In Contacts, select the category in the upper right, then open the Menu and select the category of beam.  Same process for tasks and memos.

    Data and third-party applications might not let u their beam.   In addition, you will a newer device a lot older with an older operating system that may not work new apps.  So, after you transfer your PIM data, try beaming your third-party apps at a time to see if they run again.  The Z22 Launcher screen (at home), open the Menu, and then select the beam.  Highlight apps one at a time and try to beam at the M125.  My guess is that apps like Documents To Go might not even run, if they let u beam, because they were written for the newer versions of Palm OS than what works the M125.

    There is also an upgrade process where you can do this thru Palm Desktop when you switch devices.   But again because once you go towards the back to an older device, there are some compatibility issues with the applications, databases and files of the system, not to mention the questions according to what version you use Palm Desktop.

    Let us know if ensoupler works, or if you encounter any problems, in this case, we can go to the ugrade process.  Also, let us know what version of Palm Desktop you will synchronize with.

  • How to read the date and time of a file by labview information

    How to read the date and time of a file by labview information? for example, time created and updated time.

    The similar question had already spoken here (this is the old thread but still seems topical):

    http://forums.NI.com/T5/LabVIEW/file-date-created/TD-p/109836

  • move the data by lines into a 2D array

    HI, I have a question about moving the data in a 2D online table, that I was not able to do so if anyone has an answer please let me know

    a picture of what im doing is attached as I said

    I want '1 and run' online no column, if I change the index of the line it will work but the problem is that the 'run' under the '1' and I don't want if I change the index of the column of labview makes the data like the attached picture, but when I changed the labview index moves the data by column when want per row

    Hi, I think that change your code as this will give you the behavior you're looking for.

    That being said, your source code is a bit confusing. Why do you have a loop for? If you remove the loop for example, the code will do exactly the same thing.

    Kind regards

  • HOW TO MOVE THE FLAGS IN MICROSOFT MAP POINT 2013

    HOW TO MOVE THE FLAGS IN MICROSOFT MAP POINT 2013

    I suggest that ask you in this Microsoft forum:

    Highway, streets and Trips, MapPoint .

    Thank you.

  • Vista continues to change the date of modification on my files.

    Vista continues to change the date of modification on my files.  It's on a shelf; I use Word and log a lot and sometimes need to sort by the update.  and then Vista arrives and changes the date on everything... I'm doing something wrong?

    Hi Joyfnp,

    O the date system is not accurate?

    O since when are you facing this problem?

    O recent changes made on your computer?

    In the meantime, you can start your computer in safe mode and check if the problem persists.

    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    Bindu S -Microsoft Support

    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • How to read the data with different XML schemas within the unique connection?

    • I have Oracle database 11g
    • I access it via JDBC: Slim, version 11.2.0.3, same as xdb.
    • I have several tables, each has an XMLType column, all based on patterns.
    • There are three XML schemas different registered in the DB
    • Maybe I need to read the XML data in multiple tables.
    • If all the XMLTypes have the same XML schema, there is no problem,
    • If patterns are different, the second reading will throw BindXMLException.
    • If I reset the connection between the readings of the XMLType column with different schemas, it works.

    The question is: How can I configure the driver, or the connection to be able to read the data with different XML schemas without resetting the connection (which is expensive).

    Code to get data from XMLType is the implementation of case study:

     1   ResultSet resultSet = statement.executeQuery( sql ) ; 
    2   String result = null ;
    3    while(resultSet.next()) {
    4   SQLXML sqlxml = resultSet.getSQLXML(1) ;
    5   result = sqlxml.getString() ;
    6   sqlxml.free();
    7   }
    8   resultSet.close();
    9    return result ;

    It turns out, that I needed to serialize the XML on the server and read it as BLOB. Like this:

     1    final Statement statement = connection.createStatement() ;  2    final String sql = String.format("select xmlserialize(content xml_content_column as blob encoding 'UTF-8') from %s where key='%s'", table, key ) ;  3   ResultSet resultSet = statement.executeQuery( sql ) ;  4   String result = null ;  5    while(resultSet.next()) {  6   Blob blob = resultSet.getBlob( 1 );  7   InputStream inputStream = blob.getBinaryStream();  8   result = new Scanner( inputStream ).useDelimiter( "\\A" ).next();  9   inputStream.close(); 10   blob.free(); 11   } 12   resultSet.close(); 13   statement.close(); 14  15   System.out.println( result ); 16    return result ; 17
    

    Then it works. Still, can't get it work with XMLType in resultset. On the customer XML unwrapping explodes trying to pass to another XML schema. JDBC/XDB problem?

  • Move the data into the new row

    Hello
    In the Oracle 10.1.2.0.2 report generator
    I have a full line with data and more, but data whose length is > 45 just to put some... in the end, I want to take and move the data (character name) with a length > 45/new line
    Priview for the NAME of the person idea got the name with more than 45 tanks Boby Bob young smar...
    Search result:
    Bob Boby younger Smar
    TER
    How can I do

    TThe existing code.
    CASE
              WHEN LENGTH (NAME) > 45
                 THEN SUBSTR (NAME, 0, 45) || '...'
              ELSE NAME
              END
    Thank you
    ID

    Edited by: 1D10T January 22, 2013 14:36

    Edited by: 1D10T January 22, 2013 14:39

    Edited by: 1D10T January 22, 2013 14:40

    1D10T wrote:
    Problem is that if I change something in the paper Layout report editor, as no line or change color, changes are not shown in priview (dissemination paper Layout program)

    If I change something in the layout of paper priview (dissemination paper Layout program) how to remove the line, then the changes after the replay is shown but I'm newebie in the Oracle Report Builder so maybe I'm doing something wrong. : ()

    Hi ID, then you should learn first anyway...

    Tutorial for Oracle reports...
    Here's some link...
    1 http://docs.oracle.com/html/B14364_01/title.htm
    2 http://www.scribd.com/doc/3960412/Basic2-Oracle-Reports-10g-Tutorials

    Video tutorial
    http://www.YouTube.com/watch?v=Fum3MJm5yKU

    I hope this helps... :)

    Take care..

    Hamid

  • Move the data files in a server

    Hello

    I am faced with the situation that a customer needs to move their 10 g-server instance, i.e. to a different disk subsystem, and then a similar movement will be on the 11g on the same server instance. The problem is that the downtime on the instances should be minimized.

    My plan is (for a tablespace at a time):
    * make the tablespace read only
    * Copy data files to the new location
    * offline tablespace
    * alter tablespace rename datafile 'original file name' to 'new file name ";
    on the line the tablespace read write
    and when it is, I will continue with the journal, tablespace and control files temporary.

    Now to the twist and my question: the customer has separate tablespaces for tables and indexes.
    My concern is what is happening to the index if the tablespace containing these are read-only, and storage with the tables are read/write? The transaction fails, because the index cannot be updated, or the index will become damaged?

    Am I better off marking the tables and index tablespaces read only at the same time, ensure the integrity of the database? Or is there a completely different and way better to travel?

    The system is running on a Redhat server.

    Brgds
    Johan

    Johan Nilsson says:
    Hello

    I am faced with the situation that a customer needs to move their 10 g-server instance, i.e. to a different disk subsystem, and then a similar movement will be on the 11g on the same server instance. The problem is that the downtime on the instances should be minimized.

    My plan is (for a tablespace at a time):
    * make the tablespace read only
    * Copy data files to the new location
    * offline tablespace
    * alter tablespace rename datafile 'original file name' to 'new file name ";
    on the line the tablespace read write
    and when it is, I will continue with the journal, tablespace and control files temporary.

    Now to the twist and my question: the customer has separate tablespaces for tables and indexes.
    My concern is what is happening to the index if the tablespace containing these are read-only, and storage with the tables are read/write? The transaction fails, because the index cannot be updated, or the index will become damaged?

    Am I better off marking the tables and index tablespaces read only at the same time, ensure the integrity of the database? Or is there a completely different and way better to travel?

    The system is running on a Redhat server.

    If storage of the index could be read-only, then the index tablespace would lift error if the ar of paintings will be moved.

    [oracle@edlvc1r15p0-orcl trace]$ sqlplus / as sysdba
    
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 1 19:36:33 2011
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    
    SQL> drop tablespace test_bkp including contents and datafiles;
    
    Tablespace dropped.
    
    SQL> create tablespace test1 datafile '/u01/app/oracle/test1.dbf' ize 10m;
    create tablespace test1 datafile '/u01/app/oracle/test1.dbf' ize 10m
                                                                 *
    ERROR at line 1:
    ORA-02180: invalid option for CREATE TABLESPACE
    
    SQL> c/ize/size
      1* create tablespace test1 datafile '/u01/app/oracle/test1.dbf' size 10m
    SQL> /
    
    Tablespace created.
    
    SQL> c/test1/test2
      1* create tablespace test2 datafile '/u01/app/oracle/test1.dbf' size 10m
    SQL> c/test1/test2
      1* create tablespace test2 datafile '/u01/app/oracle/test2.dbf' size 10m
    SQL> /
    
    Tablespace created.
    
    SQL> conn aman/aman
    Connected.
    SQL> drop table t purge;
    
    Table dropped.
    
    SQL> create table t as select * from scott.emp ;
    
    Table created.
    
    SQL> select table_name, tablespace_name from user_tables where table_name='T';
    
    TABLE_NAME                     TABLESPACE_NAME
    ------------------------------ ------------------------------
    T                              USERS
    
    SQL> alter table t move tablespace test1;
    
    Table altered.
    
    SQL> create index tidx on  t(empno) tablespace test2;
    
    Index created.
    
    SQL> alter tablespace test2 read only;
    
    Tablespace altered.
    
    SQL> insert into t select * from t;
    insert into t select * from t
                *
    ERROR at line 1:
    ORA-00372: file 7 cannot be modified at this time
    ORA-01110: data file 7: '/u01/app/oracle/test2.dbf'
    
    SQL> 
    

    That said, if I have understood correctly, you want to move the database and the 'clone' on the new server. Is this right? If so why not make the backup of the 10g database and use it to create a clone/copy of the database on the new server?

    Aman...

    Johan

  • move the data points on the waveform display

    Hello

    No idea why the waveform display to my VI has shift the data points? The third tab of the screen does not display this problem. I took a video of what happens to better illustrate what I'm talking about and attached my VI to identify the problem.

    I am currently a sample of data from a DAQmx and storing in a queue until data backup button. Everything works well, but the problem is the display of actual data, which, although sense points, it shows move in a small area around where they are drawn in the first place. It happens even when I erase the visible data and restart the collection of data, as shown in the video.

    Thanks for any help you may be able to provide.

    Guy

    The amount of data you draw? If you draw a lot more datapoints that there are pixels on the x-axis of the graph, you can get peaks that appear to move because of graphic interpolation LabVIEW has to do.

    Mike...

  • Move the data file

    Hi team.

    I have a DB 11.1.0.7 on Unix.

    How can I move a data file?

    From: /prod7/devdata/rbs01.dbf to /prod6/devdata/rbs01.dbf

    Thank you

    Hello;

    I probably wouldn't.

    I refer to this note for Oracle:

    How to change the Undo Tablespace in a new Undo Tablespace [ID 431652.1]

    Best regards

    mseberg

  • 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

  • How to restore the different mount point rman backup

    Hi all
    I have my RMAN bkp on my production under mount point/d01/rmanbkp server. I need to restore rman on TEST server. I don't have /d01 of mount point on my test server, so I need to restore to the point of different Assembly called /oraapps. I finished copying all my backup RMAN on TEST server, but when I try to restore it. He seeks his path of moose that is/d01/rmanbkp. Suggestions, how can I do.

    Concerning
    Musaddaq

    Hi Musaddaq,
    When you perform a restore on the test server after having mounted the controlfile enables control of catalog catalog of the backup pieces in the new directory structure.

    CATALOGUE START WITH ' / oraapps';

    Kind regards
    Tycho

  • How to save the data of different rates in a single VI?

    Hello

    I tried to acquire 2-channel measurement of voltage at 10 kHz and analyze data, finally to save the data to both 1 kHz and 1 Hz. What I did is this loop of producer/consumer use to do the work of recording at different rates. I have queued all the data in the main loop, and then removed the data and write it to the file in other loops. I added "wait = 1 ms' a consumer loop for recording data at 1 kHz (loop of fast logging) and added" wait = 1000ms' in another loop to get the slow 1 Hz (logging loop) data record.

    My problem is that the data record works fine in the case of 1 Hz, but it does not work for the case of 1 kHz. Although the time-out period defined as 1ms, the interval between two samples in the loop of fast data recording is about 100ms.  Subsequently, 1ms, 10ms, 100ms, 150ms tried in this loop to see what intervals are in these cases. I found that the intervals are same as assigned in the timeout greater than 100 ms, but if the time-out is set to 1ms or 10ms, the intervals are again around 100ms.

    My question is - why I can't reach data record 1 kHz using loop of consumers/producers, while the same way works for the case of 1 Hz?

    Thank you very much

    Hao

    You are sampling at 10 kHz and you want to back up your data "as if you sampled at 1 kHz and 1 Hz", if I understand correctly.  I also understand that you use the design of producer/consumer model to help with this (a good idea).

    I'm assuming that the producer 'product' a segment of data at a time, to say the value of a second of data or a 2 x 10000 I16 (assuming a 16-bit integer A/D) table you put into a queue and wait for the consumer.

    If you have data at 10 kHz, how do you get representations to 1 kHz or 1 Hz?  There are (at least) two possibilities - average data over the interval of proper time, or (re) sample data.  The good thing is that you can handle the situation 1 kHz and 1 Hz, essentially at the same time and in the same processing loop.  I'll discuss the case 1 kHz - with the assumptions I made, the case of 1 Hz becomes almost trivial.  I'll discuss treatment also just one channel, as it is similarly almost trivial to go from 1 to N-channel.

    If you have 1 second of data sampled at 10 kHz, and will "reduce" 1 second of data sampled at 1 kHz.  Note that you have 10 samples for each data point that you want in the end.  The "Averaging" method said "Replace all 10 points in the average of these 10 points", while "resampling" method said "replace 10 points with, say, the first point, ignoring the others.  An easy way to do this is to use the Reshape feature to transform an array of 10 x 1000 elements of your array of 10000 items 1-D 2D.  Now, you can use a loop FOR an average of 10 items or simply extract the first.  [This is where almost everyone, including me, a mistake - when you put a 10 x 1000 2D array in a loop, you get 10 iterations of 1000 items and we want 1000 iterations of 10 items.]  Oops, what to do?  [Simple - converts 2D array before sending in the loop FOR.]

    So when you have processed your 10,000 points and got both 1000 samples "1 kHz" and 1 "1 Hz" sample, you write each of them in their respective folder and wait for the next item in the queue of the consumer.  Consumer focus on the queue loop, it will automatically 'block', waiting for the producer of the 'feed' some data.  Note that the producer generates data once per second, producing 10000 points for the consumer in the process, but the time to deal with these points and perform the required disk i/o should take only a few milliseconds (certainly not more than 100, even if writing to a floppy!), so you don't have much time to do other interesting things (such as display data).

    Bob Schor

Maybe you are looking for