Performance of mapping with FILTER

LS,
How to tackle performance of OWB 10g-generated mappings in Oracle10g?
Database: 10.1.0.2.0
OWB repos: 10.1.0.1
OWB client: 10.1.0.2
Situatie:
A StorageArea (1) with data of more than 1 day, each row has a column filled with a date, to which this row ‘belongs’. All tables have a pk of a dwkey, and a uk composed of the date-column extended by a logical key (one or more columns).
A StorageArea (2) with the same kind of tables, only modified / enriched / unified etc. All tables have a pk of a dwkey, and a uk composed of a logical key (one or more columns) extended by the date-column.
The mappings responsible for putting the data in SA(1) do analyze the table (90%), but not the indexes. So I manually do that by dbms_stats.gather_index_stats after all mappings to SA (1) are done.
I gather the statistics, because the mappings to SA (2) all have a FILTER containing “date-column = <Get_Current_Date>”. Any other (outer)joins made by the mappings, are all based on the uk’s in SA (1). So, I expect a good performance of Oracle10g, because it will (eventually) use the indexes of the uk’s.
BUT THEY DO NOT !!!!
The mappings responsible for putting the data in SA(2) do analyze the table (90%), but not the indexes. So I manually do that by dbms_stats.gather_index_stats after all mappings to SA (2) are done.
So, when starting a mapping towards SA (2), each side (sources and target) is up-to-date on their statistics in table and indexes.
First I thought this is something of Oracle10g, but it’s the OWB generated source.
The filter in the source will look something like:
“WHERE date-column = package.function-call”
Now the indexes will NOT be used. Instead, in the merge-statement source and target tables are scanned FULLy.
They will be used if one would ask:
“WHERE date-column = sysdate”
or if one would ask:
“WHERE date-column = TRUNC(sysdate)”
But even “TRUNC(sysdate)-30” is too much and will lead to FULL scans.
I changed my mapping by defining a constant “current_date”, which is filled in the mapping specification by the package.function-call. Now the filter in the source looks like:
“WHERE date-column = mappingname.constantname”.
When asked for the execution-plan on the select-statement, it STILL denies the indexes.
- What can I do to put on the turbo and to make sure the customer (and I) are very pleased they choosed Oracle and its tooling?
Mind you, the difference between no index (costs 7900) and uk-indexes (costs 6) are VERY BIG, according to the explain plan.
It takes 8 minutes to merge 270.000 rows. This can’t be serious, the Oracle10g solution to very big databases and datawarehousing in special!!
Regards,
André Klück

Hi Andre,
What happens if you start using hints to "force" the index usage?
One thing I would try is at database level, take the OWB generated code as is (no hints, or just the defaults ones for parallel).
Run this in SQL Plus, and record the performance and the plan. Then force it to use the index, using hints and compare.
If that helps, revert to OWB and apply the hint in there (or do it all from there of course). Run with hints.
I'm curious to see if you get it to run on the indexes by forcing it...
Furthermore, 270.000 rows in 8 minutes. Was that bad or good? Reason I'm asking is whether you have hardware capacity to go faster? Any I/O issues that prevent you from going faster?
In general it will be hard to solve this on the forum, so just try the SQL statement and hint it, if you get a good plan try to get that out of OWB.
If it still does not work let me know...
Jean-Pierre

