Mount Unmount in oracle database,move database

Hello All,
I m new in oracle database.i want to know how to move database from one system(x) to another system (y).Because my oracle server corrupted on which i created the database on system (x),now i want to use this database on another system (y),and i have no backup of the database on system(x).So,How to attach that datbase on system(y),so i can view my table on system(y),I know my datbase on system(x) is right ,but only connection from oracle server broken,because system improper shutdown.
Please help me.
Thanks in advance......

As Jim said to you before, this forum is for the SQL Developer tool. Please post this under Database - Installation (or General ), where you'll undoubtly get more response.
Regards,
K.

Similar Messages

  • Move database from server running Oracle 11G to server running Oracle 12c

    I'm trying to find out the easiest way to migrate a database from a server running Oracle 11G to a server running Oracle 12c. I have tried using RMAN's duplicate database command but have run into far too many issues when trying to setup both servers before running the duplicate command.  If someone could provide some clear guidance on configuring both servers for the RMAN Duplicate command then that would be great.  The other thing I have tried is performing a cold backup of all the files for the database (control files, data files, etc.).  Copying them to the new server and then recreating the control file to include the correct location and names for the datafiles and redologs.  After recreating the control file the database will not start up.  I'm suspecting this is due to the version differences. If you can provide me clear (ie. migration for dummies) instruction for getting either of these methods to work it would be greatly appreciated.  I'm also open to any other method you can think of to achieve what I'm trying to accomplish. Thanks, Paul Noyes

    Pl do not post duplicates - Move database from server running Oracle 11G to server running Oracle 12c

  • Move database from EMC to NETAPP

    Hi,
    I have couple of databases on server which is now connected to EMC storage. I need to move database from EMC to NETAPP. Can anyone give me steps to accomplish the requirement.
    I am thinking to do following steps:
    1). Shutdown the database gracefully.
    2). Move all the datafiles, controlfiles and redologfiles to the new NETAPP storage.
    3). Startup the database.
    are these steps correct?
    Because, the server cannot be attached to two storage devices simultaneously. I need to store these files externally right?
    Thanks

    10.1.0.5 ? That was courageous running ASM and then, in a few years, migrating storage !
    BTW, you still haven't confirmed if your NetApp storage requires HBAs or Gigabit NICs ! -- big difference to your "we can't have two HBAs" position.
    Also, I strongly advice you to check the NetApp documentation on Best Practices for Oracle. You definitely need to know how to mount the NetApp volumes for Oracle databases !
    As for your question about the RMAN command, it is covered in the RMAN documentation :
    "Creating a Duplicate Database on the Local Host" at
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1006859
    (at least in the 10.2 doc set -- you'd have to check your 10.1 doc set and I would advice that you raise an SR with Oracle support asking for confirmation that the same steps apply in 10.1)
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Move Database From one location to another in same Server

    Hi,
    I am using 11 g R2 in OEL 5.
    I have installed my database inside oracle base /TEST_DB. Here i have oracle home and datafiles directories etc as usual.
    But i need to move this to /UAT/TEST_DB and run the oracle home and database form there.
    Is this cloning procedure is enough :- *Cloning An Existing Oracle11g Release 2 (11.2.0.x) RDBMS Installation Using OUI [ID 1221705.1]*
    or this is only for Oracle_Home??? If so please tell me how to move both the database and the oracle home.
    Regards,
    Susmit
    Edited by: Susmit on Dec 20, 2011 2:47 PM
    Edited by: Susmit on Dec 20, 2011 2:47 PM

    Susmit wrote:
    Hi,
    I am using 11 g R2 in OEL 5.
    I have installed my database inside oracle base /TEST_DB. Here i have oracle home and datafiles directories etc as usual.
    But i need to move this to /UAT/TEST_DB and run the oracle home and database form there.
    Is this cloning procedure is enough :- *Cloning An Existing Oracle11g Release 2 (11.2.0.x) RDBMS Installation Using OUI [ID 1221705.1]*
    or this is only for Oracle_Home??? If so please tell me how to move both the database and the oracle home.
    Hi,
    I did this just a week ago, or so. You don't need to clone the instance.
    There's a pretty good description on how to do this here:
    http://www.oracle-base.com/articles/misc/RenamingOrMovingOracleFiles.php
    However, after doing the steps outlined here, you're still having the same ORACLE_HOME and ORACLE_BASE. Do the following:
    SQL> alter system create pfile from spfile;and manually change the relevant parameters in the newly created pfile to reflect the changes you're about to do (dump_dest etc..)
    Shut down the instance, move all files in your ORACLE_HOME to the new location, and change all relevant environment variables.
    connect to your idle instance in the new ORACLE_HOME, and do
    SQL> startup pfile=/path/to/your/pfileand after the instance has started correctly, do
    SQL> create spfile from pfile;All done!
    HtH
    Johan

  • Install APEX to work on existing Oracle 10g R1 database

    I want to use APEX on an existing Oracle 10g R1 database. If I install it normally with the program downloaded from your site, it installs its own database that you use.
    How can I set / install it to use the existing database instead of its own database?
    Elsie Pretorius

    Hi guys,
    Thanks for the info and input. Is there anybody have sucessfully done this. Most of the info that out there, the README in the patchset all pointing to upgrading the OCS, not installing the OCS on top of an existing 10g AS and DB. I'm thinking installing the OCS R2, and then patching and upgrade it to 9.0.4.2 or 4.3 and then point or move it to the existing 10AS and DB. This is where I'm quit blur at the moment.
    Anyway thank for all the info.
    Regards
    Din

  • Move Database from 10.2.0.2 to 11.2.0.1 on NEW SERVER

    Hello everyone and thank you in advance for any help ..
    I need to Move Database from 10.2.0.2 to 11.2.0.1 on NEW SERVER
    I am beginer in DBA Administration and I will try to explain my situation in my company.
    Well I have:
    - Two physical servers with Win 2008 R2 x64
    - Oracle Database 10.2.0.2 x86
    - The size of the database up to 10 GB
    - Replication is working on a script level with archivelog think i something like Data Guard or it is.. because I did not install this from begining.. I get this when I get job..
    - SSID VIZRTDB a schema PILOT
    In my company I deal more with system and network administration, and there I began now to work around this part of the DBA I can say that I am already comfortable with oracle database.. but here I stumbled on a problem, so I do not know where to start and who to ask..
    In a virtual environment I install the same as I have on physical server, only now I install Oracle 11.2.0.1 and Win 2008 R2 x64, and I made all the replication and which is identical to the production servers ..
    The idea is to export the database to 10.2.0.2 from production server and then imports it into 11.2.0.1 and I have already tried but I have a lot of mistakes at the end of the importa .. I tried the classic Imort / Export, and I will try to Impdb / Expdb (Data Pump) .. a lot of mistake like some stuff already exist etc..
    I think the question is what is best to do with the data pump or with some other tool to import database on new server 11.2.0.1? I mean what do you think is the best procedurally to do ..
    Since the moment I have two physical servers and is really complicated to do any upgrades, etc..
    Can I install on this two physical servers VMware Workstation software, and then on separate server I will have two virtual oracle databases so I can always move image and try upgrade, patch etc...
    Does this create a problem around the base of the network that will be somewhat slower, response, etc? .. Because as you see I work in television and I dont really no day that I can say that they can shut down the base for more than 4 hours ..
    Thanks in advance.
    Greetings.

    Triplicate post - I need to Move Database from 10.2.0.2 to 11.2.0.1 on NEW SERVER

  • How to move database objects from one user to another user

    Could someone help how to move database objects from one user to another user
    Thanks in advance

    Thanks a lot for the reply.
    Actually I wanted to know whether there is any command to change the owner ship of the table.
    For ex table1 belongs to user1. can the owner of table1 to be changed to owner2.
    directly using an oracle command. I knew that it can be done using import and export, since the table was 200 million thought the rename command would be faster instead of import and export.
    Thanks Billy for letting me know that it is not possible using oracle query.

  • I can't either mount for remove Exchange 2010 mailbox database file

    Yesterday I proceeded with moving Exchange 2010 database file to a newly installed hard drive because my "C" drive was running out of space. After dismouting both the mailbox database and the public folder database, I used EMC's  "move
    data path" wizard to move both the mailbox database and public folder database to "mailbox" folder in "D" drive.  The move was successful without an error, but when I opened "mailbox" folder in "D" drive, both
    the database file and public folder database files weren't there.  All the other files were moved, but the mailbox database file was gone.  
    Luckily I manually copied entire mailbox folder to another folder in "D" drive.  So I manually copied mailbox database file (it is about 20GB) to "d:\mailbox".  When I try to mount, I received the following error message.
    Microsoft Exchange Error
    Failed to mount database 'Mailbox Database 1658107303'.
    Mailbox Database 1658107303
    Failed
    Error:
    Couldn't mount the database that you specified. Specified database: Mailbox Database 1658107303; Error code: An Active Manager operation failed. Error The Microsoft Exchange Replication service may not be running on server bigrock.BKSERVER.LOCAL. Specific RPC
    error message: Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from cli_MountDatabase3..
    An Active Manager operation failed. Error The Microsoft Exchange Replication service may not be running on server bigrock.BKSERVER.LOCAL. Specific RPC error message: Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from cli_MountDatabase3.
    Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from cli_MountDatabase3
    When I try to move the database path back to the original path, I received the following error message.
    Mailbox Database 1658107303
    Failed
    Error:
    There are no source files under the path:d:\emailbox\Mailbox Database 1658107303. Use the command Move-DatabasePath -ConfigurationOnly in the Exchange Management Shell to set the new path in Active Directory only.
    Exchange Management Shell command attempted:
    move-DatabasePath -Identity 'Mailbox Database 1658107303' -EdbFilePath 'c:\progam files\microsoft\exchange server\v14\mailbox\mailbox database 1658107303\Mailbox Database 1658107303.edb' -LogFolderPath 'c:\progam files\microsoft\exchange server\v14\mailbox\mailbox
    database 1658107303'
    EMC would not even delete the database file.
    I need help.  I need to mount my mailbox database file.  Please help.

    If the database was fine pre move I doubt it needs a repair, however if you want to validate do an eseutil /mh ReplaceWithYourDatabaseName.edb and post the results here
    did you move the logs as well or are they still in same location
    I have seen this before if everything is where its supposed to bea restart fixed it so I would recommend that you put the DB back into the  NEW D path and do a restart to see if that resolves the issue
    Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline Exchange Mailbox and Public Folder EDB's and Live Exchange Servers or Import/Migrate direct from Offline EDB to Any Production Exchange Server, even cross version i.e. 2003
    --> 2007 --> 2010 --> 2013 with Lucid8's
    DigiScope

  • Error while creating a datasource in planning 9.3.1 on oracle 11.2 database

    I am unable to create datasource in planning 9.3.1 on oracle 11.2 database. I have configure sharedservices and registered planning with shared servers. I am unable to create data source after application deployment and instance creation.
    I am getting the following error,
    Launching Hyperion Configuration Utility Program
    HYPERION_HOME: C:\Hyperion
    In HspDBPropertiesLocationPanel constructor
    In HspDBPropertiesLocationPanel queryEnter
    Resource Bundle is java.util.PropertyResourceBundle@322394
    Product Name in file is PLANNING
    Availability Date is 20051231
    Creating rebind thread to RMI
    Resource Bundle is java.util.PropertyResourceBundle@322394
    Product Name in file is PLANNING
    Availability Date is 20051231
    $$$$$$$$$$$$$ dname is
    Resource Bundle is java.util.PropertyResourceBundle@322394
    Product Name in file is PLANNING
    Availability Date is 20051231
    Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no HspEss
    baseEnv in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at com.hyperion.planning.olap.HspEssbaseEnv.<clinit>(Unknown Source)
    at com.hyperion.planning.olap.HspEssbaseJniOlap.<clinit>(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.TestEssConnection(Unknown Source)
    at com.hyperion.planning.HspDSEssbasePanelManager.TestEssConnection(HspD
    SEssbasePanelManager.java:156)
    at com.hyperion.planning.HspDSEssbasePanelManager.queryExit(HspDSEssbase
    PanelManager.java:132)
    at com.hyperion.cis.config.wizard.ProductCustomInputPanel.queryExit(Prod
    uctCustomInputPanel.java:114)
    at com.installshield.wizard.awt.AWTWizardUI.doNext(Unknown Source)
    at com.installshield.wizard.awt.AWTWizardUI.actionPerformed(Unknown Sour
    ce)
    at com.installshield.wizard.swing.SwingWizardUI.actionPerformed(Unknown
    Source)
    at com.installshield.wizard.swing.SwingWizardUI$SwingNavigationControlle
    r.notifyListeners(Unknown Source)
    at com.installshield.wizard.swing.SwingWizardUI$SwingNavigationControlle
    r.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
    ce)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    But, My essbase server is up and running. I am able to connect it through EAS.

    It looks like more of an issue with connecting to essbase, usually "java.lang.UnsatisfiedLinkError: no HspEssbaseEnv in java.library.path" means planning has not been installed or deployed correctly, what OS is it running on?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Sequencing and Trigger on Oracle 9i lite database

    We created a schema (TESTSCHEMA) on Oracle 8.1.7 Enterprise edition and have a created a trigger which will use the sequence object to generate primary key for the table (TEST_TABLE)
    Sequence creation:
    CREATE SEQUENCE TESTSCHEMA.TEST_TABLE_SEQUENCE START WITH 6000 INCREMENT BY 1 MINVALUE 6000 MAXVALUE 6999 NOCACHE NOCYCLE NOORDER ;
    Trigger creation:
    CREATE OR REPLACE TRIGGER TEST_TABLE INSERT BEFORE INSERT ON TEST_TABLE FOR EACH ROW
    DECLARE
    pkValue NUMBER;
    BEGIN
    pkValue := 0;
    Select TEST_TABLE_SEQUENCE.NextVal into pkValue from dual;
    :NEW.TEST_KEY := pkValue;
    END TEST_TABLE_INSERT;
    We have created a snapshot of the schema on mobile server, synchronized the data with the client (Win32 for testing purpose).
    The trigger works fine on the server, but when I run the same query on the lite database with msql it gives me an error:
    [POL-3221] null key in primary index
    I was wondering if Sequence generation and Triggers are supported on Oracle 9i lite database ? Or am I missing out something ??
    Any information/ help is appreaciated
    Thanks
    Neeraj

    You can't use SAVEPOINT / ROLLBACK TO SAVEPOINT statements in the database trigger:
    ORA-04092: cannot SET SAVEPOINT in a trigger
    ORA-04092: cannot ROLLBACK in a trigger
    I am not sure what you need exactly, but you can try this:
    Simulating ROLLBACK TO SAVEPOINT Behavior in a Database Trigger
    http://www.quest-pipelines.com/pipelines/plsql/tips02.htm#JUNE
    Regards,
    Zlatko Sirotic

  • Differences between Oracle 9i & 10g database

    I had a query as to what are the differences between Oracle 9i & 10g database. I have heard of a partioning feature which is there in 10g but not in 9i. I hope, my question is clear.
    Please, help in solving the doubt.
    regards

    Hi,
    Differences between oracle 10g and 9i
    regards
    Jafar

  • Best practice for database move to new disk

    Good morning,
    Hopefully this is a straight forward question/answer, but we know how these things go...
    We want to move a SQL Server Database data file (user database, not system) from the D: drive to the E: drive.
    Is there a best practice method?
    My colleague has offered "ALTER DATABASE XXXX MODIFY FILE" whilst I'm more inclined to use "sp_detach_db".
    Is there a best practice method or is it much of a muchness?
    Regards,
    Andy

    Hello,
    A quick search on MSDN blogs does not show any official statement about ALTER DATABASE – MODIFY FILE vs ATTACCH. However, you can see a huge number of article promoting and supporting
     the use of ALTER DATABASE on any scenario (replication, mirroring, snapshots, always on, SharePoint, service broker).
    http://blogs.msdn.com/b/sqlserverfaq/archive/2010/04/27/how-to-move-publication-database-and-distribution-database-to-a-different-location.aspx
    http://blogs.msdn.com/b/sqlcat/archive/2010/04/05/moving-the-transaction-log-file-of-the-mirror-database.aspx
    http://blogs.msdn.com/b/dbrowne/archive/2013/07/25/how-to-move-a-database-that-has-database-snapshots.aspx
    http://blogs.msdn.com/b/sqlserverfaq/archive/2014/02/06/how-to-move-databases-configured-for-sql-server-alwayson.aspx
    http://blogs.msdn.com/b/joaquint/archive/2011/02/08/sharepoint-and-the-importance-of-tempdb.aspx
    You cannot find the same about ATTACH. In fact, I found the following article:
    http://blogs.msdn.com/b/sqlcat/archive/2011/06/20/why-can-t-i-attach-a-database-to-sql-server-2008-r2.aspx?Redirected=true
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to install the Oracle Enterprise Manager Database Tuning ?

    Hi,
    How to install the Oracle Enterprise Manager Database Tuning with the Oracle Tuning Pack
    Release 9.0.1
    And where to get download this.
    Thank u..!

    The only way you can get 9iR1 release software is by asking it to your Oracle representative. The oldest 9i release available for public download is 9iR2.
    You could try the administrative 9iR2 client, it can work with 9iR1 releases.
    ~ Madrid.

  • Connection of oracle database in database server from application server

    Hi,
    I have two servers, one is application server and another one is database server…..
    I want to connect oracle 10g database in database server to application server. In application server oracle 10g client is installed……In database server, I have set tnsnames.ora, Listener.ora …while checking in lsnrctl…the particular sid is running fine…
    In application server, while I give as sqlplus
    After giving username and password its showing error as
    ORA-12545: Connect failed because target host or object does not exist
    While surfing in net it shows check tnsnames.ora and listener.ora….. I have set the environmental variables here in application server…..
    It’s connecting when I give
    Sqlplus
    Sql>username/password @ hostname: 1521/sid_name
    Is it possible to connect with the username and password
    I have set the host names in /etc/hosts….
    If we are giving the hostname, port number and Sid name this connects without using tnsnames.ora…..
    While pinging between two servers the connectivity is there between two servers…..
    Could u pls help me out?
    Thanks in advance

    hi,
    as u said i have done that ..s.till the same problem persists...
    lsnrctl>services
    $ lsnrctl
    LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production on 08-FEB-2007 03:56:23
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> services
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "RBTT" has 1 instance(s).
    Instance "RBTT", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "RBTTXDB" has 1 instance(s).
    Instance "RBTT", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: emea, pid: 197076>
    (ADDRESS=(PROTOCOL=tcp)(HOST=emea)(PORT=37484))
    Service "RBTT_XPT" has 1 instance(s).
    Instance "RBTT", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER

  • Adding user to the oracle database using database link - is it possible?

    Hi, i wolud like to manage my databases using one client. I easilly operate on my distriubuted tables but i have problem with creating users in distribiuted database. Is it possible to create users in distributed database using database links? or it have to be done locally using some stored procedures or sth similar?

    The SQL syntax of the CREATE USER statement doesn't support DB links, the only way to do it would be with stored procedures. There might be an Oracle SP for that or for generic remote execution of SQL, but I'm not familiar with such.

Maybe you are looking for

  • I can no longer change/insert an image. Why?

    Up until now I have been able to insert replacement images into my website. I can no longer do so. A window with 'File not found' sometimes appears. Any clues?

  • How do I get GarageBand files from an older mac onto my iPad 2?

    How do I get GarageBand files from an older mac onto my iPad 2? I can open the GarageBand Documents folder through iTunes while the iPad is sync'd but I can't seem to "add..." any of my old .band folders to the iPad to be able to view those music pro

  • Data transfer using BAPI'S

    please get me the detailed procedure  ( including code) of any data transfer program using BAPI's

  • Using Parameter for The Page

    I developed a Custom Page to display values based on Parameter passed on. How do we Pass on Parameter to OA Page When It is Invoked from Form or Menu Function?

  • BUG: modifying entity doesn't get saved

    When I modify for example an attribute of a certain entity (for example change the type of a primary key field from Number to DBSequence) the changes are gone as soon as I press Apply or Ok. Without any error messages whatsoever. This behaviour doesn