Faster way to migrate from Single byte to Multi byte

Hello,
We are in the process of migrating from a 9i Single byte db to a 10g Multi byte db. The size of our DB is roughly 125 GB. We have fixed everything in the source database (9i) in terms of seamlessly migrating from a single byte to a multi byte db. The only issue is the migration window - curently we are doing an export/import since there is a character set migration involved and it's taking about 20+ hrs to do the import in 10g. The management wants to cut this down to less than 10 hours, if that's possible. I know the duration it takes to import depends on many factors like the system/OS configuration, SAN, etc but I wanted to know what , in theory, is considered the fastest method of migrating a database from single byte to multi byte.
Have anybody here gone through this before?
Thanks,
Shaji

If the percentage of user tables containing some convertible data (I am assuming you will not have any truncation or lossy data) is low, you can export only those tables, truncate them, and rescan the database. This should report no convertible data, except some CLOBs in Data Dictionary. Such database can be migrated to AL32UTF8 using csalter.plb. After the migration, you import only the previously exported subset of tables.
Note, for this process to work, no convertible VARCHAR2, nor CHAR, nor LONG data can be present in the Data Dictionary.
The process should be refined by dropping and recreating indexes on the exported tables as recreating an index is faster then updating it during import. You should also disable triggers so that they do not interfere with the migration (for example, they should not update any "last_updated" timestamp columns).
If the number and size of affected tables is low compared to the overall size of the database, the time saved may be significant.
There may also be tables that require even more sophisticated approach. Let's say you have a multi-gigabyte table that stores pictures or documents in a BLOB column. The table also has a single text column that keeps some non-ASCII descriptions of the stored entities. Exporting/truncating/importing such table may be still very expensive. A possible optimization is to offload the description column to an auxiliary table (together with ROWIDs), update the original column to NULL, export the auxiliary table, drop it, rescan the database, migrate with csalter.plb, re-import the auxiliary table, and restore the original column. If pictures alone occupy, for example, 30% of the whole database, such approach should yield significant time saving.
-- Sergiusz

