ODI 10.1.3.5 Selective Reverse "hangs"

Trying to reverse a PeopleSoft financials table (db is 10.2.0.4) using ODI 10.1.3.5 and the delivered Oracle JDBC driver.
The reverse process gets to 50% and then just hangs. The connecting db user has direct SELECT privs on the table.
Thoughts?
-John

Chris,
Turns out this issue was really due to a bug associated with data dictionary views (specifically, all_cons_columns) and 10.2.0.4 databases. The query ODI was issuing to reverse data wouldn't return data... or would take so long as to make the reverse process moot. I could type in the table definition faster!
I don't have specific Metalink note #s handy at the moment.
Suffice it to say it's not an ODI problem.
-John

Similar Messages

  • ODI Selective Reverse throws Primary Key Violation error

    Hi John,
    Hope you are doing good.
    The version of ODI  is 10.1.3.4.5
    I was trying to reverse an MS SQL table using selective reverse and its throwing the below error
    com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_COL'. Cannot insert duplicate key in object 'dbo.SNP_COL'.
    Also the error says - Technology or Driver does not support Reverse engineering
    I reversed the same table yesterday and it went fine. But today i wanted to reverse an another table from the same database but its giving an error. I tried deleting the Model itself and tried reversing the both tables and now its not reversing the first on either.
    Please suggest.
    Thanks,
    Sravan

    dear
    you have performed more than once the same reverse engineering.
    If the problem is a doubling in snp * repository, you could delete rows via plsql this process and try again
    tell me if this is not working or if

  • Selective reverse and   reverse  ??

    hi everyone ,
    in the defination tab for the model we have option " Display the metadata changes in the model tree "
    i used to think when ever i do changes in my columns related to source or target i will get the updated changes here,but i tried changing the length of columns . it dint show up , so i did selective reverse for this table and it showed me .
    but when i do the right click reverse i see all the changes plus all the temporary tables created by ODI .
    1. what is the diff between selective reverse and right click reverse ?
    2. How can the changes be visible automatically in ODI whenever i make changes to source or target structure. without clicking on reverse ?
    Thanks
    Dev

    Hi,
    Selective reverse allows you to get only the table that you select from list.
    Please, click on "Objects to reverse" to see all objects available to reverse (only objects do not reversed yet to that model)
    and "Existent Objects" to add existents objects to the list.

  • I select "reverse" and printer still prints from page 1; how do I print the last page first, etc

    I select "reverse" so the printer will start printing on the last page and end on the first and it still prints from page 1 leaving me to cplace all the pages in order manually.  How do I do this.  My last HP had no problems;  I have a 6100
    This question was solved.
    View Solution.

    Please try this:
    Enter Control Panel > Devices and Printers.
    Right click the printer icon, click Printing Preferences.
    Select the Advanced tab.
    Set the Pages Order as Front to Back.
    Additioanlly, verify the same setting apply for the used program as customized preferences may kept for a specific program:
    Open the File you would like to print, the click File > Print.
    Click Preferences and verify the page order set as Front to Back.
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Selective Reverse Issue on Changed Table

    Hi,
    hoping I can get some help here.
    We have a SQL Server source table that has had 3 new columns added to it. We now want to get those 3 columns into the existing model for use in a mapping.
    I have tried going into the model, picking the selective reverse tab, selecting existing objects and then selecting JUST the table to be reversed and then running the reverse process.
    I would expect that the new columns would be added to the model but they do not appear.
    Also, if I right-click on the datastore and view data, the columns in the source system appear in the result set; there is also the case that if I create a new model and run a full reverse, the columns appear in the appropriate datastore.
    Is there any reason that the datastore is not updating using the selective reverse.
    Thanks in advance for any help.
    geeo

    Hi,
    Selective reverse allows you to get only the table that you select from list.
    Please, click on "Objects to reverse" to see all objects available to reverse (only objects do not reversed yet to that model)
    and "Existent Objects" to add existents objects to the list.

  • Selective Reverse Engineering not working in ODI

    Hi odi gurus,
    ODi installed in Sql server , created one database called ODI_Source , contains 10 tables .
    i want to reverse those of two tables in sql server using odi ?
    In Topology manager , all the connections to database are connected successfully,
    When i reverse on model , it's not getting the tables in ODI.
    What's Problem behind that...
    thanks in adavnce

    Hi,
    I Just faced the same issue and I cracked it.
    Solution:
    go to reverse engineer tab:
    delete anything in Mask option other than %
    delete characters to remove from Table Alias:
    And you are done !!
    hope it works for you too..
    Regards,
    Raghu!

  • Select query hangs on Oracle 9i but works fine in Oracle 8i

    Hi Guys,
    For a recap of what happened:
    Migrated from Oracle 8i to 9i for a customer, all queries and statements are working fine, except for this particular query. If i run the same query on 8i it works like a charm.
    In 9i, if i remove even one field from the query, it works else it just hangs.
    Any idea, any one???
    **Added 2:09PM: When i removed some ltrim and rtrim that i believe not necessary, the query works fine, is there any field length limitation in Oracle 9i???
    Below is the query:
    set pagesize 100;
    set linesize 1024;
    set heading off;
    set echo off;
    spool scb_xfer_hdr_npsx;
    select ltrim(rtrim(to_char(hdr_srl_no,'99'))) || ';' ||
    'P' || ';' || rtrim(ltrim(payment_type))|| ';'|| ';' ||
    ltrim(rtrim(our_ref_no))|| ';'|| 'MY;KUL;' ||
         rtrim(ltrim(debit_account_no))||';'||
    rtrim(ltrim(to_char(scb_batch_date,'YYYY/MM/DD'))) || ';'|| ';' ||
    rtrim(ltrim(payee_name_1))|| ';'|| ';' ||
    rtrim(ltrim(address_1))|| ';'||
    rtrim(ltrim(address_2))|| ';'||
    rtrim(ltrim(address_3))|| ';'|| ';' ||
    rtrim(ltrim(payee_name_11))|| ';' ||
    rtrim(ltrim(address_11))|| ';'||
    rtrim(ltrim(address_21))|| ';'||
    rtrim(ltrim(address_31))|| ';'|| ';' ||
         rtrim(ltrim(payee_bank_code)) || ';' || ';' ||
         rtrim(ltrim(payee_account_no)) || ';' ||
         rtrim(ltrim(our_ref_no2)) || ';' || ';' ||
         rtrim(ltrim(our_ref_no2)) || ';' || ';' || ';' || ';' ||
    rtrim(ltrim(payment_currency))|| ';'||
    rtrim(ltrim(to_char(payment_amount,'9999999999.99')))|| ';'||
         'C;P;;' || rtrim(ltrim(payee_bank_name))|| ';' ||
         'KL;;' ||
         rtrim(ltrim(delivery_method)) || ';' ||
         rtrim(ltrim(delivery_by)) || ';' ||
         rtrim(ltrim(counter_pickup_location))
    from scb_xfer_hdr_npsx
    order by hdr_srl_no;
    select distinct 'T;' || ltrim(rtrim(to_char(total_payments))) || ';' ||
         ltrim(rtrim(to_char(total_pay_amount,'9999999999.99')))
    from scb_xfer_hdr_npsx;
    spool off;
    spool scb_xfer_dtl_npsx;
    select ltrim(rtrim(to_char(srl_no,'99'))) || ';' || 'I' || ';' ||
         ltrim(rtrim(doc_no)) || ';' || ltrim(rtrim(to_char(doc_date,'yyyy/mm/dd'))) || ';' ||
         ltrim(rtrim(doc_description)) || ';' ||
         ltrim(rtrim(to_char(doc_amount,'9999999999.99')))
    from scb_xfer_dtl_npsx
    order by srl_no;
    spool off;
    set echo on;
    exit;
    Message was edited by:
    Logesh

    Hi,
    are you still on a 32bit kernel on AIX?
    How are the Form4.5 connected, are they on the same box, or are they using the forms GUI?
    What about the statistics, how do you collect them? Is the database set to the COST based optimizer?
    Do you use dbms_utility.analyze_schema, or this:
    exec dbms_stats.gather_schema_stats( -
    ownname => '$OWNER', -
    estimate_percent => 10, -
    granularity => 'ALL', -
    method_opt => 'FOR ALL COLUMNS SIZE 75', -
    degree => NULL , -
    options => 'GATHER $GATH', -
    cascade => TRUE -
    What does it mean the SQL hangs? Can you cancel the query? Do you have to kill the session? Do you use any diagnostic tools like TOAD to trace the session, see what it is doing? Usually if this is a performance/tuning issue, you will see the session is not dead, but you will see advancing reads.
    Regards,
    Richard.

  • Select Query Hangs / No DB Locks / Query Plan is good

    I have below query in application which hangs ( Only sometimes ) and there are some session which also try to insert data into this tables also starts getting hanged.
    SELECT DISTINCT F2 || ' - ' || F3 || ' - ' || F4
    FROM Table1
    WHERE F4 = 6160
    AND F1|| F2|| F3 NOT IN (
    SELECT F2|| F3 || F4
    FROM Table2
    WHERE F1 = 181)
    F2 - varchar(4)
    F3- varchar(100)
    F4- varchar(20)
    F1,F1 are NUMBER
    Table1 has one unique index comprising all fields in ORDER F1,F2, X,F3, F4,Y - X,Y are some different field.
    Table2 has one unique index comprising all fields in ORDER F1,F3, F4,F2 are some different field.
    Below are facts from DBA ----
    1- Session Query Plan was excellent -
    2 - No tables were locked in DB
    3 - Statistics on this table Table1 was calculated on Feb, 2008 and shows 8 millions rows but actual current row count is 13 million. DBA says sometime analyzing statistics again may cause poor query performance.
    4- There were 8 session in DB, 1 was for above select statement and other 7 were trying to insert data into above table.
    Can you please advise what could else be verified to root cause issue as it has been hanging many times - hence causing other session to hang ?
    Many Thanks

    Can you clarify exactly what the DBA meant by "No tables were locked in DB"? What was the exact query that was used to determine this? Was it hitting V$LOCK (GV$LOCK in a RAC system)? Or the DBA_BLOCKERS and DBA_WAITERS tables? Or something else? The specific query here is important because there is a world of difference between a row-level lock and a table-level lock. Of course, locks would never prevent a SELECT statement from running, but it could cause problems for the INSERT statements.
    I strongly concur with Old DBA's suggestion about refactoring the query to not do the concatenation in the NOT IN clause.
    Are the F4 = 6160 and F1 = 181 conditions really using hard-coded numeric literals? Or are these bind variables? Is the data in F1 or F4 skewed-- that is, are there certain values that are more likely than other values?
    How many rows would you expect to be in Table1 with an F4 value of 6160? How many rows in Table2 with a F1 value of 181?
    Justin

  • Select Statement Hangs often

    Hello ,
    I have very strange issue, Any select statement on few tables takes very long time( in fact it hangs) often but the same SQL runs in a second all other times in the same database. Please note that it is a simple select statement without any 'for update' clause.
    After recycling the database, the select statement runs faster but this situation comes back after couple of days on the same set of tables.
    We are using 9i release 2.
    Can you please advise how to go about solving this type of issue.
    Thanks.

    438628, Robert is correct in that the board would need to see an explain plan to have any chance of narrowing the problem down. If bind variable peeking is involved the plan may not match what Oracle is actually doing to solve the query.
    When the problem occurs try looking in v$plan_table and see if the plan matches the explain plan output. A difference would be a clue that a reparse of sometype is being done so the plan could be different for each execution. The presence of child cursors would also point to something causing reparses.
    Do any of the columns for this table involved in the where clause has histograms on them? What is the value of the spfile/init.ora parameter cursor_sharing?
    If cursor_sharing is EXACT then bind variable peeking should not be the problem. If the parameter is SIMILAR or FORCE then it could be. On 9.2 I believe there is a bug that causes a reparse for every execution when SIMILAR is used so evey execution could be a different plan.
    To check for skewed data just count the values in the column and then count by value. If the max(value_count) / count(*) is greater than a small percentage of the data then the column is skewed. The worse the skew the more likely that a plan chosen for a distinctive value is not a good plan for a non-distinctive value.
    HTH -- Mark D Powell --

  • ODI - Java Error when trying to reverse engineer - Hyperion Planning

    Hi,
    I am receiving the error below when I am attempting reverse engineer the emission members into the models tab in the ODI Designer. In topology manager I get connection successful in both Synopsis memory engine and in File technology and I have checked all my settings and everything looks correct compared to the test environment. We are actually testing the Production install with a very simple Hyperion Planning dimension build. Does anyone have any ideas why I am receiving the error below.
    Thank you in advance for the help!!
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 1, in ?
    ImportError: no module named java
    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i(e.java)
    at com.sunopsis.dwg.cmd.g.y(g.java)
    at com.sunopsis.dwg.cmd.e.run(e.java)
    at java.lang.Thread.run(Unknown Source)

    Hi,
    It looks as though we got it to work. However the way we got it to work is a bit confusing. We had someone just login and try it. The only difference is they used the admin username instead of the one we were using. They successfully ran the reverse. Then we re-logged in with the other username we were using before and it worked.
    I just realized however before they did that, I was on the Prod server trying to open and view the odiparams.bat file. I accidentally ran the file by choosing 'open' instead of 'edit'. Thus I'm thinking that running that odiparams.bat file actually fixed the issue rather than logging in with admin account.
    What would your professional opinion be on this as we can't recreate the issue and figure out which one fixed it.
    Thanks,

  • Select Query Hangs

    Hi,
    Is there a possibility of a SELECT QUERY (table of about 5000 rows) getting hung?
    What could be the possible reason and how to resolve this? Again an interview question?
    Regards,
    SA

    A very broad level question.Definetly a query retrieveing data from a table having 5k rows can hang.You need to study explain plan,wait events and many more.

  • Can selected drives hang up timecapsule?

    I have a White Macbook (Early 2008) running OSX 10.7.5 that has been having crashing and shutdown problems lately. I am wondering if it has to do with source drives being backed up and/or destination drives. Let me explain:
    Source drives: I have one Maxtor 320GB extrenal drive attached to the Macbook via USB through a hub. This is selected to be backed up along with the main internal hard drive.
    Desintation drives: I am running TimeMachine for backup through an Apple 1TB TimeCapsule/Wifi Router using a WiFi network connection (FYI: this Time Capsule and one USB-connected 1TB drive are at capacity backing up two other Macs on this network). Connected to that TimeCapsule/Router via ethernet hardwire is an iMac which has an external dual drive bay attached to it via USB. One 2TB drive is used for work on that iMac, the other 2TB is partitioned into 1TB "drives" and one of these is being used as an auxillary backup drive. It is this latter drive that the White Macbook is backing up to.
    The problem I am having is a shutdown problem, occuring most often along with program crashes (which has also been happening with increasing frequency - mainy Picasa but also Firefox, iTunes and others). Whether a program on the machine crashes or not upon Shutdown, the OS will sometimes hang up on the desktop with the rainbow wheel spinning interminably. This often happens when the the Macbook is shutdown while a Backup is running. In this case, the Macbook simply never reaches a shutdown point. It can run all night and all day in this state. What also often happens is that the Macbook will go through the whole shutdown process right up to the point where it reaches a white screen. It will stop at this point and not progress any further - this white screen will also stay on interminably.
    The only way to finish shutdown or in fact to interrupt these processes in any way is a forced power-off by holding down the Macbook's power button.
    I took it to the Genius bar and they just wiped the hard drive and did a fresh OS install. It went OK like this for a few days, but eventually these crashing and non-shutdown problems recurred.
    Does anyone have any idea if it might be the backup confuguration causing this, or somethign else?

    You know, when I had a car (I don't drive anymore, just walk and bike now), I would occasionally not drive it for a day or two (not very often, though). It would take a moment longer to start up after that. Ever left a car out in the ice cold for a week? Be careful starting that baby up.
    It's not a very good analogy, and most of the mechanics don't apply, but shutting down and starting up an HDD puts some "wear and tear" on the device as well. In fact, since an HDD is designed to spin rapidly and run for indefinite periods of time, by leaving it on all the time, you are doing what the HDD is designed to do. They are clearly not optimized for spin-down / spin-up cycles, because this significantly slows down the system, and has been known to cause temporary "freezes" in the OS.
    Seriously, turning your HDD off as often as possible won't necessarily extend its life, and may even shorten it, depending on how you use it. As has been mentioned, many systems run for months at a time without shutting down, especially servers. No server can afford to spin-down it's HDDs during periods of inactivity (if there were such a thing for a server), because it then cannot perform its job.
    Take it easy, and let your HDD do its thing. Let it spin-down at the most natural time for an HDD: when you shut your computer off. Other than that, I recommend letting it go all the time. Though there is something to be said for that little bit of electricity that is saved, and therefore prevents another polar bear from having to float away on a chunk of ice.
    Seriously, though, energy conversation is awesome, and if that is your reasoning, I totally support that. But the argument from the life of the HDD is mostly moot.

  • Quick select tool hangs and will not work

    All of a sudden the quick select tool will not work/hangs up has a mind of its own and wanders/ after installing an upgrade to Nik software Color Efex Pro 4. I put that in the trash as I could not find a way to unistall. Probably still part of it in other areas?
    Still did not work. Then I uninstalled PS 5.5 extended. Reinstalled to find it the same as before. All preference etc the same and a blank cach document show up in Bridge, did this before too. It is like I never uninstalled it.
    What gives. How do I get a clean copy of PS?

    You're welcome. 
    hiking11 wrote:
    …do you know how to find the installer on a Mac so I can uninstall some of the Nik software…
    There is no such thing as a system wide uninstaller on a Mac.  Only a few select applications, like some of Adobe's, install an application-specific Uninstaller, e.g. in the Utilities folder of your root level ./Applications folder.  I have no idea if Nik provides such an uninstaller or not.
    hiking11 wrote:
    …Where you are have a Great Christmas season…
    Well, thank you.    Actually, I'm not that far from you in Northern California, some 100 miles NE of San Francisco.  My user ID, Tai Lao, is just a phrase that means Too Old in Mandarin, and my signature, Wo Tai Lao Le, 我太老了, just reads I am Too Old in Mandarin too,    Happy holidays to you too/
    Wo Tai Lao Le
    我太老了

  • Safari file select dialog hangs?

    When attempting to upload a file, the Safari file selection dialog box opens, but I get a beachball as the dialog attempts to display every file on my Mac for some reason. The expected behavior would be for it to start in the last place I uploaded a file, but nothing is selected in the sidebar and it appears to be showing all the files on the system--no directories, but all files of all types.
    I've waited over five minutes and see the list of files growing (the longest I've let it get is >15,000 items) but it never finishes. Also, I'me seeing the "select a file to see its path" notice in the bottom of the dialog. Force quitting Safari is the only solution.

    This started happening to me today.
    I use: Safari Version 5.1.6 (7534.56.5)
    And when I get a dialog box to choose a file for upload using Safari, there is no beach ball, rather there is the circular activity icon just spins and spins. No file listing appears in list view, column view, icon or coverflow view. I cannot select a file in Safari using the popup file select dialog box.
    This is after a softare update yesterday Mac OS X 10.7.4
    Can't use for WordPress, Tumblr, Facebook etc.
    I am able to use Transmit, my ftp client and it has no problem refreshing the file listings.

  • Error while reversing data from SQL Server to ODI

    hi,
    I was reversing data from SQL Server Java 1.6_022 in ODI Java 1.5, I was getting error Version Mismatch and I updated ODI Java version to 1.6_022.
    And now, I am getting the below error while reversing the data from SQL Server database.
    0 : 08001 : java.sql.SQLException: No suitable driver
    Looking for the assistance on the same.
    Thanks,
    Abhay

    If everything is fine the reversing should be fine. I would say check again if the Technology of the Model and the also the dataserver is created under the right Technology in topology too.
    also if this doesn't help , Please tell us the steps you have carried so far . Also can you try selective reverse is it showing the tables.

Maybe you are looking for

  • Crystal Reports XI - failed to compile

    We purchased Crystal Report Nov 2007 and had no problem opening a report that was extracted from an accounting database.  We are in the process of upgrading this person to a new machine.  We installed Crystal and tried to open the report but we get t

  • Question about Vienna Symphonic Library

    I currently have Opus 1 ESX 24 library. I was thinking about getting Opus 2 as well. VSL recommends the Vienna Special Editions as a better alternative. Does anyone out there recommend either/or? I certainly like the way ESX24 loads samples in Logic

  • Getting memory usage details in ABAP program

    Hello, Is there any method to get the memory used by the program and control the program like restricting the memory usage to some limit or any other control measures which can be taken in the program itself if the memory usage by the program exceeds

  • Problem with printing envelopes

    I have an HP Laser Jet P2035.  It gives me trouble printing envelopes for work.  I put the envelope on the tray, press the print button and with almost every envelope, it prints information about the priniter, and THEN it prints an envelope.  It's wa

  • New Displays/Price Drops anytime soon? Maybe MACWORLD EXPO

    The current displays have been around for awhile. I know the prices have dropped a lot, are we due for another drop in price at MACWORLD EXPO? Or will we see new displays in the near future? cheers Mr9600