MySQL, importing table in OWB

Hi,
when I try to import a MySQL table definition into owb, it looks like OWB (or hsodbc) first gets all the records (select * from table) from the table i'm trying to import. So, with smaller tables I don't notice it, but there is one table with 55 million records. So the hsodbc.exe process starts to consume all the memory and after a while says it is finished importing...but the metadata of the (large) table has not been imported.
I've got a feeling it has got something to do with the odbc driver, but i am not sure.
Anyone with an idea on how to solve this?

Thanks a lot for the tip -- I don't know if the DB2 driver supports them or not but I'll look. There's a tab in the ODBC driver config for specifying custom parameters so it's possible.
Overall I find the ODBC connection works OK, but it's not that great for large data volumes. It's too slow for one thing. It's very convenient to be able to go from Oracle straight to DB2 without having to extract to flat files in between though.

Similar Messages

  • Unable to import table in owb 9.2

    i am using warehouse builder 9.2 and database 9i R2
    the source databse is also oracle 9i R2
    when i create a source module to import the required tabe metadata i found that
    some table did not apper in the available objects
    i discovered that for those tables there exist a materialized view with the same table name
    for example
    there is a table named emp and a materialized view emp on the source schema .
    so what i have to do in order to import the table definition
    thanks

    Hi, I have not tested this but try renaming the Materialized view to e.g. mv_emp. This is a good idea anyhow. I didn't know one could reuse the object name of a table for an MV - a little confusing, since an MV is also more or less a table object.
    Good luck, Erik Ykema

  • Is this a bug in OWB 11.2 - importing table metadata for character columns

    The Oracle® Warehouse Builder Data Modeling, ETL, and Data Quality Guide provides an overview of the data types supported.
    http://docs.oracle.com/cd/E11882_01/owb.112/e10935/orcl_data_objx.htm
    It says that for VARCHAR2 data type it saws (http://docs.oracle.com/cd/E11882_01/owb.112/e10935/orcl_data_objx.htm#CHDFIADI )
    "Stores variable-length character data. How the data is represented internally depends on the database character set. The VARCHAR2 data type takes a required parameter that specifies a maximum size up to 4,000 characters"
    That means , I guess, it says that when I import a table, any columns of type VARCHAR2(10) in the database should have its length show as characters in OWB, so a column of type Varchar2(10) in the Oracle database, should be shown as Varchar2(10) when imported into OWB table metadata via the OWB import function.
    However, if I have a database that set-up as a single-byte and import a table using the OWB import function a column that has a size of e.g. 10 in the database, is imported as OWB table metadata and the size is 10. Correct, I am happy.
    However, if the database is modified to support multi-byte characters, ALTUF16 encoding with the semantics set to "CHAR", then when I import the same table into OWB, OWB reports the size as 40, I guess its 40 bytes as in 10 characters @ 4 bytes per character.
    Is this a bug in OWB, as the datatype in the Oracle DB is varchar2(10), should OWB after importing a table not also report the column as VARCHAR2(10) ? Currently, is shows the column as varchar2(40).

    I noticed that myself in our project.
    Our varchars2 are defined as VARCHAR2(xxx CHAR) - OWB puts the size*4
    In fact if you have special characters like umlauts (ü,ä,ö,...) it will use 4 bytes per character.
    You can try it yourself. Define a Varchar2(1 CHAR) and manually change the size of the Column in your mapping inside OWB (in filters, joins or your target table).
    Then shoot an umlaut through the mapping and will end up with a "too small" error.
    Dont mind the size*4 issue - we totally ignored it and run without error since 4 years now.

  • Import table failing in OWB

    When I am trying to import a table in OWB client I am getting following error
    null
    null
         at oracle.wh.repos.impl.foundation.DirtyCache.persist(DirtyCache.java:442)
         at oracle.wh.repos.impl.foundation.DirtyCache.persist(DirtyCache.java:355)
         at oracle.wh.repos.impl.foundation.DirtyCache.persist(DirtyCache.java:233)
         at oracle.wh.repos.impl.foundation.CacheMediator.postChanges(CacheMediator.java:458)
         at oracle.wh.repos.impl.foundation.CacheMediator.postChanges(CacheMediator.java:451)
         at oracle.wh.repos.impl.foundation.NestedTransactionManager.removeLatestSavepoint(NestedTransactionManager.java:81)
         at oracle.wh.repos.impl.transaction.TransactionManager.commitNestedTransaction(TransactionManager.java:392)
         at oracle.wh.repos.impl.transaction.TransactionManager.endModalInteraction(TransactionManager.java:483)
         at oracle.wh.ui.integrator.common.ImportElementTransaction.run(ImportWizard.java:1058)

    My datase is Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production and I have installed oracle warehouse builder for 10g, I have OWB client(10 g) installed in my window XP machine , I am able to create oracle module but when I am trying to import a table under this module I am always getting java.lang.NullPointerException, you told me whather I was trying to import a table which has blob , log etc coloum but I tried with one table which only has number, varchar2 and date column.
    Thanks
    Sanjay

  • Error "no database selected" when importing  tables from MySQL

    I'm trying to import tables from MySQL to OBI repository. However, after selecting the MySQL ODBC and prompting user name and password there's an error:
    [nQSError: 16001] ODBC error state: HY000 code: 1046 message: [MySQL][ODBC 5.1 Driver][mysqld-5.0.56sp1-enterprise-glp-nt]No database selected.
    Seems like the database is somehow not selected althought I defined it (sakila sample database) in the ODBC connection properties and the ODBC test is successful. Anybody has experiences with MySQL + OBI?
    Thanks

    the issue was solved by using MySQL odbc 3.51... with that there're no problems whatsoever

  • Importing tables with OMB+

    Hello all,
    I would like to import some tables, but not their constraints and I have not been able to do this through the OWB GUI (version 10.2), so I thought maybe I could do it using OMB+
    Does anybody know whether it is possible to import tables in a module using OMB+?
    As far as I have understood, (and please, correct me if I'm wrong!) OMBIMPORT only imports .mdl files and OMBRETRIEVE only gives you information about the existing tables in the repository.
    Thanks a lot in advance,
    Nerina

    Yes, you can import directly from your metadata source using OMB+, but as with the gui I beleive that it will import the FULL definition of the table, and that will include the constraints.
    However, if you want to play with this: You need to first connect to your repository, CC to your project, and then give it your password to your defined metadata location for your module (assuming that you normally need to set this). I have a config file of all relevant info, so you will be seeing a whole lot of dollar signs in this cut-paste job...
    #Connect to Design Repository
    set print [OMBCONNECT $OWB_DEG_USER/$OWB_DEG_PASS@$OWB_DEG_HOST:$OWB_DEG_PORT:$OWB_DEG_SIT USE REPOSITORY '$OWB_DEG_REPOS']
    puts "$print"
    #CC to Project
    set print [OMBCC '$PROJECT_NAME_DEV']
    puts "$print"
    #Enter Password to allow imports and deployments
    #NOTE: This needs to be modified to use paramters for proper release management.
    set print [OMBALTER LOCATION '$METADATA_LOCATION' SET PROPERTIES (PASSWORD) VALUES ('$PASSWORD')]
    puts "$print"
    OMBCOMMIT
    OMBSAVEOK, now you need to create your transient import plan, and then import from metadata location for each table.
    Sooo. assuming a table called SOURCE_TABLE you would do something like:
    set err [catch {
       set print [eval OMBCREATE TRANSIENT IMPORT_ACTION_PLAN 'IMPORT_ACTION1' \
                         ADD ACTION 'IMPORT_ACTION' \
                         SET REF SOURCE TABLE 'SOURCE_TABLE' \
                         SET REF TARGET ORACLE_MODULE 'MY_MODULE_NAME']
       puts "$print"
       set print [OMBIMPORT FROM METADATA_LOCATION FOR IMPORT_ACTION_PLAN 'IMPORT_ACTION1']
        puts "$print"
    } errMsg]
    if {$err != 0} {
              puts "ERROR Importing: SOURCE_TABLE!!!"
               puts "ERRMSG: $errMsg"
    }You can use this to import tables, sequences, and views from the defined metadata location by changing the source type in the action plan. Of course, you will also want to delete the action plan once you are done with it.
    Cheers,
    Mike

  • Import model from OWB repository

    We have an OWB repository with several 100 tables, mappings, etc. what we try to import but SQL Modeler seems to import nothing although it gives no errors.
    We've found that before importing all the OWB environment variables must be set.
    Which we did.
    Then it seems to connect to the repository, do some processing and returns but without any changes in the model.
    Did anyone import model from OWB successfully?
    We are using version 10.2 OWB and database.
    Bye,
    Gabor

    OK ive imported from Designer into OSDM just fine.
    Good. Glad this works.
    However things I dont like so far ...;)
    The properties palete can you make it like owb in that when i open it and change context in the browser it updates? I dont want to have to keep going show properties.
    In future releases User Interface will be adresses to be more intuitive and to be more SQL developer alike
    Pushing the OK button does not appear to do anything the properties window stays open so how is it different to apply?
    Sorry, but we don't understand. Pushing OK should work and should close the property window.
    Things I dont like... the number of clicks to see information ( no hotkeys or shortcuts  )
    Agree. In future releases User Interface will be adresses to be more intuitive and to be more SQL developer alike
    Next Early Adopter will have new dialog for entities and tables
    No drag n drop columns from 1 table to another. No right click on browser nodes to create keys etc No CTL drop no SHIFT drop
    You can drag columns
    an enhancement request will be created
    Why cant I reorder columns by moving them in the browser? Then I could move them visually. This also applies to property paletes if I have to go to the effort of highlighting a current row then why cant I just grab it and move it?
    You can reorder columns/attributes by the "up" and "down" arrows after you highlighted the column or attribute in their respective property window.
    an enhancement request will be created for doing this from the browser and the grabbing
    Appears to be no ability to set common properties over a number of attributes. If I select a number of columns I cant pull up a property pallete to set a common attribute on them.
    an enhancement request will be created
    I could not get the enginer to logical model to enable
    Should work. when you have the relational model, use the engineering to logical model icon (2 red arrows) or the design menu option and do engineer to logical model
    Otherwise looks promising
    Thank you!!
    Kind regards,
    René De Vleeschauwer
    SQL Developer Data Modeling team

  • JDBC Lookup - Import table data from a different schema in same DB

    Hi XI Experts,
    We are facing an issue while importing a Database table into the external definition in PI 7.1.
    The details are as below:
    I have configured user 'A' in PI communication channel to access the database. But the table that I want to access is present in schema "B". Due to this, I am unable to view the table that I have to import in the list available.
    In other words, I am trying to access a table present in a different schema in the same database. Please note that my user has been given all the required permissions to access different schema. Even then, I am unable to access the table in different schema.
    Kindly provide your valuable suggestions as to how I can import table which is present in another schema but in the same Database.
    Regards,
    Subbu

    If you are using PI 7.1, then you can do JDBC Lookup to import JDBC meta data (table structures from DB). Configure a jdbc receiver communication channel where you specify username and password which has permission to access schema A and Schema B of database. Specify database name in the connection string. Then you might have access to import both schema.
    Please refer these links
    SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups
    How to use JDBC Lookup in PI 7.1 ?

  • 11gR2 Data Pump. Import table in one schema into a different schema

    I stady oracle. I export shema HR into file hrexport.dmp. When I import tables from this file I had trouble. I used Enterprise Manager:
    1. connected by user SYSTEM as NORMAL
    2. selected file, chosen import type - tables
    3. data from file was imported
    4. chosen tables which tables to import
    5. in the next step I try insert row in table Re-Map Shemas and edit cell Destination Shema, but in the list is only one name of shema - HR! Why?
    Edited by: alvahtin on 10.03.2013 6:11

    Paul M. wrote:
    Did you try using impdp command at OS prompt ?I don't know what this command use. I try:
    impdp system/oracle remap_schema=hr:inventory tables=employees, departments, locations directory=ORACLES_HOME dumpfile=hrexport.dmp logfile=hrimport.log
    But it finished with error:
    ORA-39166: Object SYSTEM.EMPLOYEES was not found.
    ORA-39166: Object SYSTEM.DEPARTMENTS was not found.
    ORA-39166: Object SYSTEM.LOCATIONS was not found.
    Job "SYSTEM"."SYS_IMPORT_TABLE_01" successfully completed at 18:43:19
    Job "SYSTEM"."SYS_IMPORT_TABLE_01" successfully completed at 18:43:19
    Why SYSTEM? I want import to INVENTORY from HR - replaced in the file hrexport.dmp

  • How can i import tables from a different schema into the existing relational model... to add these tables in the existing model? plss help

    how can i import tables from a different schema into the existing relational model... to add these tables in the existing relational/logical model? plss help
    note; I already have the relational/logical model ready from one schema... and I need to add few more tables to this relational/logical model
    can I import the same way as I did previously??
    but even if I do the same how can I add it in the model?? as the logical model has already been engineered..
    please help ...
    thanks

    Hi,
    Before you start, you should probably take a backup copy of your design (the .dmd file and associated folder), in case the update does not work out as you had hoped.
    You need to use Import > Data Dictionary again, to start the Data Dictionary Import Wizard.
    In step 1 use a suitable database connection that can access the relevant table definitions.
    In step 2 select the schema (or schemas) to import.  The "Import to" field in the lower left part of the main panel allows you to select which existing Relational Model to import into (or to specify that a new Relational Model is to be created).
    In step 3 select the tables to import.  (Note that if there are an Foreign Key constraints between the new tables and any tables you had previously imported, you should also include the previous tables, otherwise the Foreign Key constraints will not be imported.)
    After the import itself has completed, the "Compare Models" dialog is displayed.  This shows the differences between the model being imported and the previous state of the model, and allows you to select which changes are to be applied.
    Just selecting the Merge button should apply all the additions and changes in the new import.
    Having updated your Relational Model, you can then update your Logical Model.  To do this you repeat the "Engineer to Logical Model".  This displays the "Engineer to Logical Model" dialog, which shows the changes which will be applied to the Logical Model, and allows you to select which changes are to be applied.
    Just selecting the Engineer button should apply all the additions and changes.
    I hope this helps you achieve what you want.
    David

  • Error while importing tables from oracle database

    Hi
    I am getting the following error when i am trying to import table from oracle database.
    my operating system is windows and my database is oracle.
    [nQSError: 16001]ODBC error state: IM004 code:0 message:
    [Microsoft][ODBC Driver Manager] Driver`s SQLAllocHandle on SQL_HANDLE_ENV failed.
    please help me in resolving this issue.
    Thanks and Regards,
    Raj

    Hi Madan,
    I have done migration Discoverer Admin EUL Layer into OBIEE repository using below methodology.
    Navigate to the <installdrive>\OracleBI\server\Bin directory. There are two important files in this directory: the migration assistant executable file named MigrateEUL.exe and a properties configuration file named MigrationConfig.properties.
    Could you please help me how to migrate discoverer plus workbooks and worksheets into OBIEE Answers?
    go through below link, It will show navigation steps for migrating of EUL from Discoverer to OBIEE.But i need migration of workbooks and worksheets from Discoverer into OBIEE Answers.
    http://www.oracle.com/technology/obe/obe_bi/discoverer/discoverer_1012/discomigration/migrate_disco_biee.htm
    This is very great full help to me …
    Advance thanks for your suggestions.
    Regards
    Duraga Prasad.

  • OBIEE Error while importing table from database

    Hi
    I am getting the following error when i am trying to import table from database.
    [nQSError: 16001]ODBC error state: IM004 code:0 message:
    [Microsoft][ODBC Driver Manager] Driver`s SQLAllocHandle on SQL_HANDLE_ENV failed.
    Any idea y such error.
    Thanks and Regards,
    Andy

    Looks like an error in the ODBC driver, not OBIEE as such.
    Have you tried googling it?
    Can you post details about your OS and DB.

  • Getting error while importing tables

    Hi,
    I have the servers on linux box and clients are installed on my local machine. I have created on DSN for connecting Biserver.
    When i'm trying to import tables i am getting an error.
    I have placed tns entries in Linux box as mentioned below path.
    OBIEE/Oracle_BI1/network/admin
    But even though i am not able to import table getting an error.. 'Connection fail'
    Regards,
    Mall

    Since you are using client to import table is it not required in local for tnsnames.ora?
    For server you have set that helps after hosting the rpd file, I hope you are not using online mode to import table if you are doing that I dont think that will work...
    Try to use your connection details something like below
    Call Interface: Default (OCI 10g/11g)
    Data source Name->localhost:1521/XE
    If helps mark or else let us know your basic test to connect to database like tnsping from command etc..

  • Error while importing table having ctxcat index

    Hi
    I created a table and ctxcat index on the same. I exported the same. While importing, table got imported but for index creation it gave error imp-00017 with ora-29855.
    Though the index have been created but with some errors. I can see the index in all_indexes table but if i try to see the entry in dba_segments, record is not found.
    Seems that index is not created properly.
    Pls suggest ASAP.
    Regards
    Rajiv

    What's your source and target Oracle version ?
    1) make sure context option is installed on target DB
    2) create a user ctxsys, the schema where the context related objects resides

  • Connection failed when importing tables in OBIEE 11G

    Hi,
    When i am importing tables i am getting the Connection failed Error. I have copied the TNS file in Orcal_common/Network
    and Oracle_BI1/Network/admin/sample.
    And i have tried like i place full tns entry in Datasource then it is connecting. How can i avoid that.
    And i pointed the folder path in user.cmd file
    Thanks

    Hi
    I got this one in command prompt
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = **)
    (PROTOCOL = TCP) (Host = ****) (Port = 1521))) (CONNECT_DATA = (SID = ENTPR0
    1)))
    OK (40 msec)

