Delete the control file

Solaris 9 Oracle 9i
If one has got 2 sets of the control file eg control01, control02. can one delete one set if one needs space desperately and have a backup copy somewhere?
Thanx.

NPD wrote:
so this means it can be deleted if one wants toIf you could, it is highly not recommanded. You'd go to a not safely situation (imagine you lose the other one for some reason...). Furthermore, controflile are not Giga file size, I'm pretty sure you'll gain almost peanuts of space by removing a controlfile.
Nicolas.

Similar Messages

  • VDBench failed to delete the control file

    Seems like there were several file in the directory which did not belong to VDbench, but usually it fails when it tries to delete the directory it self, and not the control-file
    Any ideas why this happened?
    Thanks !
    06:38:13.003 Starting RD=format_for_rd1
    06:38:13.045 06:38:13.045 task_run_all(): 369 tasks
    06:38:13.087 06:38:13.087 readDirsAndDelete(): Invalid file name found and not deleted: /mnt/sys--6/rickfs002 kuku
    06:38:13.088 06:38:13.088 readDirsAndDelete(): Invalid file name found and not deleted: /mnt/sys--6/rickfs002 kuku
    06:38:13.106 06:38:13.106 Message to master: anchor=/mnt/sys--2/clone001_snap001_rickfs003 deleted 12 directories; 631/sec
    06:38:13.110 06:38:13.109 readDirsAndDelete(): Invalid file name found and not deleted: /mnt/sys--4/rickfs002 kuku
    06:38:13.110 06:38:13.109 readDirsAndDelete(): Invalid file name found and not deleted: /mnt/sys--2/rickfs002 kuku
    06:38:13.110 06:38:13.110 readDirsAndDelete(): Invalid file name found and not deleted: /mnt/sys--4/rickfs002 kuku
    06:38:13.126 06:38:13.126 readDirsAndDelete(): Invalid file name found and not deleted: /mnt/sys--5/rickfs002 kuku
    06:38:13.126 06:38:13.126
    06:38:13.126 06:38:13.126 Unable to delete control file: /mnt/sys--4/clone001_snap001_rickfs004/vdb_control.file
    06:38:13.127 06:38:13.126
    06:38:13.127 java.lang.RuntimeException: Unable to delete control file: /mnt/sys--4/clone001_snap001_rickfs004/vdb_control.file
    06:38:13.127 at Vdb.common.failure(common.java:308)
    06:38:13.127 at Vdb.FileAnchor.deleteOldStuff(FileAnchor.java:805)
    06:38:13.127 at Vdb.FileAnchor.cleanupOldFiles(FileAnchor.java:754)
    06:38:13.128 at Vdb.FwgThread.run(FwgThread.java:137)

    A few thoughts:
    - you have an other Vdbench test running against the same FSD anchor, though if I am not mistaken, Unix allows you to delete a busy file.
    - you created the control file with different user/authorization.
    Henk.

  • Is it safe to delete the cache file folder from library

    is it safe to delete the cache file folder from library ?

    As I understand it Robo doesn't really 'do' third-party
    source control. We use SourceGear Vault, but really only as a
    repository for the files. We can't really work concurrently because
    Robo needs exclusive access to the top level project files. But it
    kind of works for us, because we're on opposite sides of the globe.
    I see what you're saying on the 'local' versions of (say) the
    cpd files conflicting. If anyone else has an informed view, I'm all
    ears. We've set it up this way ourselves - I don't know of anyone
    doing the same. If someone tells me this is a bad idea, I'm happy
    to think again.
    Cheers!

  • Restore from OSB. RMAN-06024: no backup or copy of the control file found

    I backed up controlfile for standby on production server to OSB media:
    -bash-3.00$ rman target / catalog rman/rman@emgc
    Recovery Manager: Release 10.2.0.5.0 - Production on Tue Jan 25 15:15:33 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: EMGC (DBID=1838014073)
    connected to recovery catalog database
    RMAN>
    RMAN> CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
    RUN
    ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
    BACKUP CURRENT CONTROLFILE FOR STANDBY tag 'stb_ctl';
    RELEASE CHANNEL ch1;
    CONFIGURE DEVICE TYPE 'SBT_TAPE' CLEAR;
    new RMAN configuration parameters:
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
    new RMAN configuration parameters are successfully stored
    starting full resync of recovery catalog
    full resync complete
    RMAN> 2> 3> 4> 5> 6>
    allocated channel: ch1
    channel ch1: sid=1085 devtype=SBT_TAPE
    channel ch1: Oracle Secure Backup
    Starting backup at 25-JAN-11
    channel ch1: starting compressed full datafile backupset
    channel ch1: specifying datafile(s) in backupset
    including standby control file in backupset
    channel ch1: starting piece 1 at 25-JAN-11
    channel ch1: finished piece 1 at 25-JAN-11
    piece handle=1em30ngu_1_1 tag=STB_CTL comment=API Version 2.0,MMS Version 10.3.0.2
    channel ch1: backup set complete, elapsed time: 00:00:27
    Finished backup at 25-JAN-11
    released channel: ch1
    RMAN> list backup of controlfile;
    old RMAN configuration parameters:
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
    RMAN configuration parameters are successfully reset to default value
    starting full resync of recovery catalog
    full resync complete
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1479 Full 512.00K SBT_TAPE 00:00:18 25-JAN-11
    BP Key: 1480 Status: AVAILABLE Compressed: YES Tag: STB_CTL
    Handle: 1em30ngu_1_1 Media: mf_rman-000003
    Standby Control File Included: Ckp SCN: 33567224 Ckp time: 25-JAN-11
    RMAN>
    On standby server I try to restore this control file but there is some trouble with restore... By the way I can delete that backup piece...
    -bash-3.00$ rman target / catalog rman/rman@emgc
    Recovery Manager: Release 10.2.0.5.0 - Production on Tue Jan 25 15:34:32 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: emgc (not mounted)
    connected to recovery catalog database
    RMAN> set DBID=1838014073;
    executing command: SET DBID
    database name is "EMGC" and DBID is 1838014073
    RMAN> RUN
    ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
    crosscheck backup of controlfile;
    2> 3> 4> 5>
    allocated channel: ch1
    channel ch1: sid=1093 devtype=SBT_TAPE
    channel ch1: Oracle Secure Backup
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=1em30ngu_1_1 recid=40 stamp=741367328
    Crosschecked 1 objects
    released channel: ch1
    RMAN> list backup of controlfile;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1479 Full 512.00K SBT_TAPE 00:00:18 25-JAN-11
    BP Key: 1480 Status: AVAILABLE Compressed: YES Tag: STB_CTL
    Handle: 1em30ngu_1_1 Media: mf_rman-000003
    Standby Control File Included: Ckp SCN: 33567224 Ckp time: 25-JAN-11
    RMAN> RUN
    ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
    RESTORE CONTROLFILE FROM TAG 'STB_CTL';
    2> 3> 4> 5>
    allocated channel: ch1
    channel ch1: sid=1093 devtype=SBT_TAPE
    channel ch1: Oracle Secure Backup
    Starting restore at 25-JAN-11
    released channel: ch1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 01/25/2011 15:35:20
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    RMAN> RUN
    ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
    delete noprompt backup of controlfile;
    2> 3> 4> 5>
    allocated channel: ch1
    channel ch1: sid=1093 devtype=SBT_TAPE
    channel ch1: Oracle Secure Backup
    List of Backup Pieces
    BP Key BS Key Pc# Cp# Status Device Type Piece Name
    1480 1479 1 1 AVAILABLE SBT_TAPE 1em30ngu_1_1
    deleted backup piece
    backup piece handle=1em30ngu_1_1 recid=40 stamp=741367328
    Deleted 1 objects
    released channel: ch1
    RMAN>

    You cannot specify a tag for a standby control file.
    read here
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmstand.htm#1002594
    Edited by: Adigozalov Gurban on Jan 25, 2011 2:14 PM

  • Restore - filename for datafile is missing in the control file

    I am practicing RMAN recovery procedures and I encountered a problem that I do not know how to solve.
    1) I took a hot backup of my test database.
    2) Create tablespace TS_DATA_TEMP
    3) Deleted tablespace TS_DATA which had 2 datafiles
    4) Created tablespace TS_DATA with 1 datafile
    5) shutdown database
    6) logged into RMAN in nomount
    7) restore controlfile from autobackup;
    8) alter database mount;
    9) restore database;
    RMAN> restore database;
    Starting restore at 22-AUG-08
    using channel ORA_DISK_1
    the filename for datafile 5 is missing in the control file
    skipping datafile 1; already restored to file /u02/oradata/EDM91/system01.dbf
    skipping datafile 2; already restored to file /u02/oradata/EDM91/undotbs01.dbf
    skipping datafile 6; already restored to file /u02/oradata/EDM91/index
    skipping datafile 3; already restored to file /u02/oradata/EDM91/sysaux01.dbf
    skipping datafile 7; already restored to file /u03/oradata/EDM91/TS_INDEX01.dbf
    skipping datafile 9; already restored to file /u03/oradata/EDM91/TS_LOB01.dbf
    skipping datafile 4; already restored to file /u02/oradata/EDM91/users01.dbf
    restore not done; all files readonly, offline, or already restored
    Finished restore at 22-AUG-08
    10) tried to recover
    Starting recover at 22-AUG-08
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 08/22/2008 15:04:22
    RMAN-06094: datafile 5 must be restored
    SQL> select name from v$datafile where file#=5;
    NAME
    /u04/oradata/EDM91/TS_DATA.dbf
    12) alter database backup controlfile to trace
    DATAFILE
    '/u02/oradata/EDM91/system01.dbf',
    '/u02/oradata/EDM91/undotbs01.dbf',
    '/u02/oradata/EDM91/sysaux01.dbf',
    '/u02/oradata/EDM91/users01.dbf',
    '/u04/oradata/EDM91/TS_DATA.dbf',
    '/u02/oradata/EDM91/index',
    '/u03/oradata/EDM91/TS_INDEX01.dbf',
    '/u04/oradata/EDM91/TS_DATA02.dbf',
    '/u03/oradata/EDM91/TS_LOB01.dbf'
    CHARACTER SET UTF8
    So i'm not sure what the problem is. Datafile TS_DATA.dbf is located in the control file but i'm getting the error: the filename for datafile 5 is missing in the control file.
    Suggestions on what's wrong with the control file?

    I found my mistake; a newbie error.
    I did not know I needed to include in my restore command the 'until' option when doing incomplete recovery. I only included the 'until' option in the recover command:
    original command
    restore database;
    recover database until sequence =123;
    should be
    restore database until sequence = 123;
    recover database until sequence =123;
    I usually run the command using a RUN block with a SET UNTIL SEQUENCE but this case I used the single commands separately.
    RUN
    +{+
    SET UNTIL sequence 123;
    RESTORE DATABASE;
    RECOVER DATABASE;
    +}+

  • I want to delete temporary internet files. Notice I did not say clear the cache. That does not work! How can I delete the temp files? Why did you take that feature away? VERY frustrating that you would do that!

    I search for how to delete temp int files and keep coming up with the "clear cache" crap. That is not what I searched for. Clear cache does NOT delete the temp files. Why would you take that feature away??

    The Windows temporary internet files folder isn't used directly by Firefox. Firefox uses its own cache folder and you can see its current usage on the about:cache page via the location bar.
    If anything does show up in the temporary internet files folder then it is likely caused by using MS plugins like the Windows Media Player or Silverlight. You need to clear that folder via IE or the control panel (internet settings).

  • Itunes 8 deleting the .itl file

    My itunes keeps deleting the .itl file, erasing all of itunes knowledge of where my music is, playlists, etc. I tried to downgrade my itunes, my i need the current version for my ipod. If I reimport my library, it will create the file but deletes it when I reboot my computer, if not sooner. Does anyone know why this is happening or how to fix it?
    Note: the actual music files are still in the default Itunes folder. None are ever deleted or altered.
    Message was edited by: jessem.james

    This is the iTunes for MAc forum and your signature shows VGN-CS215J, which happens to be a Sony VAIO (Windows PC).
    Sony VAIO services kindly deletes iTunes files.
    Go task manager/services/services/ find VAIO content folder watch/right click/stop/right click/properties/ change it from automatic to manual.
    Also check Control Panel -> Vaio Content Analyzer Settings.
    On the Music tab, uncheck "Analyze Music Files" and at the bottom uncheck your music folder.

  • Every time I sign in, it signs me out immediately. I've tried deleting the opm file and it's unable to do so because "Adobe CC is currently running this file." I've also changed my LAN settings and downloaded something else that was supposed to help me ou

    Every time I sign in, it signs me out immediately. I've tried deleting the opm file and it's unable to do so because "Adobe CC is currently running this file." I've also changed my LAN settings and downloaded something else that was supposed to help me out but nothing seems to fix the problem.

    I think you'll find that the official Adobe advice here is misguided.  First, deleting bits of the program and program data is, as you've noted, perilous and often impossible.  Shame on Adobe for doing such a poor job of coding that such steps are needed.
    The solution I recommend is as follows:
    Restart your Windows machine and boot in "Safe Mode" with networking using the F8 key just as Windows starts.
    Go to the Control Panel and select Programs. Find and Uninstall "Adobe Creative Cloud Desktop". 
    Reinstall it by downloading it from the website  https://creative.adobe.com/products/creative-cloud
    Restart your machine.
    Only in "Safe Mode" are you likely to be able to accomplish these tasks reliably.

  • How can i validate the data in the control file?

    Consider that the SQLLoader reads the Input data File from the path and it loads the data into the tables based up on the descrition specified in the control File.
    First, the table to be filled is created:
    create table sql_loader_1 ( load_time date, field_1 Numeric, field_2 varchar2(10)
    Sample Control File :
    load_1.ctl
    load data
    infile 'load_1.dat' "str '\r\n'"
    insert into table sql_loader_1
    load_time sysdate,
    field_2 position( 1:10),
    field_1 position(11:20)
    Note that the positions 11 through 20 are loaded into field_1 and positions 1 through 10 into field_2. The field load_time is filled with the current time (sysdate) of the load.
    Here's the data. The name of the file (load_1.dat) had been specified with the infile statement in the control file.
    load_1.dat
    0123456789abcdefghij
    foo bar
    here comes a very long line
    and the next is
    short
    Here i want to validate the field_1 (Numeric Datatype) since the data file contains the character value (i.e)abcdefghij

    Good question for this forum:
    Export/Import/SQL Loader & External Tables
    Werner

  • HT3842 Does iTunes store the original music file and copy it into a separate folder? If i delete the original file from finder will it remove it from my iTunes library?

    Hi, on my last PC when transferring music to my new MacBook Pro i noticed i had about 6 duplicated of each song in every album i took hours in removing them.
    I Just wondered Does iTunes store the original music file and then copy it into a separate folder?
    If i delete the original file from finder will it remove it from my iTunes library or vice versa. I didnt want to lose any music like i have some how managed to on my old computer.
    Or should i keep both files of it in the Music folder and also iTunes library folder?
    Which is best ?

    DrewPowell wrote:
    I Just wondered Does iTunes store the original music file and then copy it into a separate folder?
    It does both at the same time.
    When you add files to iTunes, it copies them into /Music/iTunes/iTunes media/ folder. The original file remains where it was.
    You can drag a file to /Music/iTunes/iTunes media/Automatically add to iTunes/ folder.
    This will add to iTunes and move it to /Music/iTunes/iTunes media/.
    I keep a shortcut of this folder on my desktop then simply drag files to the shortcut to add to iTunes.
    Then there are no "extra" files around.

  • Firefox does not delete the .part file from my download folder after a successful download

    First off, I'm on a MacBook Pro, running 10.6.4 and FF3.6.12
    I've recently noticed that on occasion Firefox does not seem to delete the .part file associated with a successful download. The .part file (with a name consisting of a string of random characters followed by a .part extension) is visible in my Download folder stack, although not visible in the actual folder view. I cannot drag this file from the stack to the trash.
    The real problem stems from the fact that this seems to create a directory error on my hard drive. Were I to run Disk Utility (which I will have to do... again!), it would return with an error saying something like "incorrect block length", requiring me to boot up from my install disk and repair the drive.
    Is this maybe a bug? Is there something I might be doing wrong? Could an extension like AdBlock be messing up my downloads?

    It seems that FireFox leaves those partial download files if for any reason they get interrupted. It's possible to resume the download through various uninteresting means, but if you're like me, it gets filled up with files that I intentionally did not complete downloading.
    If you're terminal-savvy, you can set up a script that cleans up old .part files. Here's what I've set in my crontab:
    0 * * * * /usr/bin/find ~/Downloads/*.part -atime +1 -exec rm {} \; &> /dev/null
    It will delete any files in my downloads folder that are at least 1 day old.
    To install this in your crontab, launch terminal and type "crontab -e"
    This will bring up a text editor, probably vi. You'll see a bunch of ~'s down the left side. Type "i" to go into "insert" mode. The bottom left will say "-- INSERT --"
    Copy and paste (or type) the line of code I have above.
    Hit enter just to make sure you have a newline at the end.
    Hit "Escape" to exit the insert mode.
    Hit Shift-Z Shift-Z (that's Shift-Z twice) to exit the editor.
    You should see a status message "crontab: installing new crontab"
    If you type "crontab -l" you should see your newly installed crontab.
    At the top of the next hour, any .part files that are more than a day old should be deleted, and this should continue forever.

  • How to delete the Generated files from application server(open hub)?

    hi experts,
    when i try to execute process chain the DTP it is giving below dump. Exception CX_RSBK_REQUEST_LOCKED logged.
    when i execute the DTP manually and trying to delete the previous request, it is giving for dump ITAB_DUPLICATE_KEY.
    so to delete the generated file from application server, how to delete it for specific dates?
    Information on where terminated
    Termination occurred in the ABAP program "GPD6S3OE0BCVGC6L9DBNVYQARZM" - in
    "START_ROUTINE".
    The main program was "RSBATCH_EXECUTE_PROZESS ".
    In the source code you have the termination point in line 2874
    of the (Include) program "GPD6S3OE0BCVGC6L9DBNVYQARZM".
    The program "GPD6S3OE0BCVGC6L9DBNVYQARZM" was started as a background job.
    and when i check the dump it is point out at below code
    " Populate the lookup table for 0STOR_LOC
    SELECT * from /BI0/TSTOR_LOC
    into CORRESPONDING FIELDS OF table L_0STOR_LOC_TEXT
    FOR ALL ENTRIES IN SOURCE_PACKAGE WHERE
    STOR_LOC = SOURCE_PACKAGE-STOR_LOC.
    but the programme is syntactically correct only.
    how to rectify the issue.
    regards
    venuscm
    Edited by: venugopal vadlamudi on Sep 28, 2010 1:59 PM

    hi experts,
    We have written start routine to get the storage location text and sending to File located at Application server through OPEN HUB.
    here is the code written in the Transformations
    In the global section
    Text for 0STOR_LOC
        DATA: l_0stor_loc_text TYPE HASHED TABLE OF /bi0/tstor_loc
              WITH UNIQUE KEY stor_loc.
        DATA: l_0stor_loc_text_wa TYPE /bi0/tstor_loc.
    and in the code to get the text
    " Populate the lookup table for 0STOR_LOC
        *SELECT * from /BI0/TSTOR_LOC*
          into CORRESPONDING FIELDS OF table L_0STOR_LOC_TEXT
          FOR ALL ENTRIES IN SOURCE_PACKAGE WHERE
                  STOR_LOC = SOURCE_PACKAGE-STOR_LOC.
    im sure there is problem with the Routine only. i think i need to change the code if so please provide me the modified one.
    thanks
    venuscm
    Edited by: venugopal vadlamudi on Sep 29, 2010 9:37 AM

  • Deleting the original File of encryted  data

    Hello, i have two question:
    1)i want to know how to delete the original of an PBE encrypted file.
    2)After Decryption how to delete the encrypted file from directory.
    you can send answer to [email protected]
    Thanks

    Hello, i have two question:
    1)i want to know how to delete the original of an PBE
    encrypted file.You mean something like "File.delete()"?
    2)After Decryption how to delete the encrypted file
    from directory.You mean something like "File.delete()"?
    you can send answer to [email protected]
    We could, but we won't. This is a board designed to help everybody get answers - not just you.
    Grant

  • I tried to delete one item from an email folder, and my computer deleted the whole file. I cant fint it anywhere.

    I tried to delete one item from an email folder, my computer deleted the whole file and I cant find it anywhere. Any ideas?

    lindafromgainesville wrote:
    ...is there a seperate trash for email?
    In Mail, yes -

  • Can I configure to always delete the master file?

    Hi!
    If I want to delete a file, I don't just remove it from the cataloge, but to delete the master file, too.
    If I use the remove key, I get the (annoying) pop up, what I want to do: (sorry, I've a german version, so I just try to translate it)
    Delete from hard disk
    Remove (default selected)
    Cancel
    Is there any chance to avoid this dialog? Or at least to chance the preselected button, so I've just to use the enter key?
    Actually I've to
    press delete
    press left arrow key
    press enter
    That is a little bit annoying and error-prone
    Thanks a lot!
    P.S.: I just found out, that ALT+DELETE is a shurtcut to remove the file from the catalog. So it would be greate to have a similar shurtcut to delete the file from the filesystem.

    Thanks!
    But it is almost the same as CTRL+ALT+DELETE, which has a special meaning in Windows :-(
    So there is no way, to get a delete action, that easiliy deletes, without pressing four keys in parallel? :-|
    Perhaps, the developers of Lightroom could provide an option, so you get the pop up, but the default action is different. That would be really great.

Maybe you are looking for

  • What specs needed to edit native 60p AVCHD?

    So I realize the benefits of converting AVCHD footage into ProRES and sometimes I do that. However, my wife is starting to create longer form documentaries and shoot mostly with Sony cameras. Editing natively would save a lot of space and (right now)

  • Function module for attachments

    Is there any function module for attaching excel sheet? Thanks.....

  • Performance management for appraisal document Targets defaulting...

    Hi,    My question is about custom badi implementation in Performance management for appraisal document Targets defaulting... Brief: ==== At the creation of the personal appraisal, the column containing the performance targets of the employee is pre

  • Bad news about Oracle XE 11g

    Everyone's waiting for the XE 11g version. The bad news is that we have to wait " [a year or two|http://www.computerworld.com/s/article/9139290/Oracle_11g_Xpress_Edition_a_year_or_two_away] " before Oracle releases a no-cost Express Edition (XE) of i

  • IPhone screen won't flip horizontally for videos

    After I upgraded my iPhone 5 to iOS 7 my screen won't flip horizontally for video clips. It does flip for YouTube but not for music videos. Please fix!!