Must Move 10g Database To Another Server

Good morning,
Well, right in the middle of my implementation, I've learned that we must change to a different physical server for the 10 g database. Wonderful.
I have installed several patches. Will a consistent backup of the db capture those patches? After I restore to the new server, will I have to reinstall all patches?
Don't most patchsets modify the Oracle instance as well as the database?
Thanks, John

Have you tried the clone features? On DBCA, there is a clone database option. If you use Enterprise Grid Control, they have a clone database from one server to another and you can choose different instance name and different file structure. This has the additional benefits of no need to bring down the current database. Also you can try the clone.pl to clone the oracle_Home. I have not tried one with patches but I guess it will include every thing under ORACLE_HOME. It will handle most but I still have trouble with the data control setup but then I recreate everything from scratch

Similar Messages

  • How to move a database to another server

    Hi - I am new to Oracle and am used to SQL Server. In SQL Server there was a DETACH and ATTACH DATABASE command that would allow you to make a copy of a database and all structures including triggers, procedures, indexes etc. Make a copy and reattach the database on the new server. I assume that the same is possible in Oracle but I can't seem to find the equivilent command(s). So how does one move a database? I take it that the SQL Server equivilent to database is in Oracle called a schema? Other than creating a sql script for each object, is there a overall process to move my application?

    You could do one of the following:
    1) Create a full export, create a another database with a script or DBCA, create the appropriate sized tablespaces, import to the new database.
    2) If you are copying to the same OS you could shutdown the database, copy all the datafiles, logfiles, control files, etc. to the appropriate locations, rename the datafiles, control files, etc. as needed, and open the database.
    3) Use RMAN to duplicate the database if it has been backed up using the RMAN utility.
    4) If you already have a backup of all the datafiles, logfiles, control files, etc. from a backup you could copy those to the appropriate locations, rename the files as needed, and open the database.
    I would suggest changing the database name. I can go into more detail on any of these if needed.

  • Move zenworks databases to another server?

    How do i move our zenworks databases from an old (soon to be retired) server
    to a new one which hasnt had any zen s/w installed on it yet?
    I cant see anything about this in the group, and the novell KB hasnt been
    too fruitful, so i thought i'd ask here
    thanks in advance,
    Steven

    James,
    It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
    - You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
    If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • How to export a user and their schema from one 10g database to another?

    Hi,
    I would like to export a user and their entire schema from one 10g database to another one. How do I do this?
    thx
    adam

    If you want to export a user and the schema owned to the user, and import to the same user in a different database, or a different user in the same database, you can use the exp and imp commands as described in the Utilities manual.
    These commands are very versatile and have a lot of options - well worth learning properly. To give you a simplistic shortcut, see below - I create a user 'test_move', create some objects in the schema, export, create a new user in the database 'new_move' and import.
    oracle@fuzzy:~> sqlplus system/?????
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Mar 11 21:46:54 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> create user test_move identified by test_move;
    User created.
    SQL> grant create session, resource to test_move;
    Grant succeeded.
    SQL> connect test_move/test_move
    Connected.
    SQL> create table test (x number);
    Table created.
    SQL> insert into test values (1);
    1 row created.
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    oracle@fuzzy:~> exp system/????? file=exp.dmp owner=test_move
    Export: Release 10.2.0.1.0 - Production on Sat Mar 11 21:48:34 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user TEST_MOVE
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user TEST_MOVE
    About to export TEST_MOVE's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export TEST_MOVE's tables via Conventional Path ...
    . . exporting table                           TEST          1 rows exported
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting materialized views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    . exporting statistics
    Export terminated successfully without warnings.
    oracle@fuzzy:~> sqlplus system/?????
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Mar 11 21:49:23 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> create user new_move identified by new_move;
    User created.
    SQL> grant create session, resource to new_move;
    Grant succeeded.
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    oracle@fuzzy:~> imp system/????? file=exp.dmp fromuser=test_move touser=new_move
    Import: Release 10.2.0.1.0 - Production on Sat Mar 11 21:50:12 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    . importing TEST_MOVE's objects into NEW_MOVE
    . . importing table                         "TEST"          1 rows imported
    Import terminated successfully without warnings.
    oracle@fuzzy:~>                                                       If moving between databases, remember to set the SID properly before the import. If keeping the same userid, skip the from/to stuff in the import.
    There are many variations on the theme ...
    You can simplify this. You can select tables individually. You can use a parameter file. You can transport all the constraints and data. You can skip the data and only move the definitions. You can get some help (imp/exp help=yes).
    And, if it's all 10g, there is a new and improved facility called expdp/impdp (dp = data pump) which has a lot more capability as well, including direct transfer (no intermediate file) together with suspend/restart. Also documented in the Utilities manual.

  • Coying Database to another server

    Dear All,
    I want trying to copy database to another server but i got error
    Login failed for user 'domainName\ComputerName$'
    I already use domain administrator to both of server and already create user login in both server.
    Both of the login is domain administrator and same user for the server. I use SQL Server Standard Edition 2008 R2.
    How can i fix this error?
    please help
    Best regards,
    Surbakti

    Hi Surbakti,
    According to your description, if you copy a local database to a remote SQL Server via the copy database wizard, we need to verify if the SQL Server Agent Service account does have sufficient access
    rights to the remote server. See:
    Use the Copy Database Wizard
    Usually, I suggest the better option is to perform the full backup of the database and then copy the backup file manually to remote computer. Once done, restore the database from this backup file on
    remote computer.
    There is detail about move databases between computers that are running SQL Server instance.
    http://support.microsoft.com/kb/314546/en-us
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Best Method to Move Partitioned Data to Another Server

    Hi,
    In our company we have a monthly maintenance to move one partition from many partitioned tables to another server. I want to know what is the following:
    1- Best way to do this task and to move table partitions to another database on another server?
    2- When I delete table partition, do I need to analyze the table or rebuild the indexes?
    Appreciate your prompt response.
    Thanks

    2- When I delete table partition, do I need to analyze the table or rebuild the indexes?What do you mean by delete table partition? If you mean truncate or drop parition then you should use "UPDATE GLOBAL INDEXES" clause in order to avoid rebuilding global indexes as shown in the below examle:
    create table TAB1 ( Value number(10))
      partition by range(value)
      partition p1 values less than (10),
      partition p2 values less than (20),
      partition p3 values less than (30),
      partition p4 values less than (40),
      partition p5 values less than (50)
    insert into tab1
    select rownum
    from dual connect by rownum < 50;
    commit;
    create index tab1_indx1 on tab1(value);
    sql> select index_name, status
      2  from user_indexes
      3  where index_name = 'TAB1_INDX1';
    INDEX_NAME                     STATUS
    TAB1_INDX1                     VALID
    sql> alter table tab1 drop partition p2 UPDATE GLOBAL INDEXES;
    Table altered.
    sql> select index_name, status
      2  from user_indexes
      3  where index_name = 'TAB1_INDX1';
    INDEX_NAME                     STATUS
    TAB1_INDX1                     VALID
    sql> alter table tab1 drop partition p3;
    Table altered.
    sql> select index_name, status
      2  from user_indexes
      3  where index_name = 'TAB1_INDX1';
    INDEX_NAME                     STATUS
    TAB1_INDX1                     UNUSABLEMohamed Houri

  • Move large database to other server using RMAN in less downtime

    Hi,
    We have large database around 20TB. We want to migrate (move) the database from one server to other server. We do not want to use standby option.
    1)     How can we move database using RMAN in less downtime
    2)     Other than RMAN is there any option is available to move the database to new server
    For option 1 (restore using RMAN),
    Whether below options are valid?
    If this option is valid, how to implement this?
    1)     How can we move database using RMAN in less downtime
    a)     Take the full backup from source (source db is up)
    b)     Restore the full backup in target (source db is up)
    c)     Take the incremental backup from source (source db is up)
    d)     Restore incremental backup in target (source db is up)
    e)     Do steps c and d, before taking downtime (source db is up)
    f)     Shutdown and mount the source db, and take the incremental backup (source db is down)
    g)     Restore last incremental backup and start the target database (target is up and application is accessing this new db
    database version: 10.2.0.4
    OS: SUN solaris 10
    Edited by: Rajak on Jan 18, 2012 4:56 AM

    Simple:
    I do this all the time to relocate file system files... But the principle is the same. You can do this in iterations so you do not need to do it all at once:
    Starting 8AM move less-used files and more active files in the afternoon using the following backup method.
    SCRIPT-1
    RMAN> BACKUP AS COPY
    DATAFILE 4 ####"/some/orcl/datafile/usersdbf"
    FORMAT "+USERDATA";
    Do as many files as you think you can handle during your downtime window.
    During your downtime window: stop all applications so there is no contention in the database
    SCRIPT-2
    ALTER DATABASE DATAFILE 4 offline;
    SWITCH DATAFILE 4 TO COPY;
    RECOVER DATAFILE 4;
    ALTER DATABASE DATAFILE 4 online;
    I then execute the delete of the original file at somepoint later - after we make sure everything has recovered and successfully brought back online.
    SCRIPT-3
    DELETE DATAFILECOPY "/some/orcl/datafile/usersdbf"
    For datafiles/tablespaces that are really busy, I typically copy them later in the afternoon as there are fewer archivelogs that it has to go through in order to make them consistent. The ones in the morning have more to go through, but less likelihood of there being anything to do.
    Using this method, we have moved upwards 600G at a time and the actual downtime to do the switchover is < 2hrs. YMMV. As I said, this can be done is stages to minimize overall downtime.
    If you need some documentation support see:
    http://docs.oracle.com/cd/E11882_01/server.112/e18951/asm_rman.htm#CHDBDJJG
    And before you do ANYTHING... TEST TEST TEST TEST TEST. Create a dummy tablespace on QFS and use this procedure to move it to ASM to ensure you understand how it works.
    Good luck! (hint: scripts to generate these scripts can be your friend.)

  • Connect to a oracle database in another server

    Hi people,
    I have to read some tables on a oracle database in another server.
    I know that I will have to use EXEC SQL command, but how can I make the connection between SAP and that oracle database.
    I have seen something about the DBCON table, but I am not sure if I can connect on another server from ther and how...
    Thanks...

    Dear,
    Check the below links:
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/connection-between-sap-system-with-external-oracle-database-with-tcode-dbco-1178583
    http://help.sap.com/saphelp_nwpi71/helpdata/en/df/455ec9747111d6b25100508b6b8a93/content.htm
    Hope it will help you.
    Regards,
    Alok Tiwari

  • Move Central Instance to Another Server

    Hello expert,
    Now we have a distributed system: CI on server 1, DB on server 2. Now we want to move the CI to another server 3 without change the DB server.
    We get some information from link Move the central instance to another server in SAP
    We have few questions:
    1. Can we change the SID of CI with method provided in link?
    2. Any other additional steps should we do?
    Thanks & Best Regards,
    Tong Ning

    Hi Tong,
    You can install a new SAP instance (CI) on the new server as your DB is not moving and is on different host, and replicate important files from your old CI host.
    For eg, the host file, services file, trans directory and some work directory contents.
    Also, if your server on same OS or different ?
    You should check the compatibility of new OS and DB in service market place (PAM).
    For changing SID, please use standard guides and tested WIKI links.
    Regards,
    Divyanshu

  • Query for UDT over different Databases on another Server

    Hi,
    i want to use via query an UDT from another Database on another Server...
    nomal Tables can be Used like this:
    select* from [SVR-Name].Database.dbo.OITM
    But if I try the same for an UDT:
    select* from [SVR-Name].Database.dbo.[@UDT]
    it doesn't work.
    Does anyone have an Idea for me ?
    Thx.
    Markus

    Thx for your replies,
    a query over different Databases on the same SQL-Server is no problem.
    ... but I want to select an UDT which is on another SAP-Server (other location) in a different Database.
    Servername = SVR
    Database = LIVE
    UDT = [@portfolio]
    select * from [SVR].LIVE.DBO.[@portfolio]
    doesn't work.
    (normal query to reach OITM for example:
    select * from [SVR].LIVE.DBO.OITM
    works fine !!

  • Connecting oracle dev 2000 forms to oracle 9i database on another server

    we have these oracle developer 2000 forms (in .fmx format) in a server and the data of these forms in another server.... the server with the data is very old and is very slow...so we decided to relocate the database(oracle 9i) to a new server..... also, we move the developer 2000 forms from the old server to another server which will serve as the front end to the new data server.
    The problem is we can't figure out how to make the developer 2000 forms on the new front end server to point to the new database on the new data server. I would really appreciate if u cud gimme some advice on this... so we need to know how the forms find the data, where this "connection string" is for developer 2000 forms.

    You have to create a Net Service from "Net Configuration Assistant". Or you can copy TNSNAMES.ora file from your old server to new server. You can find TNSNAMES.ora file in developer_suite_Home/Network/admin folder.

  • MOVE REPLICATION DATABASE TO NEW SERVER

    WE HAVE A PRODUCTION DATABASE THAT WORK'S AS REPLICATION FROM 9 DATABASES, WE ARE GOING TO MOVE DATABASE TO NEW SERVER.
    AS DATABASE IS PRODUCTION, WE CAN NOT STOP SERVICES. WE THINK TO CREATE A NEW DATABASE ON NEW SERVER, IMPORT DATA FROM PROD. DATABASE. SIZE APROX 100GB.
    QUESTION:
    I NEED TO KNOW HOW I CAN STOP SERVICES SHORT TIME. TO CHANGE TO SNEW SERVER.
    THANKS FOR YOUR SUGGESTIONS

    Здравствуте Ivan.
    Before i would do anything like this i would make sure that i have a good valid backup (just in case!).
    I would check all the applications that are currently conencting to your ORacle and make sure they are all conneting 'by name' not the IP. Or and then i would check DNS server (make sure nslookup is working) to makesure that everything resolves correctly after the moving DB to another machine.
    Then check that the oracle_home etc are in the same directory and check that all paths etc in the configurations are the same.
    Hope this helps
    Kind Regards

  • Migrating master database to another server (DR testing).

    So I was tasked to do some DR testing, by moving one of our environments to another.  I was tasked with moving 1 user database called Vant, master, and msdb.  I managed to accomplish it, but it wasn't easy and a little messy.  I'm looking
    to see if you guys can help me clean my steps up a bit.
    Environment backgroud.
    Both environments are SQL Server 2012 Enterprise
    Build: 11.0.3368
    Instance Name: Default
    Process
    I took all 3 backups from my source server and placed it in a network location where my destination server can access.
    1) I began by trying to restore master database by placing my instance in single user mode, backup restored.
    2) when I removed the destination instance from single user mode, the service would not start, did this a couple of times, but no luck.
    3)I also made sure the startup parameters were pointing to the right folder location
    4)Then I thought, maybe it was the folder location where it restored to, that was causing the problem because they were different; so I went ahead moved master into a folder location that would match the source, i also changed the startup parameters, but
    the instance still wouldn't start
    5)So then I checked the event logs, and noticed that SQL Server was looking for databases that were on the Source Instance, as well as some of the system databases that I hadn't moved the files to the new folder location
    6)Restored the original master database from the destination server so that I could get the service going
    7) moved all the system databases from the old folder location on the destination server to where master now resided; created two empty databases with the names the event log was looking for.
    8)Restored master database from source server, and the service finally started up
    9)When I went into SSMS, I noticed that the two empty databases I created were in recovery pending
    10) dropped one of the databases I didn't need, and restored the Vant database, as well as msdb; everything looks good.
    So there it is, I totally don't feel good about this.  I don't like the fact that the databases came up in "recovery pending" and also that I had to create the databases it was looking for before I could restore and start up the service, but
    maybe that's just how it is.  Any advice you can give me on how to clean this up would be much appreciated.

    Hi,
    Did you reffered to Microsoft doumentation on how to move system databses.
    http://technet.microsoft.com/en-us/library/ms345408(v=sql.110).aspx
    For user databse backup when you restore on different server you use with move option to physically give location to mdf and ldf files.
    Moving system database is little tricky
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
    My TechNet Wiki Articles

  • Best way to move Oracle database to another machine

    Hello,
    I'm trying to find the best solution for that case:
    On first Unix machine I'm running 10g database. Whole oracle (binary files + datafiles + index + redo) takes about 350GB from my first storage.
    On second Unix machine (and second storage) I'd like to run exactly the same instance (the first one is going to be a backup server).
    I work in real OLTP environment, and I can only afford a 4-5 hours of downtime (in the night) to move from server 1. to 2.
    Could you recommend me the best solution for moving database to no. 2. My problem is, that between storage 1. and storage 2. I've only 30MB/s bandwidth, sequence:
    1) instance_on_1: shutdown immediate
    2) scp /u01/oracle server2:/u01/oracle
    3) instance_on_3: startup
    will take about 3-4 hours, so I would have no time to additional tasks.
    Best regards
    R.

    user2676302 wrote:
    Hello,
    I'm trying to find the best solution for that case:
    On first Unix machine I'm running 10g database. Whole oracle (binary files + datafiles + index + redo) takes about 350GB from my first storage.
    On second Unix machine (and second storage) I'd like to run exactly the same instance (the first one is going to be a backup server).
    I work in real OLTP environment, and I can only afford a 4-5 hours of downtime (in the night) to move from server 1. to 2.
    Could you recommend me the best solution for moving database to no. 2. My problem is, that between storage 1. and storage 2. I've only 30MB/s bandwidth, sequence:
    1) instance_on_1: shutdown immediate
    2) scp /u01/oracle server2:/u01/oracle
    3) instance_on_3: startup
    will take about 3-4 hours, so I would have no time to additional tasks.
    Best regards
    R.Hi and welcome to forum. Why don't you want to use DUPLICATE DATABASE command of RMAN to duplicate the databsae without any downtime?

  • Is it good idea to move 500GB database to another drive?

    Hello Experts,
    I have Exchange server 2013 on Windows server 2008 R2 Standard. All the roles are installed on single server.
    I have a single database in D drive and the size of database is around 500 GB, The drive is about to full.
    I have another partition(E drive) with 1.8 TB storage and planning to move this database into this drive? is it good idea to move this size (500 GB) database to another drive?
    Or 
    Should I create a new database in other drive, which has 1.8 TB storage and move mailboxes one by one.
    Please let me know, what is the best practice for it.
    Thanks in advance!!
    Thanks, Manoj

    Hi,
    There is no downtime if you create new database on new drive and move mailbox to it. Moving mailbox doesn’t shrink the old database file, you need to delete the original database after you moving mailbox to new database.
    Best regards,
    Belinda Ma
    TechNet Community Support