Similar Messages

  • Migrating from single-node to multi-node (2 Node)

    Hi,
    We have decided to migrate our existing 11.5.9 application from single-node to 2 Node(multi-node). Please let me know what services should reside on each node (Recommended by Oracle).
    Forms, Reports, Apache on one node and CM, Admin, DB on another ?
    (or)
    DB on one node and all other on another node ?
    And please let me know the steps I should follow to achieve the task as well.
    Thank & Regards,
    Abdullah

    Hi;
    I suggest please review our previous posts and check notes:
    shared appltop/distributed appltop
    Re: two nodes
    In R12 shared appltop/distributed appltop
    shared appltop -Which node
    Re: shared appltop
    Shared appltop in R12
    Shared appltop in R12
    shared APPL TOP or shared application
    shared APPL TOP or shared application
    Regard
    Helios

  • What's the best way to migrate from an old iMac to a new iMac?

    What's the best way to migrate from a 2010 iMac running Yosemite to a new 2014 iMac?

    Hello jonfromnorth caldwell,
    The article linked below details how to utilize target disk mode to transfer files. This can also be used in conjuction with Migration assistant to transfer your information quickly (the 2010 iMac will appear as a storage device to the new iMac).
    OS X Yosemite: Transfer files between two computers using target disk mode
    http://support.apple.com/kb/PH19021
    OS X Yosemite: Transfer your info from a computer or storage device
    http://support.apple.com/kb/PH18870
    Cheers,
    Allen

  • Migrate from single instance to RAC manually

    Hi,
    I have a 10g database running in single instance.I have installed grid 11.2.0.2 in two nodes including the node where current instance is running,I have installed 10g again in a seperate mount point in both the nodes .It has the same patches as single instance 10g home.Now how to migrate from single instance to RAC manually.
    Thanks,
    Sekar

    -restore this database into 11g ASM if its not already on ASM.
    -upgrade this database to 11g from 10g on single instance.
    -Now Converting Single Instance on a Cluster to Oracle RAC ,here you have different option to perform this once its 11g database after upgrade.
    using rconfig
    using dbca or manually.
    see detail here
    http://docs.oracle.com/cd/E11882_01/install.112/e24660/cvrt2rac.htm#autoId9

  • Convert from Single Org to Multi-Org

    Hi All,
    Can someone tell me what are the steps to convert from Single Org to Multi-Org ?
    Is it only the profile value 'MO: Operating Unit' to be setup ? or any other steps to be setup ?
    Regards
    Jhansi

    Jhansi,
    Please see the following:
    Note 259546.1 - Setting Up Multiple Organizations in Oracle HRMS
    Regards,
    Greg

  • How to do data migration between single node and multi node HANA systems ?

    Data migration between single node and multi node HANA systems ?
    What are limitations ?
    What should be the best practices ?

    Data migration between single node and multi node HANA systems ?
    What are limitations ?
    What should be the best practices ?

  • Migrate from single server to multiserver path?

    I'm looking to move from a single Exchange 2013server to multi server for HA, i.e. multiple database servers and client access servers. What the best way to migrate? I would like to keep the existing single server as a client access server. I'll
    be using a hardware load balancer for the client access servers.  Existing 2013 Exchange server has Windows 2012 Datacenter installed.
    Can just make a new database sever and create a DAG then create a new client access server then configure the load balancer?
    Thanks for any input on how to migrate from a single server to multiple server for additional HA.
     

    Is there any benefit to using Server 2012 R2 vs Server 2012 R1? The single server is currently Server 2012 R1.  Can I do an in place upgrade from 2012 R1 to R2 without messing up Exchange?
    Here's my thoughts so far:
    1. Make 3 additional 2012 R1 servers
    2. On 2 of the servers install additional Exchange servers with mailbox database roles (it appears each new mailbox server comes with a database which I'll delete).
    3. On the last new server, install CAS role
    4. Create DAG with all 3 servers with database role
    5. Add production database copies to DAG
    6. Configure load balancer for CAS load balancing
    Thoughts?  Is the production database on the single server available while a copy is being made to the new mailbox database servers? Also, I thought I read some where to move mailboxes to DAG, but I don't see why if I can just add copies of the existing
    database to the DAG group.
     

  • Migration from Single Node to RAC Node

    Hi,
    We are planning to migrate the Database from Single-Node to RAC Node. Are there any checklist list to be considered regarding Performance, System and Database ( or any other topic), before migrating to RAC.
    Thanks

    If it is already the same version, you will need to focus any "single-threadedness" of the application like sequences that are mandatory sequential, "semaphore-style" locking etc...
    My experience is that going RAC and in particular to ASM can give a performance boost. If it is the same version (11gR2 for example) then any statistics-related performance issues will still be there.

  • Migrating from single processor to dual processor Callmanager

    Hi Networkers,
    had anyone install a Callmanager 4.1 dual processor version of CM4.1-K9-X345D= before in a single CPU in a dual processor capable server before.
    Can it work in the first place?
    Had anyone successfully migrate it to a dual-processor later on?

    I dont think there is any difference in Callmanager software for a dual processor versus single processor server. For 7845 (dual processor) the hardware detection disks may be different from the one for single processor (7825, 7835)
    Migrating from one to another is as easy as taking a BARS backup from one server, build the other server to the same version and restore it. (Make sure server name and ip are the same for both servers)
    Please remember to rate posts!

  • What's the best way to migrate from Macbook to Macbook Pro with renting?

    Having trouble migrating from old Macbook to new Macbook Pro with Retina Display.  It seems I skipped some steps and it looked like it was working over wifi but there were password problems I didn't find out until I quit the process after about 5 hours.  How long should it take over wireless?  Should I skip that altogether?

    Hi,
    In addition, please review the link below and hopefully it will help you.
    Migrating Hierarchies in System Center 2012 Configuration Manager
    http://technet.microsoft.com/en-us/library/gg682006.aspx
    Migration to System Center 2012 Configuration Manager
    http://blogs.technet.com/b/server-cloud/archive/2012/03/27/migration-to-system-center-2012-configuration-manager.aspx
    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.

  • Domain Migration :from single domain to multiple domain.

    Hi ,
    We have an urgent requirement for the domain migration
    The scenario is currently we are using MS AD as LDAP server to store portal users and thier credentials.
    Lets say we have current domain name as : ad.abc.com
    we are planning to migrate from this domain to number of domains.our requirement is to move the portal users into thier specific domain in batches.eg out of 5 users 2 has been moved to new domain and other 3 are still in ad.abc.com.
    But after domain migration ,all the 5 users <b>should</b> be able to access all the applications and functionality of portals.
    What should we do to achieve the same?
    How portal applications will be affected by this?Can all the users access all applications without fail?
    What exactly the LDAP does in portals?
    Any help will be greatly appreciated
    Thanks in Advance
    Amit

    Hi,
    Yes, you need to prepare Active Directory and domains.
    What's more, you need to upgrade existing Exchange 2007 servers to Exchange 2007 Service Pack 2 at least.
    Here is an article for your reference.
    Exchange 2007 - Planning Roadmap for Upgrade and Coexistence
    http://technet.microsoft.com/en-us/library/dd638158(v=exchg.141).aspx
    Hope it helps.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Domain migration: From single domain to Multiple

    Hi ,
    We have an urgent requirement for the domain migration
    The scenario is currently we are using MS AD as LDAP server to store portal users and thier credentials.
    Lets say we have current domain name as : ad.abc.com
    we are planning to migrate from this domain to number of domains.our requirement is to move the portal users into thier specific domain in batches.eg out of 5 users 2 has been moved to new domain and other 3 are still in ad.abc.com.
    But after domain migration ,all the 5 users should be able to access all the applications and functionality of portals.
    What should we do to achieve the same?
    How portal applications will be affected by this?Can all the users access all applications without fail?
    What exactly the LDAP does in portals?
    Any help will be greatly appreciated
    Thanks in Advance
    Amit

    Hi,
    Yes, you need to prepare Active Directory and domains.
    What's more, you need to upgrade existing Exchange 2007 servers to Exchange 2007 Service Pack 2 at least.
    Here is an article for your reference.
    Exchange 2007 - Planning Roadmap for Upgrade and Coexistence
    http://technet.microsoft.com/en-us/library/dd638158(v=exchg.141).aspx
    Hope it helps.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Is there an easy way to migrate from Outlook 2007 on the PC to Mac Mail?

    Upgraded to a new Macbook Pro. I have a laptop with Office 2007 with Outlook 2007. What is the best way to migrate to the new Macbook Pro? Also, If I set up the cloud, will it sync with Mac Mail (Do I have to have an @ icloud.com email or can I use the email I registered with ICLOUD?)
    Thanks for your help.
    Richie

    Create the zone, and migrate like a physical server -- but take care with your storage. You'll either have to add the devices into the zone's configuration or loopback mount them into the zone.
    Either way works.

  • Faster way to migrate data from SQL Server to Oracle 10g

    We have to migrate data from SQL Server to Oracle 10 g.
    One particular table on SQL Server has records around 1.25 millions.
    We tried moving data using DTS package, but looks it will take hours with current speed of 300 records/minute.
    This table has TEXT column, which has XML strings stored. I am not sure, if this is the reason for slow migration.
    Would you please suggest better options to migrate it faster?
    Thanks in advance !!!

    Have you tried Migration work bench?

  • Converting from Single Byte to Multi Byte character set

    Hello,
    I'm trying to migrate one schema, including data, from a 10g (10.1.0.2.0) DB with IW8ISO8859P8 character set, to a 10g (10.2.0.1.0) DB with AL32UTF8 character set.
    The original tables are using VARCHAR2 columns, including some VARCHAR2(1) columns.
    I'm trying to use exp and imp for the task, but during import I'm receiving errors like:
    IMP-00019: row rejected due to ORACLE error 12899
    IMP-00003: ORACLE error 12899 encountered
    ORA-12899: value too large for column "SHAMAUT"."TIKIM"."GAR_SET" (actual: 2, maximum: 1)These errors are not limited to the one-character columns only.
    Is there a way to export/import the data with AL32UTF8 in mind, so the system will automatically convert the data properly?
    Thanks for the help,
    Arie.

    It's not a true conversion problem that you have but more a space problem. Tables columns are created by default with the init. parameter NLS_LENGTH_SEMANTICS character semantics:
    If NLS_LENGTH_SEMANTICS = BYTE
    then 1 character = 1 byte whatever the db character set
    If NLS_LENGTH_SEMANTICS = CHAR
    then 1 character = 1 character size for the db character set.
    If this parameter is changed it is only taken into account for newly created tables or columns: existing columns are not changed.
    See http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96529/ch2.htm#104327
    The only solution I see is to enlarge your VARCHAR2 columns before running the import...
    Message was edited by:
    Pierre Forstmann

Maybe you are looking for

  • What is the battery life of N73M

    Dear Moderator , Hi ! i purchased N 73 mobile for my self and N 72 for my wife. Now N 73 drains out in one and a half day while N72 runs for at least 2 to 2and a half days. I have swithched to GSM mode in N73 from first day. Its only 2 months since i

  • Editing issue with DVCpro 50, blak lines right and left

    Hello to everyone, I am editing in native DVCpro 50. In the canvas I get a thin black line left and right, so the footgae is not completely covering the canvas view. Should I resize the footgae a little bit to match this? My problem is that I am brin

  • Cheque print through F-53

    Dear friendsu2026 while I am trying to print Cehque through F-58 I am able to get print preview of Cehque. But I am not getting Payment advice u2026 In the Cehque format system giving message that u2026 u201CWe are sending you separate payment advice

  • How to transfer standard text

    hi,       could u plz tell me  how to transfer the standard test in sap script.       could u plz explain step by step process.   regards rajesh.

  • Error rendering raster image in OracleAS MapViewer Version: Ver1033p5_B0810

    We have installed Oracle 10g and are in the process of testing it. I've loaded a raster image into MapBuilder and created a table, theme, and base map. The theme and base map display fine in MapBuilder 10.1.3.3 patch 5, but when I try to display it i