Migration of Oracle 8i PL/SQL to Oracle 9i PL/SQL

Hi,
Can anybody help me giving information about mandatory requirements to migrate from 8i to 9i. Also please let me know if any documents related to that for PL/SQL and PRO * C migration from 8i to 9i.
Thanks with Regards,
Guru

Are there any issues that you are facing?
If your software was well tuned and working fine under Oracle8i, you may just be able to port it right into Oracle9i without any issues.
Ofcourse, If may also depend upon how the Oracle9i instance and database has been setup by the DBA.

Similar Messages

  • URGENT: Migrating from SQL to Oracle results in very poor performance!

    *** IMPORTANT, NEED YOUR HELP ***
    Dear, I have a banking business solution from Windows/SQL Server 2000 to Sun Solaris/ORACLE 10g migrated. In the test environment everything was working fine. On the production system we have very poor DB performance. About 100 times slower than SQL Server 2000!
    Environment at Customer Server Side:
    Hardware: SUN Fire 4 CPU's, OS: Solaris 5.8, DB Oracle 8 and 10
    Data Storage: Em2
    DB access thru OCCI [Environment:OBJECT, Connection Pool, Create Connection]
    Depending from older applications it's necessary to run ORACLE 8 as well on the same Server. Since we have running the new solution, which is using ORACLE 10, the listener for ORACLE 8 is frequently gone (or by someone killed?). The performance of the whole ORACLE 10 Environment is very poor. As a result of my analyse I figured out that the process to create a connection to the connection pool takes up to 14 seconds. Now I am wondering if it a problem to run different ORACLE versions on the same Server? The Customer has installed/created the new ORACLE 10 DB with the same user account (oracle) as the older version. To run the new solution we have to change the ORACLE environment settings manually. All hints/suggestions to solve this problem are welcome. Thanks in advance.
    Anton

    On the production system we have very poor DB performanceHave you identified the cause of the poor performance is not the queries and their plans being generated by the database?
    Do you know if some of the queries appear to take more time than what it used to be on old system? Did you analyze such queries to see what might be the problem?
    Are you running RBO or CBO?
    if stats are generated, how are they generated and how often?
    Did you see what autotrace and tkprof has to tell you about problem queries (if in fact such queries have been identified)?
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10752/sqltrace.htm#1052

  • SQL to Oracle Migraton - Unable to create source model in Migration Workben

    We are trying to use Oracle Migration Workbench utility to transfer data from SQL to Oracle. when we start creating the source model we get the following error :-
    failed to load source model ora-01401 inserted value too large for column.. this is the error at the ss2k_syslogins table. this is a logical model creation from sql server db.
    In case if this is a data issue with the syslogins table/view, is there any way to overcome this or whether we can do any settings at Workbench Level to overcome this..
    Thanks in advance,
    John.

    I think I figured it out.
    1 - I used the Migration Work Bench that came with the 9.2.0.1 client - BAD IDEA.
    2 - I down loaded the OMWB (10.x) - GOOD IDEA. I also downloaded the plugins so that the versions would match each other. Get rid of any existance of the 'old' OMWB directory under the OracleHome, so as not to get confused.
    3 - I realized that you just extract the OMWB.zip file to the C: drive like some third world DOS application, so it won't show up in under your start menu.**
    **I find this kinda cheesy that the Oracle installer is not involved here to add it to the Oracle Configuration and Migration menu in start up. I suppose you can copy the unzipped struture over top of the existing clint directory structure, but still dumb.
    3 - The other odd piece, you down load the plugin as a zip (and not a jar), BUT DON'T UNZIP IT!! Rather place it in the ..\plugins directory, underneath wherever you unzipped the OMWB, and RENAME IT with a .JAR extension (again don't unzip).
    4 - Make a shortcut on your desktop to the omwb.bat file (from where ever you unzipped the OMWB product)
    5 - Fire up that icon and the product will look at the new .JAR in the plugin folder and 'tada', you have OMWB with your specific database plugin available.
    The new product didn't hang for me. Now I just need to figure out how port this into a shema name OF MY CHOSING, and not the generic OMWB_Login1 that it created.
    I f anyone has info on that, let me know.... I think its in the destination creation (step two of the whole process).
    Jeff Ferrel - State of Nevada

  • How do I migrate MS SQL to Oracle in SQL Developer 1.5

    Hello,
    When creating a Database Connection in SQL Developer 1.2 I could see MS SQL but this no longer happen in SQL Developer 1.5. So how can I migrate MS SQL to Oracle Database?
    Ming Man

    Thanks Barry,
    It appears after I choose Help -> Check for Updates... then download the JTDS driver.
    Ming Man

  • What methods are available to migrate Data from MS SQL to Oracle DB 11g.

    Hi,
    Need to know the No of ways/ Techniques via we can Migrate data from MS SQL Server to Oracle DB 11g.
    Thanks ,
    NL

    hi,
    i came across this link in oracle demos :
    http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
    the migration process using sql developer
    br,
    mrak

  • Tools for migrating data (documents) from MS SQL to Oracle

    Hi,
    Please let me know if there any tools available for migrating documents from one database like MS SQL to Oracle. Currently our documents are stored in MS SQL and we are planning to implement KM for document management with Oracle as the database.
    Regards,
    Suresh

    The old manual style still works - create the scripts for the migration objects, then use search & replace to rename the schema for all affected objects and finally run the SQL script to create them in the Oracle database.
    - Klaus

  • Help me please to migrate from MS SQL to Oracle

    Hi all,
    we are in process of migration from MS SQL to Oracle.
    Please help me to perform the same in Oracle:
    select number+1 as rowid,number*6+1 as rowbeg,number*6+6 as rowend 
    from master.dbo.spt_values
    where type='P'
    Our Oracle version:
    select * from v$version
    BANNER                                                                         
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production   
    PL/SQL Release 11.2.0.2.0 - Production                                         
    CORE 11.2.0.2.0 Production                                                     
    TNS for 64-bit Windows: Version 11.2.0.2.0 - Production                        
    NLSRTL Version 11.2.0.2.0 - Production                                         
    5 rows selected.

    996831 wrote:
    Here is another solution without "connect by":
    select 1 as rnum, 1 as rowbeg, 6 as rowend from dual
    union all
    select rownum+1 as rnum,rownum*6+1 as rowbeg,rownum*6+6 as rowend
    from all_objects
    1
    1
    6
    2
    7
    12
    3
    13
    18
    4
    19
    24
    5
    25
    30
    6
    31
    36
    7
    37
    42
    (et cetera).
    This needs the user to have access on all_objects view and it will limit the result upto the numbers of objects returned by the all_objects view.

  • Migrating from SQL to Oracle 9i on Linux

    Hello
    I need to know where can I find information on migrating database from
    SQL to Oracle - 9i on Linux.
    Are there any tools available for this.
    Thanks & Regards
    Prakash
    [email protected]

    Prakash,
    At the moment we recommend running the Oracle Migration Workbench on Microsoft Windows and connecting to the Oracle 9i server by Oracle networking (sql*net). We apologise for any inconvenience this might cause. The released Oracle Migration Workbench for linux is an old version and the current version on Microsoft Windows is much improved. I am not clear what you mean by SQL, the workbench supports migration from products by Sybase, Microsoft, Informix, IBM and MySQL, see the support and plugin download web pages for database product names and version numbers, of the databases to be migrated from.
    I hope that helps,
    Turloch

  • How can i migrate Power Builder 8.0 Function into oracle PL/SQL

    Hi Oracle Experts...
    How can i migrate Power Builder 8.0 Function into oracle PL/SQL.. I had migrate some of the coding from PB to PL/SQL. But i don't know how can i convert PB structure(here structure is a data type) into oracle PL/SQL.
    Instead of structure what is the equivalent in oracle plsql
    Below i pasted my POWER BUILDER FUNCTION:
    Long ll_perd,ll_lnperd,ll_mon,ll_effmon,ll_instno,ll_odno
    Decimal{5} ldl_actual,ldl_diff,ldl_inst
    Datetime ldt_first,ldt_exp,ldt_oddt, ldt_lastprod
    String ls_instmode,ls_inst
    str_batch lstr_od //Structure to store odamt and oddate
    Select pay_c_final,lon_d_expiry, lon_d_lastprod
    Into     :ls_inst,:ldt_exp, :ldt_lastprod
    From      loan_mast
    Where branch_c_code = :gs_branch and
              act_c_type      = :as_actype and
              act_c_no           = :as_acno;
    If Sqlca.Sqlcode = -1 Then
         f_message('FT-0189',Sqlca.Sqlerrtext)
         lstr_od.batchslno = -1
         Return lstr_od
    End If
    If adt_prodt > ldt_exp Then
         Select Ceil(months_between(:adt_prodt,:ldt_exp)) Into :lstr_od.batchslno From dual;
         lstr_od.cheqdt = ldt_exp
         lstr_od.batchslno = DaysAfter(Date(ldt_lastprod), Date(adt_prodt))
    Else
         If ls_inst = 'N' Then
              If adt_prodt > ldt_exp Then
                   Select Ceil(months_between(:adt_prodt,:ldt_exp)) Into :lstr_od.batchslno From dual;
                   lstr_od.cheqdt = ldt_exp
              Else
                   lstr_od.batchslno = 1
              End If
         ElseIf ls_inst = 'Y' Then
              Select first_d_due,lon_c_instperd,lon_n_perd
              Into     :ldt_first,:ls_instmode,:ll_lnperd
              From     loan_mast
              Where branch_c_code = :gs_branch and
                        act_c_type      = :as_actype and
                        act_c_no          = :as_acno;
              If Sqlca.Sqlcode = -1 Then
                   f_message('FT-0189',Sqlca.Sqlerrtext)
                   lstr_od.batchslno = -1
                   Return lstr_od // Return Structure
              End If
              Select Ceil(months_between(:adt_prodt,:ldt_first)) Into :ll_mon from dual;
              If ll_mon > 0 Then
                   Select Nvl(ln_n_balance,0),Nvl(ln_n_instlamt,0),Nvl(ln_n_instlno,0)
                   Into     :ldl_actual,:ldl_inst,:ll_instno
                   From     loan_inst_sch
                   Where act_c_type = :as_actype and
                             act_c_no     = :as_acno and
                             ln_d_effdate = (Select Max(ln_d_effdate)
                                                           From     loan_inst_sch
                                                           Where act_c_type = :as_actype and
                                                                     act_c_no     = :as_acno and
                                                                     ln_d_effdate < :adt_prodt);
                   If Sqlca.Sqlcode = -1 Then
                        f_message('FT-0224', Sqlca.Sqlerrtext)
                        lstr_od.batchslno = -1
                        Return lstr_od
                   ElseIf Sqlca.Sqlcode = 100 Then
                        lstr_od.batchslno = 1
    *                    Return lstr_od*
                   End If
                   If adl_bal > ldl_actual Then
                        If ldl_inst > 0 Then
                             lstr_od.batchslno = (adl_bal - ldl_actual) / ldl_inst
                        End If
                   Else
                        lstr_od.batchslno = 1
                   End If     
                   If lstr_od.batchslno = 0 Then lstr_od.batchslno = 1
                   //For full OD
                   If ll_mon > ll_lnperd Then
                        lstr_od.batchslno = (ll_mon - ll_lnperd) + lstr_od.batchslno
                   End If
                   If ls_instmode = 'Q' Then
                        lstr_od.batchslno = lstr_od.batchslno * 3
                   ElseIf ls_instmode = 'H' Then
                        lstr_od.batchslno = lstr_od.batchslno * 6
                   ElseIf ls_instmode = 'Y' Then
                        lstr_od.batchslno = lstr_od.batchslno * 12
                   End If
                   Select :adt_prodt - :lstr_od.batchslno Into :lstr_od.cheqdt From dual;
                   If ls_instmode = 'M' Then
                        ll_odno = ll_instno - lstr_od.batchslno // To get OD Date
                        Select ln_d_effdate
                        Into     :lstr_od.cheqdt
                        From     loan_inst_sch
                        Where act_c_type = :as_actype and
                                  act_c_no     = :as_acno and
                                  ln_n_instlno = :ll_odno;
                        If Sqlca.Sqlcode = -1 Then
                             f_message('FT-0224', + Sqlca.Sqlerrtext)
                             lstr_od.batchslno = -1
                             Return lstr_od
                        End If
                   End If
              Else
                   lstr_od.batchslno = 1
              End If
         End If
    End if
    Return lstr_od
    Thanks in adance
    Arun M M

    What are you going to return the structure to? What I would normally use here if the code was going to be used by other PL/SQL would be a PL/SQL object type.
    However, if PowerBuilder is still in the equation (you're moving the logic to PL/SQL but keeping PowerBuilder for the GUI ), then you'll have to return something else, because PowerBuilder doesn't understand PL/SQL object types. Perhaps passing a REF CURSOR as a OUT argument and populating it from the procedure. PowerBuilder could then retrieve the result of the procedure using a stored procedure based DataWindow.

  • Migration from Oracle 9i 32 bit to Oracle 10G 64 bit on Windows 2003 Server

    I am working on migrating Oracle 9i 32 bit to Oracle 10G 64 bit on Windows 2003 from Old server to new server. We have db around 500 GB and 3 schemas. I installed Oracle 10G on new server, created tablespaces, schema's blah blah and now doing export and import at schema level from old server to new server.
    Import is taking more than 4 to 5 hours on new server. My manager is saying, window time is bit longer and he wants me to try possiblities to make this process faster. Can some one help me on this, to use the best possible method to complete this process faster?
    Will below step work, if I try?
    If I install, oracle 9i and 10g both on new server in different home directories and take the hot backup from old machine and restore on new machine in 9i home directory and use the upgrade configuration assistant from 10g and do the upgrade? Pls advice.
    Thanks in advance,
    Hari babu
    Edited by: user6367891 on Mar 2, 2010 5:28 AM

    It looks good.
    I have one question in below steps:
    To migrate an Oracle9i or older database to an Oracle Database 10g Release 1 (10.1) database for 64-bit Windows:
    1 Perform steps 1 - 11 in "Migrating an Oracle Database 10g Release 1 (10.1) Database".
    2 Shut down the database on the 64-bit computer:
    SQL> SHUTDOWN IMMEDIATE;
    3 Start the database migration:
    SQL> STARTUP MIGRATE;
    4 Migrate the database as described in Chapter 3, "Upgrading a Database to the New Oracle Database 10g Release" in Oracle Database Upgrade Guide.
    In step 4, it says, migrate database as described in chapter 3. In chapter 3, it says, to do the upgrade the process using dbca or manually. Pls confirm whether do the upgrade process after issuing startup migrate or not.
    Thanks in advance.

  • Error while migrating from ms access 2003 db to oracle 10g in sqldeveloper

    Hello,
    i am working on migration project from MS access 2003 to Oracle 10g on windows XP sp2 plateform using SQL developer.
    it went quit smoothly till the "capture microsoft access" .so in this step the sql developer opens the access db in background... but while opening the file in background it gives error
    Object library not registered i tried many workaround but of no use..
    anybody's help in this regard would be well appreciated.
    thanks.

    Hi,
    Did you follow all the steps in the SQL*Developer documentation about preparing the Access database for migration -
    Oracle® SQL Developer User’s Guide Release 3.0 -
    2.2.4.3 Before Migrating From Microsoft Access
    and -
    Oracle® SQL Developer Supplementary Information for Microsoft Access Migrations Release 3.0
    2.4 Preparing the Microsoft Access Database for Capture
    The error also indicates there may be a problem with your Access installation so could you check that everything is okay with that ? I have found references that indicate a re-install of Office/Access will prevent the error.
    Regards,
    Mike

  • OLAP data from MS SQL to Oracle

    Hi,
    I am currently using Microsoft SQL server 2000 as our datawarehouse with Analytic services(OLAP data).
    We are thinking of migrating to Oracle 10g. By using Migration Workbench, will it migrate my 3 dimensional data(OLAP) from MS SQL to Oracle (OLAP) ?
    Thank you.
    Best Regards,
    Ian Ho

    This could happen if you are using improper LKM
    So depending on your source and staging database you choose the corresponding LKM
    for example:
    If you are using MS SQL Server as your source and Oracle database as the staging database, then you should be using lKM SQL to Oracle

  • Frequently transfering databases between MS SQL and Oracle

    Hello all,
    I am looking for a solution to easily, efficiently and be able to migrate/transfer databases between MS SQL and Oracle frequently.
    I need to be able to replicate a databases on Ms SQL and Oracle for testing purposes. I will need to do this on frequent basis - almost once a week.
    Please suggest what would be the best way.
    Thanks in advance.

    Hi Justin,
    You have guessed it right to a great extend. Yes dont actually need to develop, rather need to test an application that supports SQL and Oracle databases. Now when testing the application its obviously vital to create proper systematic test data. This usually takes a lot of time and effort from the testing team/team-member. So, yes what I need to do is create the test data on one database(may it be SQL or Oracle) and migrate/transfer the data into the database on another server( ie. SQL to Oracle or Oracle to SQL).
    So,
    Are you developing a product that works against both SQL Server and Oracle and trying to synchonize development efforts?Yes, thats correct to extend, I need to test an application against both the servers, as it supports both types of databases, and try to reduce the test setup efforts (literally double the amount) that go in after manual creating same data on each type of database.
    Are you trying to replicate structural changes between systems?I am not 100% sure, what you mean by this. But whats important and enough for me is to replicate the data. It would not be a lot of work to run the scripts and create empty schema objects.
    Are you trying to replicate data changes between systems? The fact that you're only doing this weekly suggests that you're not working in a traditional replication environment.Yes, again as I mentioned above. It would be sufficient for me to just get a copy of the initial dataset. And then replicating changes to it would not be that important. However, if I can achieve a solution to this, I can by all means create a new database on the one server (SQL or Oracle) and take the data-set of the most recent/correct changes and replicate it on the other type of server as and when needed.
    No - this is not a traditional replicating environment. I say weekly, because it is usually once in a week or forthnight that someone from the team will need to spent time to manually copy the test-data onto the another type of server in order to run the same testcases on two types of servers.
    How do you handle conflicts (i.e. if I modify a row in both systems, which modification wins)? This is not really a problem in my scenario, as I only need to be able to transfer the data across to the different server and forget about the two databases actually being in-sync.
    I have also, looked at DTS for a possible solution on SQL, however it seems highly un-realistic, having to map somewhere like 250 tables from the a drop-down list, only because the two database servers use different cases to represent tables internals. So, table 'Table' in my application's SQL database is called 'TABLE' is my applications Oracle database. DTS is highly inefficient in dealing with this. Also, having 250 tables move makes this a bit of a pain.
    Thank you Justin for your response; I highly appreciate your inputs.
    Regards, Nisarg

  • How to migrate sybase esql files(.cp files) to oracle pro*c files(.pc files

    I need to migrate sybase esql files(.cp files, c file with sybase embedded sql) to Oracle pro*c files (.pc files, c file with oracle embedded sql) , could anyone let me know whether there are any tools for this or the process how to migrate.
    Thanks in advance.

    I don't think there are any commercially available tools that can do this particular type of conversion. Your best bet is to re-write the app or try something like this: http://linux.windows9download.net/go/3-153300-0-download.html (open ESQL) that supports multiple databases. I don't know how good it is or if it will work with latest versions of Oracle so no guarantees. Our old migration workbench used to convert the Informix eSQL C programs to Pro*C but no Sybase esql c.
    Regards
    Prakash

  • SSIS From SQL To Oracle

    Hello,
    I just need to move data from 1 table in SQL to Oracle on demand. Is there an easy way to use SSIS package to achieve this goal without using link server?

    Hi Frank,
    Do you use the Microsoft OLE DB Provider for Oracle? If so, it may be a known issue described in the article
    Data Access Technologies Road Map:
    Oracle ODBC and Oracle OLE DB: The Microsoft Oracle ODBC Driver (Oracle ODBC) and Microsoft OLE DB Provider for Oracle (Oracle OLE DB) provide access to Oracle database servers. They are built by using Oracle Call Interface (OCI) version 7 and provide
    full support for Oracle 7. Also, it uses Oracle 7 emulation to provide limited support for Oracle 8 databases. Oracle no longer supports applications that use OCI version 7 calls. These technologies are deprecated. If you are using Oracle data sources, you
    should migrate to Oracle-supplied driver and provider.
    So, please use the Oracle OLE DB Provider and check the issue again.
    Besides, the issue has been fixed in SQL Server 2012. If you are using SSIS 2012, make sure the Run64BitRuntime property of the IS project is set to False if you have only 32-bit Oracle driver installed.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Migrate data from PostgreSQL 7.2 to oracle 9i on Linux

    Kindly guide me on how to migrate data from PostgreSQL 7.2 to oracle 9i on Linux. Please provide me a performance comparision between Orcle 9i on Linux and on windows 2000
    thanks

    Hi Geo
    We do not currently have tools to support Postgres to SQL migration. However, there are tools currently under developement which may help you in the future. In the meantime, there are some useful articles on postgres.org web site. See http://archives.postgresql.org/pgsql-sql/2002-10/msg00352.php
    We do not have comparison docs bertween Oracle on UNIX and Oracle on Windows as the the main code base is identifical. There are some artchitectural changes on windows where Oracle background processes have been implemented as threads and are installed as Windows services. More information on the architectures on both platforms can be found on the following sites:
    Oracle on Windows
    http://otn.oracle.com/tech/windows/index.html
    Oracle on Linux
    http://otn.oracle.com/tech/linux/index.html
    http://oss.oracle.com
    cheers
    Jan

Maybe you are looking for

  • Error message from web - when opening pdf files

    Hi, I receive the following error message a lot when I try to open an educational pdf file from the web.  What do I need to do to 1. see, 2. print and 3. save these type of educational pdf files from the web?  I am using a MacBookPro OS X. Thanks for

  • Leading and non leading ledger balances do not match in FAGLB03

    Hi, Balance for period 5 as per FAGLB03 for leading ledger (0L) is say $104. The same balance as per nonleading ledger is $176. I checked in FAGLF03 and no difference exists there. The issue is only with period 5, the other periods display the balanc

  • PO in backend classic scenario

    Hi experts I am triing to create Po in backend from a catalog shopping cart but an error occur ERROR CREATING SUBSEQUENT DOCUMENT` But no log that help me to solve the problem are displayed. Im PPOMA_BBP the users have BSA atribute ECPO. IN Define Nu

  • Peak time connectivity useless

    Hi I'm still having problems with my connection. Evenings and weekends especially, where it can take 10 - 15 minutes of retries to get a web page to load. Eventually i give up and use my phone ! My service has been degrading over the last 6 months an

  • Extend Range of Linksys WRE-54G using Airport Express?

    I have a Linksys WRT-54G as my wireless router. I am currently extending its range across my house using a Linksys Range Extender WRE-54G. I want to connect a stereo and a PS3 in the basement to the network, using my Apple Airport Express. When I con