Similar Messages

  • Mapping with Scd operator set to type 2 reading source records two times

    Mapping with Scd operator set to type 2 reading source records two times.Records selected count being displayed at the end of execution is double the source record count.This possibly is affecting the performance of the mapping.
    Is this a bug in scd type 2 operagtor in OWB 11gR2.How to rectify this umwamted double loop through the source data selectiom?

    Hi Roelant,
    I think it is important to be aware that although Paris - 10gR2 - is not actually buggy (in this respect!), it is really quite idiosyncratic in exactly how it processes SCDs.
    I followed up on your and Mark's comments, and did an in depth analysis of this topic. It is at http://www.donnapkelly.pwp.blueyonder.co.uk/documents/OWB_10gR2_SCD.pdf
    My conclusions are perhaps of interest to anyone considering doing SCD processing with Paris.
    I'll be doing a follow-up this weekend, and publishing a sort of 'how-to-do-it' guide.
    Cheers,
    Donna
    Message was edited to add the words: "in this respect"

  • Must a EntityBean map with data table?

    I know Not every data table will map with Entity bean
    but must a EntityBean map with a datatable?
    rgds

    Ofcourse Not, EntityBean Just A style of Bean,
    We declare something as EntityBean because it perform some action like a Entity
    For Example,A Man Contain some attribute, or A File with some attribute,
    usually we have store this in the database ,so EntityBean Usually map with data table.
    but you can also store the data in the file format as you like,you can control it in the BMP model
    in my opinion ,Entitybean is the object base on the attribute , the Sessionbean is the object base on the action with the user.So we can distinguish them��:-)

  • ABAP Mapping with Value Mapping

    Hi folks,
    Anyone knows if it is possible to query a value mapping table inside an ABAP mapping?
    Thanks in advance,
    Ricardo.

    Hi Bhavesh,
    Thanks for your prompt answer.
    I’m already using the Value Mapping with Master data Replication on several graphical mappings. Unfortunately, some changes happened for one mapping program, the complexity increased and the graphical mapping doesn’t fulfill these new requirements. So, I thought to use ABAP mapping, because is a language that I know well.
    I understood your concern; we are talking about two levels, ABAP and Java stack. It will be needed a call from ABAP stack to Java Stack, but maybe there is an API for that? But, about system performance, I guess Value Mapping its better then RFC lookup, right?
    My mapping problem is: I need to generate two nodes (not a field) every time the code “MODI” (modification) comes in a source field. Inside these two nodes, I have to fill a field, into first node, with an old id and for the second node with the new id.
    I can’t found any standard function to fulfill this requirement. Maybe this is easy with UDF, but I’m not filling comfortable with Java and I don’t know how to do it. If you know, please let me know.
    Thanks in advance.
    Regards,
    Ricardo.

  • Performance Point Dashboard Designer filter and SSRS parameter problem

    I've created reports in SSRS, with parameters, but can't get the filter in Performancepoint to have any affect on the SSRS parameter/reports. My SSRS reports are using shared datasets I've created, with no cubes. My SSRS parameter is text data type.
    In the Dashboard Content window, I have the filter in the header, and have drug (at different times) the display value and the member unique name to the report.
    In this header area (with filter), clicking the down arrow, there is no Edit Connection option. Should there be? Or would that only be to connect to a higher up filter? When clicking Create Connection, under the Items tab, 'get values from' lists header
    and Date and is greyed out, I can put the report name in 'send values to', but under Connect To, there are no options. Why? And the OK button is greyed out.
    In the report area, the filter name (Date) is listed underneath Connections. And right clicking the filter for this connection and clicking Edit Connection, under the Items tab, under 'get values from', it says header and Date, and under 'send values to',
    zone 1 - and the report name is listed. Under the Values tab, the parameter name (DateNameParm) is listed in the Connect To, and I've tried both member unique name and display value for source value.
    There's another thread on here titled "Performance Point - Dashboard Filter Not Working with SSRS Reporting Parameters" (won't let me post link), where someone here says they had to change the filter data type
    from GUID, but I see no place to do this.

    Hi Roberto,
    Dashboard layout and sizing in PerformancePoint is very flexible. This article covers nearly all of the sizing options available, one basic dashboard page scenario and a few common questions.
    http://blogs.msdn.com/b/performancepoint/archive/2008/01/07/performancepoint-dashboard-sizing-explained.aspx
    Please go to the last question and answer: “filters are locked to auto-sizing,
    so their width will override the size of their parent zone. Minimum filter width may be adjusted in the ParameterTree.css file. See the article
    Working with the Monitoring CSS Files to Adjust Settings in Deployed Dashboards on the PerformancePoint team blog for more detail.”
    As a best practice, put dashboard filters in a separate zone from where you put reports and scorecards. Otherwise, items such as chart legends or reports might not be displayed correctly.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • EclipseLink Direct Map with Joining mapping issue

    Hi EclipseLink Team,
    We encountered an issue to map an attribute as Direct Map with Join Fetch enabled in EclipseLink Workbench 1.1.1 (Build v20090430-r4097).
    Basically, we have the following data model:
    SESSION
    SESS_NO (PK),
    PARAM_SESS
    SESS_NO (FK) (PK),
    PARAM_NAME (PK),
    PARAM_VALUE
    Then we have Session.java persistent entity associated with SESSION table. This class contains Map attribute sessionParameters which we map as Direct Map with PARAM_SESS.PARAM_NAME as key and PARAM_SESS.PARAM_VALUE as value (referenced by PARAM_SESS.SESS_NO = SESSION.SESS_NO).
    The described mapping works fine without Joining enabled (both for Lazy and Eager Loading).
    But we have cases when we want to get parameters for a number of sessions. And disabling of Joining leads to a number of performed SELECT SQL queries (both for Lazy and Eager Loading) those are bad for performance.
    So we have chosen the Eager Loading and set the Join Fetch option to Outer. Then we have got the following:
    I see in the log the only SQL query performed: SELECT DISTINCT t0.SESS_NO, …, t1.PARAM_VALUE, t1.PARAM_NAME FROM {oj SESSION t0 LEFT OUTER JOIN PARAM_SESS t1 ON (t1.SESS_NO = t0.SESS_NO)}. This is pretty good for us. This query returns exactly what we expect when executing on the database. But the Map attribute for every session is populated incorrectly: Maps are empty (not corresponding to available relational data).
    Could you please let us know if this is a bug, or kind of known issue or we made something wrong? Some hints and proposals would be very helpful and appreciated.
    I should mention that for now we want to map all of this for read only purpose.
    Thanks.
    Best Regards,
    Alexey Elisawetski

    James,
    I've tried both 1.2 release and 2.0 (v20091121-r5847) but received the same result - empty Map.
    Moreover, for both versions the following string was absent in deployed XML file:
    +<direct-key-field table="PARAM_SESS" name="PARAM_NAME" xsi:type="column"/>+
    Therefore, on application initialization I have got an exception: org.eclipse.persistence.exceptions.DescriptorException with message This descriptor contains a mapping with a DirectMapMapping and no key field set.
    So I was forced to add the line manually.
    This seems buggy to me...
    Regards,
    Alexey

  • How do I repopulate my maps with red pins from my bookmarks?

    How can I repopulate my map with red pins from bookmarks? From Bookmarks I can drop one pin at a time which is useless. I need all of my pins back on the map.

    Suggest that you take a look at the excellent resource provided by Time Capule / Time Machine guru Pondini.
    http://web.me.com/pondini/Time_Machine/FAQ.html
    See # 14
    If you are not comfortable with this,I  would also suggest that you consider havng a qualified Apple repair shop perform this for you.

  • Map or filter a field

    Dears,
    I have a BAPI based interface and I need to map or filter one field of its IDoc.
    Is it possible to set a fixed value at BD64 transaction or any other transaction?
    The external system sends the field with valid values and I need to change them to zero.
    The BAPI used in the interface is standard so I was hoping that would be possible to change the value without changing the BAPI.
    Interface: HR-PDC
    Message Type: HRCC1UPTEVEN
    Basic Type: HRCC1UPTEVEN01
    Segment: E1BPCC1UPTEVEN
    BAPI: Object PTMgrExtPExpenses, method Insert (Function HR_CC1_TIMEEVENT_POST).
    Field: TIMEID_NO
    Thanks in advance!
    Best Regards.
    Anaer Lima

    "Not" is not yet implemented, but it is one of our top 10 requested features. So fear not, we'll be adding it. It's not the top item on the list, however, and it is not exactly inexpensive (as there are not just a few ways of using it). So I can not
    yet provide an estimate regarding when it will show up.
    But without a doubt, we won't be omitting no aspects of nothing except none of the features other than what we didn't implement for nobody. Not.
    - Chris

  • Using SSO and user mapping with WebDav Repository

    Hi guys,
      I have a WebDav Repository in portal and i configured SSO with SSO22KerbMap in IIS server. All is ok, but i have some UME users than don't have user in our Active Directory, i need use user mapping with this users. Do it's possible?
      Currently i have a KMWebDav system (with same alias name that http system) and i mapped one of my UME user (with name 'umeuser' for example) with one Active Directory user (with name 'aduser' for example), if i try access to my webdav repository from KM Content with 'umeuser' i can see in SSO22KerbMap log a message like:
    10:48:57 6756/4652 i OnPreprocHeaders: Determined account umeuser from cookie MYSAPSSO2
    10:48:57 6756/4652 E OnPreprocHeaders: Found 0 UserPrincipalNames for ADSI Filter...
    Can somebody help me?
    Thanks in advanced.

    Hi Guys,
    Any takers?
    Suggestions would be appreciated.
    Cheers
    Ian Henderson

  • Issue in Color Theme on the map with ADF geographic components

    I am facing an issue in bringing up a map using color theme .I can able to bring up a map with color themes using geographic components feature in ADF.
    The problem here is 'Edit Color Map Theme' dialog which lists Map Theme in five categories like continents,counties,countries,states_abbrev,states_names.
    we had implemented map using Color Theme based on the states_abbrev and found it was working properly.
    But after some days we found that the settings we made to work for the map no longer works and resulted in no color theme on the map being displayed on the page.
    It was found that the states_names works properly instead of states_abbrev by that time.
    But again after some days it didnt work with state_names and we revert back our code to follow state_abbrev so as to get the desired result.
    Does somebody know where is the problem and how to approach this issue?

    Quick Install is gone.
    Database repair doesn't work.
    Color coded categories is gone, and as you've discovered Theme colors are gone.
    Print to Excel is gone.
    Many desktop clients that worked with 4.2 do not work.
    It won't work with legacy devces.
    and others.... There are lots of complaints about 6.2 scattered around the forums.  Personally, the HotSync manager keeps forgetting the connections I've set, and goes to default views.
    You aren't missing much of anything, IMHO.
    WyreNut
    Post relates to: Centro (AT&T)
    Message Edited by WyreNut on 02-20-2009 12:18 PM
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • How to add a bing map with pins to a Siena Project

    Hi
    I just want to add a bing map with the current location and a few nice pins of some nice locations around me. Comming out of a Excel file. Potentially also draw some routing lines into the bing maps.
    Any ideas how I can accomplish that goal?
    Thank you in advance
    wbr.
    Joerg 

    yes you can (there is actaully one on the map, blue square)
    The syntax is listed on
    http://msdn.microsoft.com/en-us/library/ff701724.aspx
    You will however have to build the correct string to included in the image source (which you can do in the source excel or in runtime in siena)
    Concatenate is suitable to do that.
    http://dev.virtualearth.net/REST/v1/Imagery/Map/Road?pp=47.638197,-122.131378;;1&ms=350,500&key=KEYHERE
    the PP indicates the pin actually and the bing map autocenters on that. You have several options listed on the webpage listed above. It's a question of the one fitting you best.
    Please note that your bing key is yours so you need to hide it well enough.
    Regards
    StonyArc

  • Can i use WebApps to build a Google map with polygon territories instead of points (pins)?

    I built a map with Google Maps Engine Pro - http://www.jmbcompanies.com/Services/Mitigation/map.
    It showcases territories using a Google map polygon shape.  I wrote custom KML to create it.  However, with Google Maps Engine pro you cannot create custom hyperlinks.  It will link a URL that you put in the data, but you cannot name it or target the parent window, so therefore it opens a new tab for each click to more details.  I really want it to open the WebApp detail page for that item within the same window.
    So, is there a way to use the BC integrated Google maps technology and show polygons instead of points on the map? I've used {module_webappsmap,20754,a} to place individual locations on a map, but what about territories or polygon areas?
    I'm sure that I can create a WebApp to generate the KML for each placeholder.  But how do I turn that into a map?
    THANKS!!

    You can not create a kml file in BC through webapps. Modules do not work in other file types and you do not have server code access to generate a file type of results.
    You need to use the google API and do this yourself or you can just use this:
    And embed it into a custom field. My Maps

  • How to lock a specific map with a password in FINDER?

    I don't use a password on my mac because you have to fill it out the whole time for ridiculous reasons. But I have one map, with all my financial numbers and invoices, that I want to secure with a password.
    How to do that?
    I already tried some things but can't figure it out.
    Thanks in advance!

    not sure what you mean by a map here. if you use a blank admin password (a mistake IMO), pretty much your only option is to create an encrypted disk image using disk utility and put whatever you want protected inside. when the image is unmounted, the only way to mount it is by entering the password you set at the image creation time.

  • Error in scheduling a mapping with sqlloader ctl file

    Hi everyone,
    I have been trying to schedule a single mapping which generates sqlloader ctl file. but i get the error
    ORA-20001: Begin. initialize complete. workspace set. l_job_audit_execution_id= 20545. ORA-20001: Please check execution object is deployed correctly. ORA-01403: no data found ORA-06512: at "USER7.PMAP_TLOG_JOB", line 180 ORA-20001: Please check execution object is deployed correctly. ORA-01403: no data found
    but when i attach this mapping with a process flow it works fine. There is no error.
    so my question is in OWB is it a must that we should attach the mapping which generates sqlloader ctl file to a process flow and then schedule it or can we schedule a single mapping which generates sqlloader ctl file and what should be the process to schedule a single mapping which generates sqlloader ctl file?
    can anyone please help?
    Thanks & Regards
    Subhasree

    Hi Nawneet,
    Any suggestions?
    can anybody else also help me in this error???
    Regards
    Subhasree

  • Runtime-Error after deploying a mapping with the generated script

    For example a very easy scenario:
    1. Create a table and a view in a DB-schema, witch ist registered as WB-target-schema with the following scripts:
    create view v1(c1) as select 'a' c1 from dual;
    create table t1(c1 varchar2(1));
    2. Import the table and the view into a OWB-module
    3. Create a mapping ‘m1’
    4. Drag and drop view and table into the mapping
    5. Draw an arrow from the view-column to the table-column
    6. Save and close the mapping
    7. Mark the mapping in the ‘Design Center’ and klick the ‘Generate’-Button
    8. Save the generated script ‘M1.pls’ to file
    9. Run the script in SQL*Plus, connected with the target-schema (without using the Control Center Manager)
    => very easy right now ;-)
    10. Start the mapping with the following script will produce the following error
    SQL> declare
    2 v_status varchar2(100);
    3 begin
    4 m1.main(v_status);
    5 end;
    6 /
    declare
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at "OWB_OWN.WB_RT_MAPAUDIT_UTIL", line 1027
    ORA-06512: at "SCOTT.M1", line 2048
    ORA-06512: at line 4
    If i delete or comment the four WB_RT_MAPAUDIT_UTIL-calls - it work´s fine!
    But is this a good advise?
    What exactly does the wrapped package ‘WB_RT_MAPAUDIT_UTIL do?
    Thanks
    jwehner

    I just ran into the same problem myself. I used the same technique of saving the generated OWB script to file and then compiling it through sqlplus. When I used the "Deploy" option for the mapping, then the problem went away. So when OWB is deploying the code it seems to be setting something internally that doesn't get set when you simple compile the PL/SQL. I don't know of any workaround to this. I will need it eventually, since I don't want to use the UI to deploy to various test environments and production. Maybe the built-in scripting language is the way to go.

