How to import ORacle 7 database to Oracle 10g by using OWB?

Hi, I have an old Oracle 7 database that I want to import into an Oracle 10g database by using OWB. I have made an odbc connection to the Oracle 7 database, and the dblink is working when I test it through SQL Plus, and I also manage to see the source tables in the import wizard. But after I have selected the tables I want and "execute", then an error comes up that I can not figure out.
I am using Microsoft Oracle odbc driver on a Windows 2003 Server. I tried to use the ORacle 10g odbc driver, but then I could not connect to Oracle 7. I got a message about a specified driver that could not be loaded due to system error 127.
Anyway, I can connect and see the tables by using the Microsoft ODBC driver, but it will not import the metadata.
Is there a tutorial or something about how to import through an odbc connection?

Ronny,
It's not possible to create a database link from 10g to 7. See the following Metalink article:
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=207303.1
To use the database link approach you'll need to create a 9.2 'hop' database -- a database who's sole purpose is to allow connections from 10g and from which you can connect to 7.
However OWB itself won't read metadata out of a 7 database, so you'll need to do some manual work -- eg create views on the 9.2 database for the tables on the 7 database that you want to read from.
Another potential solution is to use the heterogenous data services to connect via ODBC to the Oracle 7 instance; again OWB might not be able to read the metadata in which case you should create views somewhere where OWB can read from.
I hope my ramblings make some sort of sense :-)
Cheers,
Colin