Maybe you are looking for

  • Task Flow Based On Input Parameter

    I am using JDev 11.1.1.6. I have an app that uses a Task Flow with "ExecuteWithParams" to get the parameter from a URL and display the appropriate records on a page. I do this by using a Bind Variable on the VO that corresponds to the InputParameter

  • I (A blind user) need voiceover support for mozilla thunderbird. when will it be done?

    Gentlemen, I recently lost what was left of my eyesight and can no longer function in large print mode. I have attempted to get mac's VoiceOver to work with your thunderbird app, but to no avail. it will not read my active mail pane. I do not have th

  • Got a new iPhone!

    I got a new iPhone and I understand that I can import data from MS Outlook to my iPhone, and that I can export data (I suppose through sync) from my PDA to Outlook.  I am running Windows Vista, and I have the Palm VIIx.  I am connected to my computer

  • Adobe Customization Wizard: "remove previous versions" greyed out?

    Hi, I am preparing an MST, with the Adobe Customization Wizard,  to customize Adobe Reader 9.5.0 setup, and I see the "remove previous versions" checkboxes are both greyed out. Reader's is blank while Acrobat's is checked - nevertheless, installing o

  • Can I search my calendar

    It would be very useful to me if I can search my calendar so I can record when I last saw clients. I used to have an iPAQ and I could just put in the client's name and it would list all the entries relating to that name. Is this possible on the iTouc