Maybe you are looking for

  • Urgent help needed with Lucida Grande

    I have to use this font for a project, I can't get away with Lucida sans, it HAS to be Lucida Grande. I don't quite know what is going on but I have some text in Lucida Grande Regular which is all fine, I tried creating another text box but it's show

  • Setting Date value in File Name while scheduling report to File System

    I am trying to set the file name as %SI_Name% Current Date.extension in Destination section while scheduling a crystal report to File system. So in Use Specific Name section i have added %SI_NAME% %SI_STARTTIME%.%EXT%. Schedule works fine for me and

  • 5800 XpressMusic SIM Registration failed.

    I have recently purchased a Nokia 5800 XpressMusic phone pre-owned from a local market and when I turn it on I get "SIM Card Registration Failed" and when I try to make a phone call I get "Connection error". I have checked the IMEI using http://www.n

  • IPhone4 failure after 12months and 3 days

    I have had my iPhone for a little over 12months and suddenly the lock button  has decided to stop working. I am appalled at the level of customer Service I received with regards to this matter as it turns out that the product failure occured 3 days a

  • Adobe reader x: signature digest algorithm

    Hi, I have created a pdf with Adobe Acrobat, with the signing attribute on and it has an empty signature field. If I sign this document using a brand new self-signed windows digital ID Adobe Reader uses as signing algorithm SHA256, if I use (via PKCS