Removing completely datafile.....

I've added to tablespace another datafile, but it was mistake and i wanted to remove.
So i run the syntax ALTER TABLESPACE <tablespace> DROP DATAFILE 'datafile'
When i finished i noticed that datafile is located in folder "oradata" but in dba_data_files i don't see this datafile is belonged to tablespace.(there is no more this datafile)
I tried to delete manually from the folder, but (of course) it would not delete. It shows me that file is busy.
I know that if alter my database to mount state i can delete this file,but if there is another way to delete this file from folder without stopping database.......

There is not other clause for DROP DATAFILE because it should already be removed according to ALTER TABLESPACE documentation:
>
Specify DROP to drop from the tablespace an empty datafile or tempfile specified by filename or file_number. This clause causes the datafile or tempfile to be removed from the data dictionary and deleted from the operating system. The database must be open at the time this clause is specified.
>
The only other possibility would be to use DROP TABLESPACE ... INCLUDING CONTENTS AND DATAFILES but that's different.

Similar Messages

  • Remove completed items in notes

    There seems to be a way to remove completed items in the To Do view through mail, but not in the Notes view under the reminders folder. Any idea how to make that happen?
    If you don't use the Notes feature to create events, then you are very limited in terms of adding detail (bullet lists, etc.), so I am creating all To Do items as notes.
    If anyone knows of good apps that will add functionality into Mail/Notes/To Do (not stand alone apps) that allow more complexity (such as sub-items) and flexibility, I would love to know about it.

    Use notes in vertical position (portrait)

  • How to remove completly a class?.

    I need to remove completly a class.Say LoginScreen for example is common for all application.After the user complete's the login part.the Login Screen is not required.so we can dispose the class. If tried to dipose that class which extends JWindow .Still it is not getting diposed.i tryed with the following.
    Say the panelclass as Loginpanel:
    loginpanel.dispose();
    loginpanel.removeALL();
    loginPanel=null;
    loginPanel.removeActionListener...... i tryed to remove all listeners. but no use it is still remaining.what to do?.
    Removing is not simply removing what i mean is that the reference is still exist.the garbage Collector is not collecting the unused class.even if i tryed to remove all the reference to the class (making the components used as null).it is not still working out.The LoginScreen as i mentioned still not collected by the garbage collector.this gives me a big Problem.
    Is there any way to remove the reference instead of making all the components in the class to null.
    Someone pls try to give me Suggestion regarding this problem.

    Hi Geetha,
    loginPanel.dispose() shd definitely work. I've used it in many applications. Better u give the part of ur code which is not working.
    Thanks,
    Naval

  • How to remove completely facetime from Iphone5?

    Hi,
    I have an iphone 5 and I'd like to remove completely facetime.
    Is it possible? If so, how ca I do it?
    Can someone help?
    Thanks

    You can turn the service off with iOS7 and any iOS please believe.
    easy answer to this question is you can sign out of the facetime service
    also try to go to Settings>Facetime and simply slide the first ticker off if you are using iOS7.

  • How can i remove completer.app

    how can i remove completer.app

    Click here and follow the instructions, or if there’s a type of adware not covered by them on the computer, these ones.
    (120455)

  • Clean way to remove a datafile

    Version : 11.2.0.2
    Platform: AIX 6.1
    My first post on this was moved by someone to ASM community . I removed that post and I am posting it here.
    Our application tablespace ran out of space and we didn't have any free space left in our Data Filesystem. We had some space left in the Filesystem meant for Archive Logs. Since it was urgent , I added a 10gb datafile to this tablespace BUT in the file system meant for Archive logs. Next day, the sysadmins added space to our data filesystem. Now , we have enough space in data filesystem and we want move the above mentioned datafile to the filesystem meant for storing datafiles .
    Currently the data file resides in Archive disk group
    /ltmprod_arch/LTMPROD/cmdata07.dbfI want to drop the above datafile and add it to the Filesystem meant for data : /ltmprod_data
    /ltmprod_data/LTMPROD/cmdata07.dbfWhat is the cleanest way to do this?
    Edited by: Kavanagh on Mar 27, 2012 8:08 AM
    Removed the word Disk Group

    There is no need to take the entire tablespace offline. You can take only the datafile offline, move it to the desired location, rename it through database level, recover and online the datafile.
    Example:
    SQL> alter database datafile 'C:\APP\SHIVANANDA.RAO\ORADATA\ORCLPM\DATAFILE\O1_MF_DUMMY_7Q3V2ZWC_.DBF' offline;
    Database altered.
    SQL> alter database rename file 'C:\APP\SHIVANANDA.RAO\ORADATA\ORCLPM\DATAFILE\O1_MF_DUMMY_7Q3V2ZWC_.DBF' to 'C:\app\shivananda.rao\oradata\ORCLPM\O1_MF_DUMMY_7Q3V2ZWC_.DBF';
    Database altered.
    SQL>
    SQL> recover datafile 'C:\app\shivananda.rao\oradata\ORCLPM\O1_MF_DUMMY_7Q3V2ZWC_.DBF';
    Media recovery complete.
    SQL> alter database datafile 'C:\app\shivananda.rao\oradata\ORCLPM\O1_MF_DUMMY_7Q3V2ZWC_.DBF' online;
    Database altered.1. Offline the datafile in old location.
    2. Move it using OS command to the desired location.
    3. Rename the datafile at the database level so that controlfile knows about the new file.
    4. Recover the datafile at new location.
    5. Online the new datafile.
    Please consider closing your threads and keeping the forum clean.

  • Remove the datafile not belong to database

    ASM disk +data filled with datafile and onlinelogs not belong to the database.
    I have created the standby datbase from primary using copy datafiles . first time it failed.
    but files were copied into disk. without removeing the old datafile gain created the standby database
    standby datbase working fine. no problem
    but disk with filled with old file and online logs
    I would like to know how to remove the files from ASM (+data)
    how to identify the files not belong to the database.

    export ORACLE_SID=+ASM
    asmcmd
    you will see disckgroups name on the top level. Run help command
    oracle@dw5: ~$ asmcmd
    ASMCMD> ls
    DAG_01/
    IXG_01/
    ASMCMD> help
    asmcmd [-v] [-a <sysasm|sysdba>] [-p] [command]
    The environment variables ORACLE_HOME and ORACLE_SID determine the
    instance to which the program connects, and ASMCMD establishes a
    bequeath connection to it, in the same manner as a SQLPLUS / AS
    SYSDBA. The user must be a member of the SYSDBA group.
    Specifying the -v option prints the asmcmd version number and
    exits immediately.
    Specify the -a option to choose the type of connection. There are
    only two possibilities: connecting as "sysasm" or as "sysdba".
    The default value if this option is unspecified is "sysasm".
    Specifying the -p option allows the current directory to be displayed
    in the command prompt, like so:
    ASMCMD [+DATAFILE/ORCL/CONTROLFILE] >
    [command] specifies one of the following commands, along with its
    parameters.
    Type "help [command]" to get help on a specific ASMCMD command.
    commands:
    help
    cd
    cp
    du
    find
    ls
    lsct
    lsdg
    mkalias
    mkdir
    pwd
    rm
    rmalias
    md_backup
    md_restore
    lsdsk
    remap
    ASMCMD> cd DAG_01/
    ASMCMD> ls
    DB_UNKNOWN/
    IDTDW/
    ASMCMD>
    ....

  • Detailed navigation wont remove completely

    Hi,
    I've been through all the threads  on SDN and as a result have removed all but the content area from my default framework page and set the 'set to invisible in navigation parameters' to yes for all the iviews in the role.
    However I'm facing two issues.
    Firstly, for all ESS screens the small right arrow 'expand' icon remains present for the detailed navigation window. Clicking on it will open a blank window which is not ideal. Can anyone advise how to remove the navigation window completely so that the expand arrow does not appear?
    Secondly, rather randomly, for the family member depenendents page the detailed navigation appears as expanded despite being set to 'always close' in the view properties within the role (all other pages are fine). Can anyone advise how to overcome this?
    Thanks
    Phil

    Kirstoffer,
    I would check the registry under Microsoft Software registry entries. There is a diagnotic tool or you could check the following manually.
    HKCR = HKEY_CLASSES_ROOT
    HKLM = HKEY_LOCAL_MACHINE
    HKCU = HKEY_CURRENT_USER
    http://support.microsoft.com/?kbid=917925
    James

  • How to remove completely Safely remove hardware and eject media" icon

    firstly i can remove that icon, as long as i left/right click it then i click Eject-HL-DT ST DVDRAM GT50N, but after the laptop restarting, it will show up again, I want to make is diasppear completely. How can help me ?

    This is a hardware thread anyway and it sound like a software issue. You might want to see if there is a software thread in the community on this.
    I have re read the post and don't understand what you're typing anyway.
    T520 Model 4239 Intel(R) Core(TM) i7-2860QM CPU @ 2.50GHz
    Intel Sandy Bridge & Nvidia NVS 4200M graphics Intel N 6300 Wi-Fi adapter
    Windows 7 Home Prem - 64bit w/8GB DDR3

  • How do I remove completely CaptainFTP Widget?

    I have install CaptainFTP widget few days ago and I find it not that useful. Now I want to remove it completely but I can't find the program inside Library\Widget or any where in my MAC...
    The widget is still there and accessible, I just want to get rid of it..
    Please help.

    Hello Simon-KL,
    It sounds like you have a widget that you want to get rid of in the Dashboard. First open your dashboard like you normally would, then follow these instructions:
    Remove a widget from your Mac
    Open Dashboard, then click the Open button at the lower-left corner of the screen. Click the minus button to make the widgets jiggle. Click the Remove (x) button of the widget you want to get rid of, then click Delete.
    Only widgets you installed yourself can be removed.
    From: OS X Mavericks: Get quick info with Dashboard         
              http://support.apple.com/kb/PH14052
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • Removing complete Challan Mapping data from system

    Dear Consultants,
    My client has entered erroneous data for challan mapping. When I checked the data, I found that there is some difference in the Challan amount & available amount. It means there are some employees mapped for these challans. but the main page of CMAP shows employees mapped = 0. When I tried to delete the challan data, system says, there are some employees mapped to these challans.
    When on the last node of CMAP, I tried to select all employees on the right hand & click on the arrow from right to left, no amount of challans was changed.
    May I know how to delete the entire mapping data from the system?
    regards,
    Bindumadhav

    Dear MVR,
    The reply by Mr.Deepak is as follows. :
    Dear,
    Regarding your query, the issue reported by you basically happens due to inconsistent mapping or unmapping of the employees to the Challan.
    We would suggest you to kindly delete of the negative entry from the table 'T7INTE'. You also need to delete the entries from the table PCL4 as well for the corresponding challan for which the negative entry has been created. Performing the above suggested steps will remove the reported inconsistencies. After deleting the entries completely, kindly perform the Challan mapping for the employees again. Please make sure that you are not deleting the entry from the table for which Form24Q
    has already been generated. The deletion process can be explained as such:
    1. Execute the transaction 'se16'. Go to the tables mentioned above. You can execute the table 'T7INTE' with the TAN number. On execution, a negative entry will be displayed for a particular challan. Select that entry and delete of the entry from the table.
    2. Go to table PCL4. Execute the table with relid as 'I1' to 'I2' and the TAN number in the field 'SRTFskindly performing the mapping action again. Hopefully, following the above mentioned steps will resolve the reported inconsistency and you will be able to perform the mapping successfully.
    Best Regards,
    Deepak..
    I can see some entries. But the system does not allow me to delete the table entry from T7INTE & PCL4.
    Regards,
    Bindumadhav

  • [SOLVED] Remove completely Gnome and GDM (without messing MATE)

    Hi everybody,
    I wanted to try the new Gnome on my laptop and I installed it following the wiki with the command:
    sudo pacman -S gnome gnome-shell gnome-extra gdm
    I really like it (both the "standard" and the classic interfaces), but unfortunately it makes my laptop quite slow,
    therefore I would like to remove it leaving only MATE on my desktop.
    I noticed that Gnome partially conflicts with my MATE desktop (for example in a Gnome Classic session I would expect Nautilus
    to be the default file browser, instead caja is opened), therefore I would like to know if there is some safe way to remove
    all the installed packages without messing out with MATE.
    Thanks in advance!
    Solution here: https://bbs.archlinux.org/viewtopic.php?id=117144
    Last edited by lucacerone (2014-04-02 00:16:29)

    Ok I think I found out on my own (searching on google send me to an Arch forum thread https://bbs.archlinux.org/viewtopic.php?id=117144, but I was looking for it in the wrong section).
    Sorry for the pointless post.

  • Use expdp/impdp to reorganize a tablespace to remove additional datafile ?

    Oracle 10g (10.2.0.1)
    We had a tablespace with a single datafile WORK1, WORK1 filled up, colleague added two datafiles WORK2 and WORK3 (instead of resizing original larger).
    I resized WORK1, increasing by 500Mb.
    I was able to drop WORK3, but not WORK2 (ORA-03262: the file is non-empty)
    My proposed solution is to expdp the tablespace, drop the tablespace and datafiles, recreate the tablespace with a correctly sized datafile and finally impdp the tablespace.
    Is this solution valid ?
    Any hints at syntax would be useful

    1. Map your datafile.
    2. If no segments in datafile, drop it and go to 5.
    2. Shrink the datafile up to where the data ends.
    3. Rebuild/move the last object in the data file,
    4. Go to 1
    5. Fin
    To map data file...
    accept file_num char prompt 'File ID: ';
    SET PAGESIZE   70
    SET LINESIZE   132
    SET NEWPAGE    0
    SET VERIFY     OFF
    SET ECHO       OFF
    SET HEADING    ON
    SET FEEDBACK   OFF
    SET TERMOUT    ON
    COLUMN file_name   FORMAT a50          HEADING 'File Name'
    COLUMN owner       FORMAT a10   TRUNC  HEADING 'Owner'
    COLUMN object      FORMAT a30   TRUNC  HEADING 'Object'
    COLUMN obj_type    FORMAT a2           HEADING ' '
    COLUMN block_id    FORMAT 9999999      HEADING 'Block|ID'
    COLUMN blocks      FORMAT 999,999      HEADING 'Blocks'
    COLUMN mbytes      FORMAT 9,999.99     HEADING 'M-Bytes'
    SELECT  'free space'      owner,
            ' '               object,
            ' '               obj_type,
            f.file_name,
            s.block_id,
            s.blocks,
            s.bytes/1048576   mbytes
      FROM  dba_free_space s,
            dba_data_files f
    WHERE  s.file_id = TO_NUMBER(&file_num)
       AND  s.file_id = f.file_id
    UNION
    SELECT  owner,
            segment_name,
            DECODE(segment_type, 'TABLE',          'T',
                                 'INDEX',          'I',
                                 'ROLLBACK',       'RB',
                                 'CACHE',          'CH',
                                 'CLUSTER',        'CL',
                                 'LOBINDEX',       'LI',
                                 'LOBSEGMENT',     'LS',
                                 'TEMPORARY',      'TY',
                                 'NESTED TABLE',   'NT',
                                 'TYPE2 UNDO',     'U2',
                                 'TABLE PARTITION','TP',
                                 'INDEX PARTITION','IP', '?'),
            f.file_name,
            s.file_id,
            s.block_id,
            s.blocks,
            s.bytes/1048576
      FROM  dba_extents s,
            dba_data_files f
    WHERE  s.file_id = TO_NUMBER(&file_num)
       AND  s.file_id = f.file_id
    ORDER
        BY  file_id,
            block_id

  • How do I remove Completed items from the Completed Reminders List? The list is growing too long.

    How do I delete Completed items from the Completed Reminders List? The list is growing too long.

    The little box, next to the reminder on the reminder page.  Touch it, and it puts a check mark there, i suppose to mean completed.  Leave the app.  When you go back, the items are gone.  ( at least on mine...)

  • Has the "Bridge" button been removed completely from Photoshop CS6?

    I made regular use of the bridge shortcut button, much preferring the full application to the "mini-bridge" in CS5.  I realise that this has been updated in CS6, but this is just not up to my normal workflow use of bridge.

    Yes. The Application Bar, which the Bridge icon sat on, has been removed to free up real estate. Bridge can now be launched from the File menu (which has a corresponding shortcut), or through Mini Bridge itself. There's a Bridge icon on the right side.

Maybe you are looking for

  • Can't get Bluetooth to work

    I can't seem to get bluetooth to work from the Desktop software. I can pair my laptop and my Storm and transfer my contact to the PC outside of the desktop software but when I go into the desktop software and select configure bluetooth it doesn't see

  • When I excute rsplan ,but the application is not displayed correctly  why?

    when I excute rsplan ,but the application is not displayed correctly  in our explore ,who can tell me what reason? 3ks very much

  • I accidentally clicked play sound while using find my iphone, how do i cancel that action?

    I really need help because i accidentally pushed play sounds on Find my iPhone and i have lost it, but i really dont need it to do that. so is there any way for me to cancel that action?

  • How to create this? A Flash Plugin?

    I'm in CS3 / OS X I need to create the spinning effect that is in this link, I looked around and can't seem to find a way to do this. http://www.jasonhildredesign.com/portfolio_flash/web_intro.html any help?

  • Active Content Fix Firefox

    I have seen this asked here before but I have not seen an answer. I have embedded a Windows Media file into a page, run the Dreamweaver AC fix, uploaded the Scripts to the server, and here is the result: http://www.fallettacompetition.org/test.html.