Database removal steps

All,
I need to remove one of the database from server, currently there are 3 databases running on the server and i'm going to remove one of them which is no longer in use.
Can any tell me steps to proceed.
Below are some details about my environment:
OS - Solaris
Oracle Version : - 10.2.0.4
Backup Strategy :- Hotbackup which runs every day @ 12:00AM
Backup will be moved to TSM.
I request some one to guide me to remove the databse and i would like to know before removing the database fro mserver i need to take fresh backup and i need archive the database with certain retention period.
Please suggest

MOS Doc 69018.1 (UNIX: Deleting an Oracle Database in a Unix Environment)
HTH
Srini

Similar Messages

  • Alter Database Remove File : Partition Files on different folders

    I need to remove partition files, once I switch the partition with staging table and empty/truncate the partition. 
    When I was running the code on my local machine I was passing variable @partition_file_name to following statement:
    Declare @partition_file_name varchar(128)='table_abc_201202',
    @database_name varchar(128)='test'
    Alter Database @database_name Remove File  @partition_file_name
    Note @partition_file_name is the logical name of the partition file.
    I found out partitions are saved in different folders in my Dev env...They are stored in 12 different folders which are named like 1-12.
    E.g:
    C:\DATA\2\table_abc_201202.ndf
    C:\DATA\3\table_abc_201203.ndf
    C:\DATA\4\table_abc_201204.ndf
    C:\DATA\5\table_abc_201205.ndf
    C:\DATA\2\table_abc_201302.ndf
    C:\DATA\3\table_abc_201303.ndf
    C:\DATA\4\table_abc_201304.ndf
    C:\DATA\5\table_abc_201305.ndf
    I am wondering , is SQL server with Alter statement is capable of getting the right path for each partition files and remove them accordingly? Or do I need to pass the physical path to the alter statement to get it removed. Though I tried doing that and
    got the error.
    ZK

    I am wondering , is SQL server with Alter statement is capable of getting the right path for each partition files and remove them accordingly? Or do I need to pass the physical path to the alter statement to get it removed. Though I tried doing that and
    got the error.
    Yes, SQL Server knows which physical file goes with which logical filename.  (To see that SQL does know this, do a SELECT * FROM sys.sysfiles - you'll see SQL has a row for every logical filename and that row has the corresponding physical file name.)
    And when you do the ALTER DATABASE REMOVE FILE, you must specify the logical filename.  You will get an error if you give the physical path.
    Tom

  • Error in load database content step

    Hi All,
    I am having a problem in step 22, the "Load Java database content" step, in the Netweaver Sneak Preview SP15 installation procedure.
    It seems that the program that is wanting to connect to the J2E database is failing. The details of the log browser are below.
    ERROR 2006-01-16 18:13:04
    CJS-20065  Execution of JLoad tool 'C:\Java\j2sdk1.4.2_08/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;d:\sapdb\programs\runtime\jar\sapdbc.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jce.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jsse.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_smime.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_ssl.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/w3c_http.jar' '-Duser.timezone=Europe/Berlin' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'J2E,jdbc/pool/J2E,C:\usr\sap\J2E\SYS\global/security/data/SecStore.properties,C:\usr\sap\J2E\SYS\global/security/data/SecStore.key' '-dataDir' 'D:/nwunrar/NWSneakPreviewSP15/SAP_NetWeaver_04_SR_1_Installation_Master\IM01_NT_I386\..\..\SneakPreviewContent\JDMP' '-job' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/IMPORT.XML' '-log' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log'' aborts with returncode 1. Check 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log' and 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.java.log' for more information.
    The contents of the file jload.log/jload.java.log are almost the same. Listed below is the error mentioned there.
    17.01.06 00:13:04 com.sap.inst.jload.Jload logStackTrace
    SEVERE: com.sap.dbtech.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Cannot connect to jdbc:sapdb://labnw/J2E [Restart required].
         at com.sap.dbtech.jdbc.DriverSapDB.connect(DriverSapDB.java:183)
         at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:219)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.createConnection(OpenSQLDataSourceImpl.java:500)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection(OpenSQLDataSourceImpl.java:254)
         at com.sap.inst.jload.db.DBConnection.connectViaSecureStore(DBConnection.java:105)
         at com.sap.inst.jload.db.DBConnection.connect(DBConnection.java:149)
         at com.sap.inst.jload.Jload.main(Jload.java:580)
    Thank you for your help in advance.
    Regards
    Sumit.

    I changed the timezone for the installation to the German timezone, and restarted the installation from the start - after uninstalling everything, and dropping the database.
    Everything went through.
    Thank You.
    Sumit.

  • Physical Database Design Steps & Performance Considerations

    Hi,
    We have a Oracle 9i install need help to create a DB.
    Required to know the Physical Database Design Steps & Performance Considerations.
    like
    1-Technical consideration of DB as per server capacity. how to calculate..?
    2- What will be the best design parameter for DB...?
    Can you please help how to do that. Any metalink ID help to get those information.
    thanks
    kishor

    there is SOOO much to consider . . . .
    Just a FEW things are . . .
    Hardware - What kind of Host is the database going to run on?
    CPU and Memory
    What kind of Storage
    What is the Network like?
    What is the database going to do OLTP or DW?
    Start with your NEEDS and work to fulfill those needs on the budget given.
    Since you say Physical Database Design . . . is your Logical Database Design done?
    Does it fulfill the need of your application?

  • Does the IHandy flashlight app contain malware? ? If so what are the removal steps to insure the malware is removed??

    Does the anyone know if the IHandy flashlight app contain malware?? If so what are the removal steps to insure the malware is removed??

    There is no malware that can affect an iPhone unless it's been jailbroken.
    Some apps request to do things, like access your location or contacts, and can continue to do so in the background. If this app requested permission for either of these things, you should delete it. A flashlight app has no need for such information.
    ~Lyssa

  • Forcefully Mailbox database remove

    When i am removing the mailbox database. following error is shown
    [PS] C:\Windows\System32>Remove-MailboxDatabase -Identity Mailbox Database 1853738799
    Creating a new session for implicit remoting of "Remove-MailboxDatabase" command...
    New-PSSession : [wsus.holzoo.local] Connecting to remote server wsus.holzoo.local failed with the following error
    message : The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from
    the destination computer. The content type is absent or invalid. For more information, see the
    about_Remote_Troubleshooting Help topic.
    At C:\Users\administrator.HOLZOO\AppData\Roaming\Microsoft\Exchange\RemotePowerShell\wsus.holzoo.local\wsus.holzoo.loca
    l.psm1:136 char:17
    +                 & $script:NewPSSession `
    +                 ~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : -2144108297,PSSessionOpenFailed
    Exception calling "GetSteppablePipeline" with "1" argument(s): "No session has been associated with this implicit
    remoting module"
    At C:\Users\administrator.HOLZOO\AppData\Roaming\Microsoft\Exchange\RemotePowerShell\wsus.holzoo.local\wsus.holzoo.loca
    l.psm1:45065 char:13
    +             $steppablePipeline = $scriptCmd.GetSteppablePipeline($myInvocation.C ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException
        + FullyQualifiedErrorId : RuntimeException
    [PS] C:\Windows\System32>

    Hi,
    Do you use Exchange on your server? If so, the issue is related to Exchange, I suggest you ask for help from Exchange forums.
    http://social.technet.microsoft.com/Forums/en-US/home?forum=exchange2010
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Database, custom step types, ann XML report issues...All in one

    TS3.0
    Have a number of issues to do the above. I'll try and explain them in order. I'm sure there all linked, but can't figure out how...
    The "Custom" Steps.....They are copies of the NI Numeric/Multiple Numeric tests, with a added post step to translate the error code into something meaningful.... No big deal.
    XML Issue
    When the report is generated the the Multiple numeric saves fine(See Multiple.txt, the step is of numeric type, all is well). However strange things happen in the Numeric test. see "Simple.txt" for a snipit of the result file. As you can see the "error code" contains the measurement. Why....?
    Also in the XML the result seems to be reported as a normal step(like an action) and not a numeric test....
    DATABASE Issues
    Now when loggin to the standard DB that ships with TS, with the 1 change to the tables, to record our custom types in the DB. Everything works fine and is recorded untill the 1st instance of a skipped "Custom_MultipleNumericLimit Test" , at which point the DB (Microsoft Access) throws a wobbly(error message) and states that "No such col exsists". When the DB is looked at everything is recorded upto the point where a skipped Custom Step happend(and the error message). When the custom type is run normally(ie not skipped), the resutls are recorded fine, no problems.
    Can't get my head around whats going on. I've check the property flags, and as far as I can tell every thing is in order for these custom steps(ie they look the same as the TestStand steps they are based on). It records fine in the XML.
    Attachments:
    Zip file with XML snipits.zip ‏1 KB

    Can you be more specific details about your database problem, specifically:
    1) the changes that you made to the default schema
    2) the changes that you made to the database tables
    3) the entire error message text for the logging error
    Scott Richardson
    National Instruments

  • Database creation steps in RAC

    Hi Geeks,
    I am looking for steps for creating database in existing RAC environment. Its 2 node rac with 2 databases are already existing.
    I cannt use DBCA due to connectivity issues. So through silent mode i want to create a new database with two instances spread across two nodes. Please remember its ASM based databases.
    Environment :- Solaris 10, Oracle 10.2.0.4
    Thanks in advance,
    Mahesh.G

    Hope you find this interesting... There is a lot of good RAC information here:
    http://www.oracle-base.com/articles/rac/ArticlesRac.php
    Regards
    Z.K.

  • Content Database removed from protected SharePoint Farm

    Hi,
    We have a SharePoint 2007 farm protected with DPM 2012. We have removed a content database and now DPM is complaining about it, which is the expected behaviour in order to get noticed of accidentally missing databases. According to several sources, the right
    way to get rid of these alerts is to stop protection - retaining data - and reprotecting it using the same parameters, so the DPM agent finds the retained data as a starting point.
    However, our farm has about 4Tb allocated and we have less than 1 additional Tb free now in the DPM Pool, so if we stop protection and retain data, DPM will complain about the farm not fitting in that Tb (looks like DPM does not take into account that pertinent
    data exists previously when estimating the replica and shadow sizes), so we will not be able to protect the farm again if we stop protection retaining data.
    Funny, eh? any suggestions? Thanks in advance.

    Hi,
    When you stop protection and retain the replica, DPM will move the sharepoint data source into an inactive protection group.  When you re-protect the same sharepoint farm, DPM will first query the inactive protection group to see if a replica exists
    for that data source and if so will reuse that replica.  It will then do a consistency check to bring the replica up to date, then resume normal backups. Be sure the use the same recovery goals if you are not adding it back to the same protection group.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
    posting is provided "AS IS" with no warranties, and confers no rights.

  • Database design steps

    Hi all,
    I am new to learn the oracle database design. Please anyone can give me the steps/procedure that we can easily to design the new oracle database.?
    regards,
    samurai

    Are you referring to physical database design (disk layouts, file locations etc.) or logical database design (schema, table structures, indexes etc.)?
    Based on your requirement, the answer will change.
    But simply stated, it would be better if you could take a course from local universities or colleges which have database design as part of IT curriculum. It is not possible to summarize database design in a few lines.

  • How to remove step in Incident Wizard

    I have copied the standard Transaction Type SMIN to YMIN and thats fine... But i really cannot find the place to modufy the Incident Wizard?
    I have the need to remove the "Select reference Object" because we do not want the user to fill theese fields. But how?
    I can remove the Fields of the step via the CRM webClient setup, but i would like remove the step finally?!

    Hello Jakob,
    Use marked icon and move step as shown
    BR,
    K.

  • Public Folder Database Removal

    Hello,
    I am working in a Exchange 2010/2013 co-existence environment.
    All mailboxes have been moved to Exchange 2013.
    Public folders remain on Exchange 2010 for the moment.
    There are 4 Public folder databases, all identical in terms of replicas:
    PFDB1 - MBX01
    PFDB2- MBX02
    PFDB3 - MBX03
    PFDB4 - MBX04
    Circumstances beyond my control may mean that I need to take the MBX03 and MBX04 servers out of the production environment before I have migrated the public folder hierarchy across to 2013.
    What is the recommended method for removing the public folder databases on these two servers?
    Previous experience tells me that removing a database containing any replicas will fail. How can this be mitigated while keeping the PF structure in tact on PFDB1 and PFDB2 and thus serving the client mailboxes?
    Regards
    Matt

    Hi,
    To remove a public folder databae, you can look at the following article.
    Remove Public Folder Databases
    http://technet.microsoft.com/en-gb/library/dd876883(v=exchg.141).aspx
    Before you delete public folder database, please dismount public folder databases temporarily and make sure Exchange 2013 users can access public folders normally.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Database upgradation steps from Oracle Database 10g EE to 11g R2

    If any document/Steps available for the upgradation of database from Oracle Database 10g EE to 11g R2 please provide us.
    Thank you.

    Please refer to this document for a step by step guide:
    http://www.oracleflash.com/34/Upgrade-Oracle-10g-Release-2-to-Oracle-11g-Release-2.html

  • Help in SQL database remove duplicate fields

    I have different tables like Employee, mentor_offer, department and criteria.  Employee has all the employee details and department has the id and name of all the departments, Criteria has id and name of all the skills. Mentor_offer has the email
    id and the skill for that particular email id.
    The stored procedure that i am using is 
    SELECT distinct e.firstName + ' ' + e.lastName as name, e.email, e.geo,c.name as skill, d.name as department, e.addedDate, e.modifiedDate 
    from employee e 
    inner join mentor_offer m 
    on e.email=m.email
    inner join department d
    on e.department = d.id
    inner join criteria c 
    on m.criteria_id = c.id
    order by e.addedDate desc
    At present I get the result like this:
    Name|Email|Location|Department|Skill|addedDate|mod ifiedDate
    Arun Rao|[email protected]|NA| Marketing|Planning & Organizing| 3/17/2014 1:01:21 PM|3/20/2014 2:37:50 PM
    Arun Rao|[email protected]|NA| Marketing|Technical Skills| 3/17/2014 1:01:21 PM|3/20/2014 2:37:50 PM
    Binay|[email protected]|NA|Sales|Leadership|3/17/2014 1:01:21 PM|3/20/2014 2:37:50 PM
    Binay|[email protected]|NA|Sales|Technical Skills|3/17/2014 1:01:21 PM|3/20/2014 2:37:50 PM
    Expected Result:
     I would like to add the skills in a single row with comma separated and remove the duplicate entries of Name, Email ,Location, Department. 
    Name|Email|Location|Department|Skill|addedDate|mod ifiedDate
    Arun Rao|[email protected]|NA| Marketing|Planning & Organizing, Technical Skills|3/17/2014 1:01:21 PM|3/20/2014 2:37:50 PM
    Binay|[email protected]|NA|Sales|Leadership, Technical Skills|3/17/2014 1:01:21 PM|3/20/2014 2:37:50 PM
    Please help.

    Try this: 
    with CTE
    as (
    select distinct
    e.firstName + ' ' + e.lastName as name
    , e.email
    , e.geo as Location
    , c.name as skill
    , d.name as department
    , e.addedDate
    , e.modifiedDate
    from
    employee e inner join mentor_offer m
    on e.email = m.email
    inner join department d
    on e.department = d.id
    inner join criteria c
    on m.criteria_id = c.id
    select
    name
    , email
    , Location
    , department
    Skill = stuff((
    select
    ', ' + skill
    from cte b
    where
    c.name = b.name
    and c.email = b.email
    and c.Location = b.Location
    and c.department = b.department
    for
    xml path('')), 1, 2, '')
    max(addedDate) as addedDate
    max(modifiedDate) as modifiedDate
    from cte c
    group by
    name
    , email
    , Location
    , department
    order by
    addedDate desc;
    not tested/.
    Regards Harsh

  • Database refresh Steps

    Hi,
    Can anyone give the procedure for DB Refresh pls?
    I couldnot find a clear explanation anywhere.
    Bipin

    Sory Werner if im wrong, Does the following forum explain about db refresh or they are just talking about cloning...
    Database Refresh
    I thought Refreshing the test db with production is termed as "db refresh"..
    Is it so? Can u pls explain?
    Bipin

Maybe you are looking for

  • How to add a field object to group header section in crystal report document?

    Hi All, I have got two questions mentioned below, please share your inputs. 1)I want to know whether it is possible to add a field object to header section in crystal report document programmatically? I am using crystal runtime for visual studio. I k

  • What is the mac equivalent to adobe acrobat?

    what is the mac equivalent to adobe acrobat?

  • Tables involved in F110

    Hey All: Could you please tell me what are the tables involved in when we run F110. I would like to extract some past payment information in SAP to sync up the legacy system. Please advice on how I can extract that kinda information from tables( may

  • Tables for Catalog details...

    Hi, I'm new to CCM. Can any one let me know the details of the tables or reports where I can find the following details: 1. Catalogue Number 2. Date on which catalogue was created 3. Who had created the catalog. 4 Whether any changes were done for th

  • Saved PDF files are empty 6 months later

    On January 27th 2014 I filled a bunch of immigration forms from USCIS. I downloaded the files on my laptop, filled in the blanks and saved them on my hard drive. 2 weeks later I reopened them and printed couple of them and everything was fine, all fi