Maybe you are looking for

  • Why is the number of photos in the Photos app different than the number of photos in iPhoto on the Mac?

    I have an iPhone 4S and a MacBook Air. On the MacBook Air, in iPhoto, the number of photos is 3,563 (this is the number that appears next to the word Photos under library in the left hand pane). When I synch my phone with iTunes, I've selected Synch

  • I am not able to answer the call from i phone 5 after updating ios7 can u assist me to solve

    after updating while ringing call not able to answer i restart and reset but still some call  scren is hanging not able to answer can u assist me what to do next please

  • IQuiz goes very very slow...

    I have the game iQuiz, I have 2060 songs on my iPod. When I advance to another level in Music Quiz 2, the loading icon in front of the the big red X and green checkmark does not move much. More like, 1/4 turn at the most. Also, the when I complete a

  • Change and set Focus of window

    HI Guys I have encountered a problem while setting focus of my application's windows. i found the way i.e. by public void windowGainedFocus(WindowEvent wgf) {                     if(this.isActive()){                VWM.theVWMDetailWindow.setAlwaysOnT

  • Cannot see zipped files in Windows Explorer

    I used the code below to create a zip file. When I use Winzip to open a zip file named test.zip, I can see all the files (a.txt, b.class, etc.) that have been zipped. But, when I double-click on the test.zip in Windows Explorer (Windows XP Profession