Similar Messages

  • How to create new database on Oracle 10g

    Hi All,
    Can any one tell me how to create new database on oracle 10g.
    Thanks in Advance for your help.

    again some confusion here.....
    u said u need a new database in your first post and now you saying u need a new schema..
    one database has many schemas(users)..... ex: scott,sys,system are few of them...
    now it depends you need seperate database for test,dev environment - this is in the case u have many schemas under each database and many tables(objects) under each schema.
    OR
    You just need a separate schema (in same db) for test,dev environment...where in you will have multiple tables in each schema...U need to know the dba credentials of the db to create a new schema.
    ideally u need to have different database...You can create one with out sys/system(oracle users) password as these passwords are db dependent.
    what you need is access to the any machine where server is installed(can be the same mc where you have your dev db or a diff machine) and that will be the machine where your db will be installed (can do it through database configuration assistance),ofcourse you will need windows authentication for this.
    so you login to the same machine or access it from your machine using remote login.
    I hope that is clear.Hope i am not listing things that you already know..Just did it coz of confusion between db and schema
    Message was edited by:
    coolguy

  • Oracle Database Migration(Oracle 9.2.0.4 to Oracle 10g)

    I want to migrate my database from Oracle 9.2.0.4 to Oracle 10g XE, is there any method to migrate the database successfully..?
    My plan is to empty the existing database on the Oracle 10g XE then export the database from old machine(Oracle 9.2.0.4-including privilages,users,tables,etc) and import it to the new machine(Oracle 10g XE), but i was worried if I empty the existing database(Oracle 10g XE), all the tables will be gone(including Oracle 10g XE system table that do not exist in older oracle version) and after I import the database to Oracle 10g, I afraid the database will encounter any problem because I've deleted the Oracle 10g system tables.
    Anyone can give me suggestion on how to migrate the database successfully..?
    Thank you.

    What's the Edition of your Oracle 9.2 ?
    I don't think do full export/import from 9i to Oracle 10g XE is good idea. The chance you will have problem after import is very high.
    Instead, you may want to consider do schema user level exp/imp.
    Don't drop any thing belongs to SYS and SYSTEM on 10g XE. Actually you only need to drop the sample users like 'HR'

  • How to import csv data into Oracle using c#

    Hello,
    How to import csv data into Oracle using c #. Where data to be imported 3GB in size and number of rows 7512263. I've managed to import csv data into Oracle, but the time it takes about 1 hour. How to speed up the time it takes to import csv data into oracle. Thank you.
    This is my code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Diagnostics;
    using System.Threading;
    using System.Text.RegularExpressions;
    using System.IO;
    using FileHelpers;
    using System.Data.OracleClient;
    namespace sqlloader
    class Program
    static void Main(string[] args)
    int jum;
    int i;
    bool isFirstLine = false;
    FileHelperEngine engine = new FileHelperEngine(typeof(XL_XDR));
    //Connect To Database
    string constr = "Data Source=(DESCRIPTION=(ADDRESS_LIST="
    + "(ADDRESS=(PROTOCOL=TCP)(HOST= pt-9a84825594af )(PORT=1521 )))"
    + "(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=o11g)));"
    + "User Id=xl;Password=rahasia;";
    OracleConnection con = new OracleConnection(constr);
    con.Open();
    // To Read Use:
    XL_XDR[] res = engine.ReadFile("DataOut.csv") as XL_XDR[];
    jum = CountLinesInFile("DataOut.csv");
    FileInfo f2 = new FileInfo("DataOut.csv");
    long s2 = f2.Length;
    int jmlRecord = jum - 1;
    for (i = 0; i < jum; i++)
    ShowPercentProgress("Processing...", i, jum);
    Thread.Sleep(100);
    if (isFirstLine == false)
    isFirstLine = true;
    else
    string sql = "INSERT INTO XL_XDR (XDR_ID, XDR_TYPE, SESSION_START_TIME, SESSION_END_TIME, SESSION_LAST_UPDATE_TIME, " +
    "SESSION_FLAG, VERSION, CONNECTION_ROW_COUNT, ERROR_CODE, METHOD, HOST_LEN, HOST, URL_LEN, URL, CONNECTION_START_TIME, " +
    "CONNECTION_LAST_UPDATE_TIME, CONNECTION_FLAG, CONNECTION_ID, TOTAL_EVENT_COUNT, TUNNEL_PAIR_ID, RESPONSIVENESS_TYPE, " +
    "CLIENT_PORT, PAYLOAD_TYPE, VIRTUAL_TYPE, VID_CLIENT, VID_SERVER, CLIENT_ADDR, SERVER_ADDR, CLIENT_TUNNEL_ADDR, " +
    "SERVER_TUNNEL_ADDR, ERROR_CODE_2, IPID, C2S_PKTS, C2S_OCTETS, S2C_PKTS, S2C_OCTETS, NUM_SUCC_TRANS, CONNECT_TIME, " +
    "TOTAL_RESP, TIMEOUTS, RETRIES, RAI, TCP_SYNS, TCP_SYN_ACKS, TCP_SYN_RESETS, TCP_SYN_FINS, EVENT_TYPE, FLAGS, TIME_STAMP, " +
    "EVENT_ID, EVENT_CODE) VALUES (" +
    "'" + res.XDR_ID + "', '" + res[i].XDR_TYPE + "', '" + res[i].SESSION_START_TIME + "', '" + res[i].SESSION_END_TIME + "', " +
    "'" + res[i].SESSION_LAST_UPDATE_TIME + "', '" + res[i].SESSION_FLAG + "', '" + res[i].VERSION + "', '" + res[i].CONNECTION_ROW_COUNT + "', " +
    "'" + res[i].ERROR_CODE + "', '" + res[i].METHOD + "', '" + res[i].HOST_LEN + "', '" + res[i].HOST + "', " +
    "'" + res[i].URL_LEN + "', '" + res[i].URL + "', '" + res[i].CONNECTION_START_TIME + "', '" + res[i].CONNECTION_LAST_UPDATE_TIME + "', " +
    "'" + res[i].CONNECTION_FLAG + "', '" + res[i].CONNECTION_ID + "', '" + res[i].TOTAL_EVENT_COUNT + "', '" + res[i].TUNNEL_PAIR_ID + "', " +
    "'" + res[i].RESPONSIVENESS_TYPE + "', '" + res[i].CLIENT_PORT + "', '" + res[i].PAYLOAD_TYPE + "', '" + res[i].VIRTUAL_TYPE + "', " +
    "'" + res[i].VID_CLIENT + "', '" + res[i].VID_SERVER + "', '" + res[i].CLIENT_ADDR + "', '" + res[i].SERVER_ADDR + "', " +
    "'" + res[i].CLIENT_TUNNEL_ADDR + "', '" + res[i].SERVER_TUNNEL_ADDR + "', '" + res[i].ERROR_CODE_2 + "', '" + res[i].IPID + "', " +
    "'" + res[i].C2S_PKTS + "', '" + res[i].C2S_OCTETS + "', '" + res[i].S2C_PKTS + "', '" + res[i].S2C_OCTETS + "', " +
    "'" + res[i].NUM_SUCC_TRANS + "', '" + res[i].CONNECT_TIME + "', '" + res[i].TOTAL_RESP + "', '" + res[i].TIMEOUTS + "', " +
    "'" + res[i].RETRIES + "', '" + res[i].RAI + "', '" + res[i].TCP_SYNS + "', '" + res[i].TCP_SYN_ACKS + "', " +
    "'" + res[i].TCP_SYN_RESETS + "', '" + res[i].TCP_SYN_FINS + "', '" + res[i].EVENT_TYPE + "', '" + res[i].FLAGS + "', " +
    "'" + res[i].TIME_STAMP + "', '" + res[i].EVENT_ID + "', '" + res[i].EVENT_CODE + "')";
    OracleCommand command = new OracleCommand(sql, con);
    command.ExecuteNonQuery();
    Console.WriteLine("Successfully Inserted");
    Console.WriteLine();
    Console.WriteLine("Number of Row Data: " + jmlRecord.ToString());
    Console.WriteLine();
    Console.WriteLine("The size of {0} is {1} bytes.", f2.Name, f2.Length);
    con.Close();
    static void ShowPercentProgress(string message, int currElementIndex, int totalElementCount)
    if (currElementIndex < 0 || currElementIndex >= totalElementCount)
    throw new InvalidOperationException("currElement out of range");
    int percent = (100 * (currElementIndex + 1)) / totalElementCount;
    Console.Write("\r{0}{1}% complete", message, percent);
    if (currElementIndex == totalElementCount - 1)
    Console.WriteLine(Environment.NewLine);
    static int CountLinesInFile(string f)
    int count = 0;
    using (StreamReader r = new StreamReader(f))
    string line;
    while ((line = r.ReadLine()) != null)
    count++;
    return count;
    [DelimitedRecord(",")]
    public class XL_XDR
    public string XDR_ID;
    public string XDR_TYPE;
    public string SESSION_START_TIME;
    public string SESSION_END_TIME;
    public string SESSION_LAST_UPDATE_TIME;
    public string SESSION_FLAG;
    public string VERSION;
    public string CONNECTION_ROW_COUNT;
    public string ERROR_CODE;
    public string METHOD;
    public string HOST_LEN;
    public string HOST;
    public string URL_LEN;
    public string URL;
    public string CONNECTION_START_TIME;
    public string CONNECTION_LAST_UPDATE_TIME;
    public string CONNECTION_FLAG;
    public string CONNECTION_ID;
    public string TOTAL_EVENT_COUNT;
    public string TUNNEL_PAIR_ID;
    public string RESPONSIVENESS_TYPE;
    public string CLIENT_PORT;
    public string PAYLOAD_TYPE;
    public string VIRTUAL_TYPE;
    public string VID_CLIENT;
    public string VID_SERVER;
    public string CLIENT_ADDR;
    public string SERVER_ADDR;
    public string CLIENT_TUNNEL_ADDR;
    public string SERVER_TUNNEL_ADDR;
    public string ERROR_CODE_2;
    public string IPID;
    public string C2S_PKTS;
    public string C2S_OCTETS;
    public string S2C_PKTS;
    public string S2C_OCTETS;
    public string NUM_SUCC_TRANS;
    public string CONNECT_TIME;
    public string TOTAL_RESP;
    public string TIMEOUTS;
    public string RETRIES;
    public string RAI;
    public string TCP_SYNS;
    public string TCP_SYN_ACKS;
    public string TCP_SYN_RESETS;
    public string TCP_SYN_FINS;
    public string EVENT_TYPE;
    public string FLAGS;
    public string TIME_STAMP;
    public string EVENT_ID;
    public string EVENT_CODE;
    I hope someone can give me a solution. Thanks

    The fastest way is to use external tables or sql loader (sqlldr). (If you use external tables or sql loader, you don't use C# at all).

  • How to import *.dmp file Through Oracle SQL Developer (3.2.20.09)

    hi
    how to import *.dmp file Through Oracle SQL Developer (3.2.20.09) ?
    how to do it ?
    thanks

    You do not.
    .dmp files are created from our Export and Data Pump database utilities and are proprietary files. You use the corresponding Import (or Data Pump) utility to import the data.

  • How to create a database in ORACLE 8i

    How to create a database in ORACLE 8i

    hello ...
    enter in
    http://www.oracle.com/pls/db102/portal.portal_db?selected=2 between demand and type in "create database"
    or read others docs ORACLE.
    AF

  • How to modify the database by Oracle-ridc-client

    How to modify the database by Oracle-ridc-client

    First of all, from your question it is not very clear what kind of modifications you intend to do - one correct answer to your question could be "call any non-read-only service", which will result as insert/update/delete to a table somewhere. My guess is that this is not the answer you are looking for.
    While working with RIDC (or CIS to answer your other thread at once) you have to understand that you integrate primarily with the application layer of your solution. If you want to modify the database scheme, you might, for instance, add a new metadata field - this is OK, because there is a service that you may call to achieve that. On the other hand you might want to change the db scheme directly (e.g. add a new column to a standard table); here neither RIDC, not CIS will help you unless you create a custom (server-side) service that you will call. Note, however, that you should be doing this only if you are really sure what you are doing.

  • Oracle Database Express Edition 10g; Designer, PL/SQL; Download

    Hi,
    I am new to this forum, I hope that I am posting in the right one :)
    I am refreshing my SQL knowledge an installed the "Oracle Database Express Edition 10g Release 2 (10.2)" which works fine. I now would like to learn PL/SQL and Oracle Designer.
    Are these 2 also offered as a free download for personal use? Since the Oracle website is pretty complex I am not sure what I should download.
    Can I run these programs on one WinXP Home machine?
    Thanks for your help!

    Designer is not free like Express Edition. You cannot use it for any commericial purpose without a licence.
    Designer is a big tool. I don't know why it shouldn't run against XE but it is a tough blighter to configure and install. It is also a moribund product, so the answer to this question:
    Is there a newer Designer version available?is likely to be "No" whenever you ask it.
    Cheers, APC

  • How to Import .txt files in ORACLE having 300 thousand records

    How to Import .txt files in ORACLE having 300 thousand records. Kindly help me in that context

    You can make use of Sql*Loader utility and You can also use External table technique for this puspose.
    For external table go through this link.
    http://www.oracle-base.com/articles/9i/ExternalTables9i.php
    Regards

  • Putting Oracle Apps 11i on 10g RAC using VMware

    Hello All,
    I am building a Oracle Applications 11i on 10g RAC, using VMware..Since there aren't any docs I could find on internet explaining how to do this, I have come up with my own. I have combined the MEtalink doc:362135.1 and the docs describing building a 10gRAC "database" using VMware..I want to know if the below process is good enough to get the required results:
    Steps:
    -Install VMware on HOST m/c
    -Configure 1st virtual m/c, say RAC1
    -Install RHEL on RAC1
    -Install 11i with 9i database on the local SCSI bus- SCSI 0:0
    -Install VMware client tools
    -Create a new ethernet adapter(for private interconnect) on RAC1
    -Create shared disks on RAC1
    -Partition the disks
    -Add the disks as RAW devices in /etc/rawdevices
    -Clone RAC1 to a new virtual m/c,say RAC2
    -Delete the 11i apps directories from its local SCSI bus..since these would be redundant on RAC2
    -Install Clusterware s/w on RAC1 using the same oraInventory that is used by the Applications 11i installation-
    -Install the 10g DB software and create ASM instances using dbca
    -Install Database componenets from 10g companion CD
    -Upgrade CRS abd DB s/w to 10.2.0.4
    -Upgrade the 9i database to 10g using dbua from the 10g ORACLE_HOME
    -Convert the newly upgraded 10g databse to RAC using the rconfig tool
    -Post migration steps for RAC
    -Enable AutoConfig on the Applications Database tier
    - Follow the "Establish Applications Environment for RAC" section from Doc:362135.1
    -Configure PArallel Concurrent Processing(PCP)
    Thanks,
    Sandeep

    (Considering that there are only 2 nodes the scenario the steps would be as follows:
    1. Install RAC using the steps provided at the link:
    http://oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php
    2.On RAC1 create a single instance of Oracle 11i (Both DB and Apps are on the same node)
    3. Follow the steps outlined in the Note:362135.1
    One thing to note is that the steps are the same whether the nodes are real or virtual.

  • How to import complete database with all schemas

    I have exported all database using system/manager in oracle 8.
    Now How i can i import all database in oracle 9i with all users, Roles etc...
    I tried to import "Import Entire database=y" using system manager schema but face following errors.
    Schema doesn't exit, Role errors etc.....

    Hi,
    As you are working with Old version of Oracle, then Oracle data pump would not be applicable to in order to carry out. So, in order to complete the export and import from prior version either you need to upgrade the version of Oracle so that you can make use of upgrade tools or either clone it or make sure you create required things prior to import on destination database. Further you can check Oracle support team
    - Pavan Kumar N

  • Oracle Database on Oracle VM I/O  performance.

    Hi Experts,
    I am planing to run Oracle Database on Oracle VM 3.2.x, but I am confusing about one thing that I hope find answer.
    For a database on physical machine it is clear that Oracle Recommend to configure the storage contains the database as RAID 1+0 to have best I/O performance.
    Now for a database on Virtual machine ...How we can apply this recommendation regarding the RAID level  ..since there is a layer between the database and the physical disk winch is the OCFS 2 file system ..and what about the I/O performance ???
    Thanks
    Aljaro

    Well, as always… it depends on what you expect from your DB. OCFS2 is probably not the best suited storage for a high-load Oracle DB. You're probably best off running your storage on either dedicated FC LUNs from a SAN, that you configure into your guests as physical volumes or you take the iSCSI route and provide storage to your Oracle DBs that way.
    In the end it all comes to down to you knowing your (expected) workload on the DB.

  • Oracle Database Client -- Oracle Database in SSL mode.

    Experts,
    I am trying to connect to a remote oracle database which in SSL mode. I installed "Oracle database client" on other server and trying to connect to remote database in SSL mode.
    Can you please provide brief steps ?
    Do I need configure any wallets on client side too ?. If yes, copying wallets from database server to client is enough ?
    Please help me.
    Thanks

    Pl do not post duplicates - Oracle Database Client --> Oracle Database in SSL mode.

  • Accessing non-oracle databases from oracle

    Is there any way to access from oracle to non-oracle databases and copy the data using COPY command?

    Hi Nitin!
    You can access these legacy applications as so-called external applications. Check out the Application Server Single Sign On guide.
    cu
    Andreas

  • Large Oracle database breaks Oracle Connector?

    Our Problem: Oracle connector is unable to retrieve the schema for column selection (uninstrumented/instrumented columns) in the connector setup due to timeout on a database with a large amount of schema.
    Has anyone else had a similar experience? We tested using a smaller database and the connector was able to pull back the schema just fine.. but with a large database, even after telling Metadirectory to wait for the schema retrieval, it eventually returns with a message saying no schema could be retrieved. Tried changing the timeout settings in the connector, but this did not help. Is there another possible solution?
    Any feedback is appreciated on this!
    -Wayne

    I had this problem as well, the problem is this, if you trace the query in the database that the connector is issuing you will see it is trying to bring back the entire information about objects for the entire database not just for objects your connector user has rights to. So on databases with thousands and thousands of objects like an oracle database running oracle finanacials or manufacturing their query will run for forever and a day. To get around this I spoofed the connector view creation process by creating the following tables in the schema of the user for the connector: ALL_CONS_COLUMNS, ALL_TABLES, ALL_TAB_COLUMNS and ALL_TAB_PRIVS into these I put only the info I needed to get the connector to create, however, I found that I need to keep them there even after the creation. If you have a dba handy he can help get this done.
    PS: the query that the connector view runs actually uses more than these 4 system views, but by creating these 4 in the schema of the connector user the query finishes in a reasonable time so I didn't bother to include any others. Hopefuly I've been clear enough.....

  • How to import photos from iPhone 4S to iPhoto using Yosemite 10.10

    How to import photos from iPhone 4S to iPhoto using Yosemite 10.10?

    The following has instructions: Import photos and videos from your iPhone, iPad, or iPod touch to your Mac or Windows PC - Apple Support

Maybe you are looking for

  • Why can't I paste more than one page at a time?

    I have a problem with Pages when I try to paste more than one page worth of content at one time. In my business I have a form online for clients to fill out. When the clients have finished the form, I copy the form (saved either as a safari document

  • Web Analysis Problem using the "Send to Excel" service

    I built reports using WebAnalysis 9.3.0. I attached the "Send to Excel" service button to my report. I am using a combination of Excel 2003 & 2007. I have the following settings in my webanalysis.properties file: MaxDataCellLimit=200000 XLExportMaxRo

  • How to delete vertical space between two divs?

    I have a very simple page right now. Top div holds an image. The div below it holds another image. Both divs appear to be adding space to the bottom. I know other's have had this issue - yet when searching the forum I'm not finding anything. I've add

  • How Can I retrieve old podcasts I deleted by error?

    Hello, I uses the last version 7.2.2 on MacOS. I deleted a few podcasts from an album I subscribed to. I know that the podcasts I deleted are still available on the publisher's site. Until version 7.1.... It was possible to retrieve old podcasts agai

  • Is there any way to increase the amount of space for all day events?

    I have iCal on my ipad and my phone, and when I look at the daily view or weekly view, only 1 1/2 lines are shown. If I have a few events that are all day (I keep several calendars) then I have to scroll through them one at a time. And with my finger