Manually delete a database

Hi everybody,
on this forum i cannot find a procedure to manually delete a DB.
I've got 2 database installed on a Linux server and i'd like to get rid of one..
What can I do to completely delete a database?
I haven't got any utilities (like dbca)..
Hope somebody can help me, thanks in advance!

You have not said why you need to manually delete it. Also you did not state your Oracle release.
You can use DROP DATABASE command. This will drop the database, deletes all control files and all datafiles. If you are using spfile, it will delete it. Archivelogs and Backups are not deleted with this command, but you can then use RMAN or your Operating System command to delete all archivelogs and backups where required.
e.g
SQL> SHUTDOWN IMMEDIATE;
SQL> STARTUP MOUNT;
SQL> DROP DATABASE;

Similar Messages

  • How to Delete a Database on ASM

    I am trying to delete a database which seems to be on ASM but I get the errors below. I have limited exposure on ASM so not sure how to proceed. Can someone help?
    $ dbca -silent -deleteDatabase -responseFile dbca_response.rsp
    ORA-01078: failure in processing system parameters
    ORA-01565: error in identifying file '+DATA/orcl/spfileorcl.ora'
    ORA-17503: ksfdopn:2 Failed to open file +DATA/orcl/spfileorcl.ora
    ORA-15077: could not locate ASM instance serving a required diskgroup

    hi,
    this may be reason..
    ORA-01565: error in identifying file 'string'
    Cause: An error occurred while trying to identify a file.
    Action: Check the error stack for detailed information.
    issue (Metalink Note 390591.1). We encountered similar issue in Linux RAC cluster and has been resoled by following this note.
    Cause
    =====
    Installing the 10.2.0.2 patchset in a RAC installation on any Unix platform does not correctly update the libknlopt.a file on all nodes. The local node where the installer is run does update libknlopt.a but remote nodes do not get the updated file. This can lead to dumps or internal errors on the remote nodes if Oracle is subsequently relinked.
    Solution
    ========
    There are two solutions for this problem:
    1) Manual copy of the "libknlopt.a" library to the offending nodes :
    - ensure all instances are shut down
    - manually copy $ORACLE_HOME/rdbms/lib/libknlopt.a from the local node to all remote nodes
    - relink Oracle on all nodes :
    make -f ins_rdbms.mk ioracle
    2) Install the patchset on every node using the "-local" option:
    On Unix:
    runInstaller -updateNodeList -local ORACLE_HOME=$ORACLE_HOME CLUSTER_NODES=node1,node2,...
    On Windows:
    setup.exe -updateNodeList -local ORACLE_HOME=%ORACLE_HOME% CLUSTER_NODES=node1,node2,...
    ORA-10577: Can not invoke test recovery for managed standby database recovery
    Cause: Test recovery option is used for managed standby database recovery.
    Action: Either remove the test recovery option or invoke manual test standby database recovery
    regards,
    Deepak
    Edited by: Deepak_DBA on Oct 13, 2009 12:51 PM
    Edited by: Deepak_DBA on Oct 13, 2009 12:54 PM

  • Delete Inventory Database

    This probably sounds stupid, but I'm looking for a way to just dump the
    current ZEN7 Inventory Database and start it from scratch.
    There's so much garbage workstation information in there, and I'm not at
    all interested in querying the results, then filtering, purging, etc.
    I want to blow it away, then start it from scratch. Is there a quick TID
    on how to do this? Or am I manually deleting objects and then reinstalling
    the Inventory portion of ZENworks?
    Thanks for any help,
    Brian

    Just to follow-up, I had to install the ZEN 7.0 SP1 R2 anyway so I renamed
    the old ZENworks folder that held all the ZEN database files. It let me
    rename with no issues.
    I kept the same settings and told it to install to the same volume as it
    did before, so it simply created a new "Zenworks" folder and added all the
    database files in there.
    I went to run a report and it only contained like 4 workstations and all
    the other ones were gone so that seemed to do the trick just fine. It's
    been building perfectly and everything is looking great. Thanks again for
    your help.
    Marcus Breiden <[email protected]> wrote in
    news:11b9cxqg8vxf3$.[email protected]:
    > On Mon, 10 Mar 2008 15:38:37 GMT, Brian Binder wrote:
    >
    >> Thanks Marcus, I'm going to look into it a bit further but it sounds
    >> like it's the way to go for my scenario ;)
    >
    > You are welcome

  • Solman 7.1; delete old database from SMSY

    We have done upgrade to solman 7.1 . So we use SMSY with datasource LMDB now.
    In former times the database host of some SAP-systems  were changed.
    So we have some old obsolete entries like database <SID>_0001 in SMSY (sent by SLD BEFORE the solman upgrade.
    If we try to delete old entry in SMSY-> databases by right mouse click , system opens the LMDB maintenance, because maintenance should normally done in LMDB.  There is no database <SID>_0001 in LMDB and the SLDs  - only the correct  System <SID> with database <SID> with correct server data.
    How can we properly delete the obsolete entries in SMSY ?
    In the LM Db Setup Guide I only found some troubleshooting for sync problems between LMDB and SLD, but not how to delete manually in SMSY in SM 7.1. Any ideas ?

    I have solved the problem.
    The obsolete database was only in SMSY and NOT in SLD + LMDB - so no deletion possible in SMSY and LMDB (as suggested by community)
    The obsolete database <SID>_0001 was not used by any SAP system in SMSY.
    I used the workaround of creating a dummy database system with the obsolete name in LMDB for later deletion  and sync to SMSY.
    steps:
    I create a new technical system  in LMDB: select type " Database system" instead of default "ABAP ....."
    Identification of technical system:
    databasename: <SID>_0001
    databasehost:  you can use the correct server if you like
    databasetype: DB2, oracle, etc...
    Next screen (identification technical system):
    extended systemname: SID>_0001 (change it to the value you want to delete in SMSY.  My solman suggested <SID>00001)
    Save
    Optional: In next screen you can adapt the description of the system, which will be displayed in SMSY very quickly!
    Then delete system from LMDB => deletion of database will be synchonized into SMSY.
    Work done.

  • Manual delete archived log files

    Because we don't have RMAN in our development server, I need to use manual operation to delete all archived logs. Is my procedure correct and safe?
    SHUTDOWN IMMEDIATE
    STARTUP MOUNT
    ALTER DATABASE NOARCHIVELOG;
    EXITRun OS command to manually delete archived log files:
    rm /oradata/arch/*
    Login to sqlplus
    SHUTDOWN IMMEDIATE
    STARTUP MOUNT
    ALTER DATABASE ARCHIVELOG;
    STARTUP OPENThanks!

    linuxos wrote:
    Oh I suppose RMAN need to be configured somthing before use. I tried it, and find no pre-requisite is required. Thanks!
    If the archives are deleted manually in open mode, how can Oracle match the archived logs' retention policy? Does Oracle store the archived logs in data dictionary?While you can delete archivelogs manually any time you want, you should let rman manage them with appropriate rman commands, preferably in a script that you schedule for regular execution.
    Some of your questions lead me to question if you understand that archivelogs are not actively open by the database, and they technically are not part of the database. They are simply a series of "offline" copies of the online redo logs. They are written to once, when an online redo is being archived, then they just sit there until needed for a recovery.

  • Delete oracle database

    how to delete oracle database from OEM?
    regards
    wire

    You can't delete the database from OEM.
    You can do it either manually or using DBCA (database configuration assistant) utility supplied by oracle.
    I believe 10g has drop database command.
    Jaffar

  • Delete entire database i m using oracle 11g enterprise version

    Hi,
    I want to delete entire database from my laptop, actually I have installed 3 databases Oracle11g, I want to delete all of them . I have deleted it from registry but also its not totally deleted from my system.

    Hello,
    I want to delete entire database from my laptop, actually I have installed 3 databases Oracle11g, I want to delete all of themIn fact there are 2 things, the Databases and the Software.
    If you intend to DROP the Databases, and if these Databases were created by DBCA, you may use DBCA to DROP them. If the Databases were created manually you have the DROP DATABASE statement as follow:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_8009.htm
    About the Software, the answer depends on the Oracle Release.
    In Oracle *11.1*, OUI let you deinstall the Oracle installation.
    In Oracle *11.2*, you need to use the Oracle De-install Utility (11.2.0.1.0) for Microsoft Windows.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Manually deleted some of the data files.

    there was some issue in the AIX server regarding space, resolving it i manually deleted some of the datafiles from the server.now i can neither shutdown nor restart the database.
    ORA-01116: error in opening database file 41
    ORA-01110: data file 41: '/data2/oradata/PULSEU02/pulse_st_idx_hgh_002.dbf'
    ORA-27041: unable to open file
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    How can i solve this problem. Since this is a dev performance server so there is no backup.

    sunnymoon wrote:
    there was some issue in the AIX server regarding space, resolving it i manually deleted some of the datafiles from the server.now i can neither shutdown nor restart the database.
    ORA-01116: error in opening database file 41
    ORA-01110: data file 41: '/data2/oradata/PULSEU02/pulse_st_idx_hgh_002.dbf'
    ORA-27041: unable to open file
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    How can i solve this problem. Since this is a dev performance server so there is no backup.Hmm so you thought that to reclaim space, the best way would be to manually delete database files? Tell me that I am right in guessing that you don't have a backup of those files and your db is in no-archivelog mode, right!
    Aman....

  • Deleting Vlan database

    Hi, I tried deleting the vlan database on a 2950 switch. delete flash:/vlan.dat
    however, after i reload the switch, the vlans are still there. Any ideas?
    Also, is there any other way of deleting the vlan database w/o reloading? apart from manually deleting each vlan one-by-one

    Hello,
    I have done the same operation (delete vlan.dat + reload) on a WS-C2950-24 with c2950-i6q4l2-mz.121-22.EA6.bin.
    Switch#conf t
    Enter configuration commands, one per line. End with CNTL/Z.
    Switch(config)#vlan 2
    Switch(config-vlan)#name toto
    Switch#
    00:08:06: %SYS-5-RELOAD: Reload requested
    witch>sh vlan
    VLAN Name Status Ports
    1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
    Fa0/5, Fa0/6, Fa0/7, Fa0/8
    Fa0/9, Fa0/10, Fa0/11, Fa0/12
    Fa0/13, Fa0/14, Fa0/15, Fa0/16
    Fa0/17, Fa0/18, Fa0/19, Fa0/20
    Fa0/21, Fa0/22, Fa0/23, Fa0/24
    2 toto active
    1002 fddi-default act/unsup
    1003 token-ring-default act/unsup
    1004 fddinet-default act/unsup
    1005 trnet-default act/unsup
    Switch#delete vlan.dat
    Delete filename [vlan.dat]?
    Delete flash:vlan.dat? [confirm]
    Switch#reload
    Proceed with reload? [confirm]
    00:00:50: %SYS-5-RELOAD: Reload requested
    Switch>sh vlan
    VLAN Name Status Ports
    1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
    Fa0/5, Fa0/6, Fa0/7, Fa0/8
    Fa0/9, Fa0/10, Fa0/11, Fa0/12
    Fa0/13, Fa0/14, Fa0/15, Fa0/16
    Fa0/17, Fa0/18, Fa0/19, Fa0/20
    Fa0/21, Fa0/22, Fa0/23, Fa0/24
    1002 fddi-default act/unsup
    1003 token-ring-default act/unsup
    1004 fddinet-default act/unsup
    1005 trnet-default act/unsup
    Switch#dir
    Directory of flash:/
    2 -rwx 109 Mar 01 1993 00:04:47 +00:00 info
    3 -rwx 3110758 Mar 01 1993 00:06:29 +00:00 c2950-i6q4l2-mz.121-22.EA6.bin
    4 drwx 4160 Mar 01 1993 00:07:04 +00:00 html
    373 -rwx 109 Mar 01 1993 00:07:40 +00:00 info.ver
    375 -rwx 5 Mar 01 1993 00:08:05 +00:00 private-config.text
    377 -rwx 1098 Mar 01 1993 00:08:05 +00:00 config.text
    7741440 bytes total (2992128 bytes free)
    Switch#
    So I don't understand why on your case, it doens't work. :/
    I am interesting what is the behaviour.
    Regards.

  • Hi, I have the iphone 4 and I manually deleted all the voice memos on my iphone but they are still on my iphone when I open Itunes

    Hi, I have the iphone 4 and I manually deleted all the voice memos on my iphone but they still appear on my iphone when I open Itunes on my computer and they still take up space. I am soon running out of space. Any ideas to permanantly get rid of some of the voice memos?
    Am I the only one that really dislike the fact I cannot customize my iphone and cannot delete whatever files I want?
    The only options i seem to have is to delete all my files WITHOUT a system restor because I tried doing a system restore  and it puts back all my old files on my iphones.
    I'm pretty desperate and any tips would help me a lot

    If I understand you correctly, you purchased two albums directly from your iPhone and have successfully transferred the purchases to your iTunes library, but now you want to remove these two albums from your iPhone but having trouble, correct?
    If so, you can manually delete the albums (song-by-song) by sliding your finger across each song's name, from left to right, then select the Delete button.
    Or, while your iPhone is connected to iTunes click on the Music tab that you see in iTunes (where you specify what items to sync to your iPhone). At the bottom of that window (below Playlists, Genre, etc.) you'll see songs that are "manually" added to your iPhone, just un-check those and re-sync.

  • How do I manually delete iTunes when I want to re-install the latest program? Error says I have no permission so how can I get permission?

    How do I manually delete iTunes and all its bits prior to re-installing the version 11 when I get a message saying I don't have permission.
    I am the sole owner of my p.c. and nobody else uses it. How do I "get permission" from my own p.c.?
    The p.c. is a Dell Vostro running windows 7 (64 bit) After giving up and exiting iTunes there was an error notification saying msvcr 80 is missing from your computer...Also, when I went (blindly) to administrators etc there was a red question mark against a gobbledegook long line apart from David pc which is me. Would this be some malevelant thing? Help!

    Hi David,
    Open the start menu, then select Control Panel in the right hand column. Open the Programs and Features section, type Apple in the search box at top right. You need to uninstall the components in the order suggested in the user tip.
    Once all have been uninstalled reboot and use Windows Explorer to locate the named folders and delete them. Then reinstall.
    tt2

  • When I logged on to itunes my daughters contacts uploaded to my iphone. We do not share the same itunes account. Does anyone know how to get rid of her contacts other then manually deleting them one by one?

    When i logged onto my itunes account, my daughters contacts uploaded to my iphone.  We do not share the same itunes account so i don't know how this happened. Does anyone know how to remove her contacts from my phone with out having to manually delete them one by one?

    Apparently, you have set up the same iCloud account on both devices or you are syncing both devices under the same user ID on the same computer and have ended up syncing both of them with the same address book on the computer.

  • How do I get the music back on my iPhone after manually deleting it from the device (to get space for photos/videos)?

    How do I get the music back on my iPhone after manually deleting it from the device (to get space for photos/videos)?  I can sync with iTunes but it doesn't copy these songs back, even though they still appear in my iTunes library.  I can click on the Music link  under 'On My Device' in iTunes and the missing songs all appear to still be on the device, but they are not.  I normally delete using iTunes and do not have this issue.  This time I was out and needed more space to shoot photos and videos so I removed a lot of music from my phone through the Music App.

    The songs I'm trying to reload on my phone are on my PC.  These we had loaded into iTunes.  I can remove them all from the library and then add them all back one by one I imagine.  The problem I'm having is that I removed them manually from the phone, they still appear in iTunes music library yet they won't sync.  I don't want to take the time to compare the phone to my library, remove from the library what's missing on the phone and then add them all back again.  64GB (mostly music) will take a while.

  • How to manually delete and album from iPod Nano v 1.1.3

    Dear Forum Members:
    I want to manually delete an album or two from my iPod Nano. I am have trouble getting iTunes to sync as the sync button is grey in iTunes 11.3 (on XP OS / Desktop). I don't know how to delete an Album to free up space on iPod Nano either. I just want to occasionally swap out a CD from my iPod Nano (i.e., delete one Album, add one, and so on).
    My iPod Nano is completely full and has no capacity to add new Albums, yet the iPod still works and I don't want to throw it away.
    Please help!
    Thanks,
    CB   

    Hi cbbond,
    It sounds like you want to remove some but not all of the music from your iPod nano. If you choose to Manually manage music and videos in iTunes, as shown in the article below, you can choose to delete specific albums and tracks from the device.
    Managing content manually on iPhone, iPad, and iPod
    http://support.apple.com/kb/HT1535
    If you're still unable to delete the specific album after setting up manual management, try restoring the iPod and syncing music to it again.
    Restoring iPod to factory settings
    http://support.apple.com/kb/HT1339
    I hope this helps.
    -Jason

  • Delete a database in Essbase application

    I am getting the error as" Object locked by a user' when I try to delete a database in essbase application. Please advice how to delete it.

    Hello,
    You're in the wrong forum. This is the BDB JE forum. The Essbase forum is here:
    Essbase
    Please post your question there.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Error in invoking target ntcontab.o of make file ¤ORACLE_HOME/network...

    Hello, Doing an install of an Oracle 8.1.7 database on a Linux SLES8 SP2a After I run the runinstaller, I've a problem ! The message: Error in invoking target ntcontab.o of make file ¤ORACLE_HOME/network/lib/ins_net_client.mk I install the glibc-2.1.

  • How do I link all site pages to a new site page?

    Hello,       I'm using Dreamweaver cs4 on a windows pc. I have 12 pages in my site with a vertical spry navigation bar. Each time I create a new page I then add that to the spry navigation bar. All the other pages don't show that new page in the nav

  • G/L account not assigned to RG23AECS In customizing

    Dear all, while capturing excise invoice in J1IS trx, the system is showing the error message that g/l account not assigned to RG23AECS in customizing. Our Fi consultant has maintained the G/L account in customizing in Specify G/L account per excise

  • Library management software for Mac and iPhone

    Hi all, This is not a support question, but I thought someone here might have an idea for me. Googling around hasn't helped much with a question I have. I have a lot of books, and would like to have software to manage them that runs on both my Mac an

  • Punchout Catalog through ECC

    Hi, We are using Punchout catalogs through ECC sytem, how do i monitor incoming log foe Punchout in ECC 6.0? Normally in SRM if i go to SLG1 i should be able to see all the parameters which are passed from Catalog to SRM system, i cant do the same in