How to move temp file, redo log to different drive oracle 9i

Hi ,
I am using oracle 9i
by mistakenly, i have instaled oracle installable on system drive i mean c: drive.I have installed teh database on D: drive.
For tunning perfomance i would like to move the redlog files and temp files to different drive.
Could you please explain me the step by step procedure how to do this
Thanks
AITS

Very easy -
Create a new temp tablespace with the files on the drive you want, make it the default temp tablespace for any users/schemas you have created, then drop the old temp tablespace including datafiles.
For the redo logs, create new groups, again with the logfiles on the dirves you want them on, cycle out of the old ones with "alter system switch logfile;" then drop them.

Similar Messages

  • How do i move my itunes library to a different drive

    i underestimated the space i needed for my itunes library. at the time, i thought 75gb is more than enought for my 60gb ipod, then the videos and movies came along. although i cannot put them on my 4th gen ipod, but i did downloaded a bunch of free tv shows and video podcasts.
    i thought i was simply gonna delete some already-viewed files as i push the limit, but then the recycle bin on my ipod specific drive screwed up. i can no longer delete anything off that drive. since the partition i had earlier was kind small for my ipod drive, i think i want to reformat the drive to a different partition.
    of course, i need to move my itunes library first. can someone please teach me how to move my itunes library to a different drive? thank you very much.

    When I added a second drive internal drive I used this guide: Moving your iTunes Music Folder

  • Mv control files, redo.log, database fies

    Hello,
    I installed Oracle 10.2. on Unix.
    we have created file systems for our data/control files.
    some how we missed that part to define location for dbf, control & redo.log files during installation.
    My question is how to mv all control files, redo.log and dbf files to one location to another.
    for. eg:
    currently there are installed in /opt/oracle/oradata.
    now i want o move in /u03/oradata.
    Please note:
    Prior to that I'd like to put in archive log mode.
    shutdown immediate;
    startup mount;
    alter database archivelog;
    alter database open;
    DN

    For DB and Redo files
    conn / as sysdba
    shutdown immediate;
    startup mount
    host
    $ cp old_name new_name
    $ exit
    alter database rename file old_name
    to new_name;
    alter database open
    host
    $ rm old_name
    $ exitFor control files
    1. Shut down the database.
    2. Copy an existing control file to a different locations, using operating system commands.
    3. Edit the CONTROL_FILES parameter in the database's initialization parameter file to add the new control file's name, or to change the existing control filename.
    4. start the database.
    Message was edited by:
    tekicora

  • How to clear temp files in mac?

    How to clear Temp files in Mac?

    What temp files? Most are deleted automatically when an application quits or when you log in or restart.

  • Recover from missing files(redo log file/control file) and state of the DB

    Hello,
    i hv go through the doc. as well. But have some doubts what will happen in each on these situations.
    Pls help me to clarify these!
    Scenario is like this;
    hv 3 redo log files - multiplxed
    hv 3 control files - multiplxed
    - What will happen if 1 redo log file missing when starting the DB?
    - What will happen if 1 redo log file missing when using(performing operations) the DB?
    (will it recover automatically/db abort/even redo log lost will the DB run as usual... ?)
    -How to recover this lost redo log?
    - What will happen if 1 control file missing when starting the DB?
    - What will happen if 1 control file missing when using(performing operations) the DB?
    (will it recover automatically/db abort/even control file lost will the DB run as usual... ?)
    -How to recover this lost redo log?
    thanks

    - What will happen if 1 redo log file missing when starting the DB?IF you have multiplexed the members you can drop the lost file and will be able to open the DB
    What will happen if 1 redo log file missing when using(performing operations) the DB?Again if multiplexed it will drop a warinign in the alert log and contnue to write on othere members
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/recoscen.htm#sthref1385
    - What will happen if 1 control file missing when starting the DB?Just remove the entry from the init.ora and start the DB
    What will happen if 1 control file missing when using(performing operations) the DB?Will shutdown

  • My start up disk is full and I need to move my files to an external hard drive, how do i do so?

    My start up disk is full and i need to move my files to an external hard drive, how do i do so?

    Ensure that the external is correctly formatted
    Drag and dropped the files
    Test to be sure that the moved files work
    Once the moved files work delete the originals
    Allan

  • How to create temp files in temp tablespace

    Dear all,
    Due to outage of our SAN, we our out of production for the
    last 3 days. By the grace of Almighty we have restored production by
    database recovery from our standby backup. Since temp tablespace and
    temp data files do not taken as backup for standby, now after recovery
    we are getting abap dumps asking for temp_1 and temp_2 datafiles.
    Please guide us how to create temp files. v$tablespace is showing tablespace PSAPTEMP but datafile are not there
    Abap dumps are giving these errors as mentioned below
    ====================================================
    The exception must either be prevented, caught within the procedure            
    "DATA_SELECTION"                                                              
    "(FORM)", or declared in the procedure's RAISING clause.                       
    To prevent the exception, note the following:                                  
    Database error text........: "ORA-01157: cannot identify/lock data file 256 -  
    see DBWR trace file#ORA-01110: data file 256:                                 
    '/oracle/SD1/sapdata4/temp_2/temp.data2'"                                     
    Internal call code.........: "[RSQL/FTCH/MARA ]"                               
    ===================================================
    another one asking for 
    '/oracle/SD1/sapdata3/temp_1/temp.data1'"
    Best Regards
    Waqas

    if you want to add a new tempfile to your TEMP Tablespace,you can do like that.
    <i>ALTER TABLESPACE</i> <<b><u>name of TEMP Tablespace</u></b>> ADD TEMPFILE <<b><u><b><u>pfad to the file_and_file name</u></b></u></b>> <b>SIZE</b> <size>;
    You can use also the options <i>REUS</i>E <i>autoextend off</i> or <i>on</i> .
    e.g:
    <i>alter tablespace</i> <u><b>PSAPTEMP</b></u> add <i>tempfile</i> <b><u>'/oracle/SD1/sapdata4/temp_2/temp.data2'</u></b> <i>SIZE 1000K</i> <i>REUSE</i>;
    The directory <b><u>temp_2</u></b> should exist.
    Or you can use the BR*Tools to create a new datafile. Enter brtools and follow the instructions or menu.
    More to TEMP Tablespaces see please following SAP notes:
    <u><b>659946</b></u> - FAQ: Temporary tablespaces
    <u><b>600513</b></u> - ORA-25153 after recovery due to missing tempfiles
    and the Oracle Note:
    <u><b>160426.1</b></u>: TEMPORARY Tablespaces : Tempfiles or Datafiles ?
    I hope it helps.

  • How a select statement generates redo logs

    Can some one explain how a select statement generates redo logs
    Naveen

    Redo with a select statement happens when dirty blocks get written to the database, and are then "cleaned up" when next read of that data block. This could happen when a large DML statement does not commit before the DB Writer needs to write modified blocks to disk. The next time the blocks are read by a select statement they get modified, hence REDO is generated by the select statement.
    Read the following for more and better understandings.
    http://www.dbspecialists.com/specialists/specialist2003-10.htm
    Jaffar

  • How to move PDF file from Spool to Application Server?

    How to move PDF file from Spool to Application Server?
    Cannot use RSTXPDFT4 because that converts OTF to PDF and the file is already PDF.
    RSTXPDFT5 doesn't work. It picks the file up and assigns it a 'text' type and outputs a 1 line txt (1kb in size) on the server with the spool number in it!
    The program which outputs the file to the spool, in the first place, uses adobe forms and outputs to a printer of type PDF.

    Hi Gemini ,
    Please refer the below links.
    [http://sap.ittoolbox.com/groups/technical-functional/sap-hr/convert-a-spool-to-pdf-and-save-on-application-server-in-background-720959]
    [http://www.sapfans.com/forums/viewtopic.php?f=13&t=325628&start=15]
    Edited by: Prasath Arivazhagan on Apr 13, 2010 4:48 PM

  • How to move downloaded files from download folder to other relevant folder or how to download files in relevant folders other than download folder

    how to move downloaded files from download folder to other relevant folder or how to download files in relevant folders other than download folder

    Just drag the file from the Download folder to the folder of your choice in Finder. If you are using Safari you can designate a new default download destination in Safari>Preferences>General tab, 'Save Downloads to...'. Other browsers should have a similar option in their preferences.

  • How to move all files but X to Y

    It doesn't really matter if it's in the terminal or if it's a applescript but I need to know how to:
    Move all files in a dictionary but a few named.

    Could you pleas explain more?
    If you do not understand the shell while loop, it is possible that using shell commands is a bit more dangerous than you might want to try.
    The explanation:
    ls -a | grep -v "X" | while read file
    do
        mv "$file" "Y/"
    done
    ls -a will list all the files in the current working directory (including the invisible files that start with a leading period.  Thinking about this, maybe you do not want to include -a.  You could cd /path/to/the/desired/directory as a way to set your current working directory as the directory you wish to move things from
    cd "/path/of/the/from/directory"
    ls | grep -v "X" | while read file
    do
        mv "$file" "Y/"
    done
    The ls command's output is piped (the vertical bar | ) into the grep command (general regular expression parser).  The -v option tells grep to throw away any lines (filenames) that match the regular expression "X".  So if the regular expression X matches all the files you do not want to move, the filenames send to the next pipe will be the files you wish to move.
    The while loop will read the filenames grep has selected and invoke the mv (move) command for each file selected by grep and move them to the destination directory Y
    The bigest risk is that you will execute this in the wrong directory and move the files that you need somewhere else.  OR WORSE, if "Y" is NOT a directory, and you DO NOT put a trailing / the mv could move easy file to the destination file, deleting the previous file for each file moved, so effectively deleting every file in the directory except the last one.
    This is why I said if you do not understand what is going on with the shell commands, you could do damage to your system.
    ls could have the /path/of/the/from/directory instead of using the cd command.  The grep command could be replaced with egrep that allows using alternate matching strings:
    ls /path/of/the/from/directory | egrep -v "abc.txt|def.jpg|xyz.mp3|etc..." | while read file
    do
        mv "$file" "/path/to/the/destination/directory/"  # notice the trailing slash for safety
    done
    Good luck.  I hope you do not destroy your system

  • How Do I Restore Deleted Redo Logs

    I currently have alter database archivelog set and am backing up my archive log redo file. However, I am trying to test a scenario where all of my redo log files have been deleted, and thus need to be restored. I have backups of my archivelog files. I'm trying to recover my redo log files by executing the following:
    RMAN> restore archivelog all;
    Starting restore at 14-AUG-02
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=9 devtype=DISK
    archive log thread 1 sequence 102 is already on disk as file C:\ORACLE\ORA90\RDBMS\ARC00102.001
    archive log thread 1 sequence 103 is already on disk as file C:\ORACLE\ORA90\RDBMS\ARC00103.001
    archive log thread 1 sequence 104 is already on disk as file C:\ORACLE\ORA90\RDBMS\ARC00104.001
    restore not done; all files readonly, offline, or already restored
    Finished restore at 14-AUG-02
    Since this doesn't work I'm assuming I'm doing something wrong. Therefore, what are the necessary steps for recovering my redo log files after they have been deleted? Thanks to all for your help.

    Since my test assumes that the Control files, redo logs and all tablespaces and data files have been deleted. These are the steps I'm using to attempt a full backup & recovery.
    3.     Login to SQLPLUS sys/jalisco@bas as sysdba
    4.     SQL> startup mount bas <enter>
    5.     SQL> alter database archivelog; <enter>
    6.     Stop the Listener and Instance through Services or Net Stop as before.
    7.     From a command enter C:\Oracle\startoracle jalisco bas.
    8.     Login to RMAN: rman target sys/jalisco@bas <enter>
    9.     RMAN> configure controlfile autobackup on; <enter>
    10.     RMAN> backup database format
    a.     2> /oraclebackup/rman_%d_%t.bas plus archivelog; <enter>
    At this point Oracle is configured so that both the archivelog and control files get backed up to oracle\ora90\database. The archivelogs get stored in oracle\ora90\rdbms.
    1.     Restore the control files.
    2.     Restore the archivelogs.
    3.     Restore the tablespaces and data files.
    4.     Create new reset logs.
    1.     Confirm that the Listener and BAS service have been started through the Contol Panel, or by using Net Start.
    2.     Login to RMAN: rman target sys/jalisco@bas as sysdba
    3.     RMAN> startup nomount
    4.     RMAN> restore controlfile from /oracle/ora90/database/C-493922189-2002MMYYYY-00;
    5.     RMAN> startup mount
    6.     RMAN> run {
    a.     2> restore archivelog all; }
    7.     RMAN> restore database;
    8.     Exit RMAN and Login to SQLPLUS sys/jalisco@bas as sysdba
    9.     SQL> alter database open resetlogs;
    At this point I get the error which is listed in the above thread.
    At this point a complete recovery should have taken place. It is extremely important to create a new backup now before proceeding.

  • I need to do a clean install of maverick on my 2010 mbp what disk do i use and how do i move certain files from an external hard drive

    I want to do a clean install of maverick on my 2010 mbp.  I need to know what disk to use and also how i take certain files off my external hard drive and put on my computer.  When I was having problems with my airport they did a clean install and they pulled files of my time machine.   however they forgot to put the partition back in for a windows side.  Originally I had Parellels on my computer.  After my external hard drive got corrupted i called apple and they fixed the problem but didn't have me set up the time machine except for the external hard drive.  Now my only back up is from the external not from the laptop.    I am not sure how to do any of this.  I am not computer savvy...PLEASE I NEED  HELP>

    First, you need to make a backup of your MBP onto your external drive. I suggest you start by cloning your MBP drive to the external drive:
    Clone Mavericks, Lion/Mountain Lion using Restore Option of Disk Utility
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         1. Select Disk Utility from the main menu then press the Continue
             button.
         2. Select the destination volume from the left side list.
         3. Click on the Restore tab in the DU main window.
         4. Select the destination volume from the left side list and drag it
             to the Destination entry field.
         5. Select the source volume from the left side list and drag it to
             the Source entry field.
         6. Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.
    This clone is fully bootable and also contains a clone of your Recovery HD.
    Second, you need to do a clean install of OS X onto your MBP as follows:
    Install or Reinstall Mavericks or Mountain Lion from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    OS X Mavericks- Erase and reinstall OS X
    OS X Mountain Lion- Erase and reinstall OS X
    OS X Lion- Erase and reinstall Mac OS X
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.
    This should accomplish your goals. You will have a clean install of OS X on your MBP and a bootable clone of your old system and all your files on the external drive.

  • How to move itunes library from winXP to NAS drive

    Can someone point me to a location that has intructions on how to offload
    my Itunes library from my XP PC to my IOMEGA media center NAS drive? I've
    searched quite a bit and haven't been able to find a comlete set of intructions
    yet. Just trying to free up disk space on my desktop. It gets a bit confusing sometimes when they mention music files and library files. To me, they are one in the same, but I think they are not. Would be nice if there was a flow chart of
    how Itunes works and what each file component does. You know, like the difference between an .itl file and a .xml file?

    First of all I still don't know how to post a question. There is nothing in here that asks me to do so. Therefore I can only reply to one already asked. My problem is that I followed the instructions in iTunes which tell me how to move the files from the C Drive to another location (which happens to be my D Drive). After doing that it then tells me to drag the old files into the recycle bin, however, it won't comply and tells me that the procedure can't be performed because of copywrite protections. Where do I go from here? Or at the very least, how do I post a question in this forum the normal way?

  • How do I copy files from a seperate hard drive to Bridge

    How do I copy files from a seperate hard drive and paste them to Bridge

    Bridge is just a file Browser, nothing more and nothing less.  It doesn't create folders of its own and it doesn't keep image files in the application itself.
    You don't "paste" anything "into" Bridge.  You just navigate Bridge to the other drive where the images are, point it toward said files, and Bridge will show them to you.
    Once you find your files, you can use Bridge to move them or copy them to wherever you want.  They will never be "inside" Bridge.  As soon as you disconnect the other hard drive, Bridge will have no record of them unless you copy them over to a drive that is always attached to your computer, such as your boot drive or another internal drive.
    Recapping;  Your images are never in Bridge.

Maybe you are looking for

  • Unable to release transport request

    I tried to release a request, but when I execute se10, below will have information stated "global information cannot be read", then when I need to release the main request, it will give me the message "Cannot access file swisapfs01\sapmnt\trans\tmp\D

  • H.264 default setting

    Does anyone now what bit rate setting will work to produce a DVD in H.264 single pass non default that will not give me a "Muxer Bit rate error". I have just finished a one hour H.264 Video and compressor took 99hours on the IMAC.... far to long. Als

  • Oracle 9.6.0.2.0

    Hi, what is meaning of 9.6.0.2.0 (release version patch version) etc....

  • How to access attribute

    Hi all,    I am new to webdynpro for ABAP.  How to access the attribute which is directly under the root context. ex. Root Context |    Name   ---> attribute. Regards, Gnid.

  • Re: data overhead in object carousel

    anyone with playout experience? just to be on top again ;)