Bad performance due to the use of AGO and TO_DATE time series functions

Hi all,
I'm building an OBI EE Project on top of a 1TB DW, and i'm facing major performance problems due to the use of the AGO and TO_DATE time series functions in some of the Metrics included on the reports. I discovered that when a report with one of those metrics is submited to the DB, the resulting query/explain plan is just awful!... Apparently OBI EE is asking the DB to send everything it needs to do the calculations itself. The CPU cost goes to the roof!
I've tried new indexes, updated statistics, MV's, but the result remains the same, i.e., if you happen to use AGO or TO_DATE in the report you'll get lousy query time...
Please advise, if you have come across the same problem.
Thanks in advance.

Nico,
Combining the solution to view the data in dense form (http://gerardnico.com/wiki/dat/obiee/bi_server/design/obiee_densification_design_preservation_dimension), and the use of the lag function (http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_period_to_period_lag_lead_function) appears to be the best solution for us.
Thanks very much.

Similar Messages

  • After downloading iOS 8.1.3, lost the use of messaging and face time, shortly after my e-mail. Any suggestions?   Valo

    After downloading iOS 8.1.3, I lost the use of messaging, face time and shortly there after my e-mail. I changed and reset everything I could on my I-Pad... same result. It can't be my router or my provider, for my I-Pod touch works fine. Any suggestions?    Thanks, Val

    Hello there berczy,
    As I understand it, you are not able to use iMessage, FaceTime or any email service on your phone. Saying you've tried everything would generally make me recommend that you restore the phone from a backup but that can take a long time, so without knowing exactly what steps you have taken, I would like for you to review the troubleshooting in the following article for FaceTime and iMessage:
    If you get an error when trying to activate iMessage or FaceTime
    And to troubleshoot the Mail app, use this article:
    Get help with Mail on iPhone, iPad, and iPod touch
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • After downloading iOS 8.1.3, lost the use of messaging and face time, shortly after my e-mail. Any suggestions?   Val

    After downloading iOS 8.1.3, I lost the use of messaging, face time and shortly there after my e-mail. I changed and reset everything I could on my I-Pad... same result. It can't be my router or my provider, for my I-Pod touch works fine. Any suggestions?    Thanks, Val

    Hi berczy,
    Thanks for the question. I understand that you are experiencing multiple issues with your iPad after updating. It sounds like you are on the right track, as all three of these tasks require an internet connection. To help isolate the issue further, are you able to open webpages in Safari? If not, we’ll need to troubleshoot the iPad’s network connection:
    If your iPhone, iPad, or iPod touch won’t connect to a Wi-Fi network - Apple Support
    https://support.apple.com/en-us/HT204051
    - Matt M.

  • How to properly use H-T-D Dynamic Time Series Function

    Hello all.
    Our Period Dimension goes like default
    Period
    -Year Total
    --Qtr1
    ---Jan
    etc..
    Now when I set up HTD (lack of any explanation on the Documentation)
    I put the generation to Level 2. The function pretty much does what YTD does, sums up the total for hte year given the current month. What we want to try and accomplish is get values summed from the very first data saved to the current datal current. Now this can't happen since years are in a differnet dimension. So my main question is. Is this possible to do? and what is the main function of H-T-D? Thank you.

    HTD or History to date is meant for when you have a single time dimension with multiple years in it. If your outline liiked something like
    Years
    2008
    2008-q1
    2008-jan
    2008-feb
    2008-mar
    2008-Q4
    2008-Dec
    2009
    etc
    You could use set up qtd, ytd and htd and get totald for each.
    In your case if Years is in a separate dimension from periods, you would have to roll your own as formulas on created members. in either the period or year dimension (I'll guess the years dimension) where you add from my example 2008->period +( range of jan to the current member) look at sumrange and currmbrrange functions

  • How to find the year ago measure with out using time series functions

    hi all
    is there any way to find year ago sales with out using time series functions like ago
    Thanks
    Sreedhar

    Hello Madan,
    Thanks for the reply.
    It still doesn't consider the product into account.
    My columns are as below
    Prod Week End DATE Current Sales Prior Sales % Change
    A 12/4/2010 100 0
    A 12/11/2010 200 100
    A 12/18/2010 300 200
    B 12/4/2010 400 300(this value is not for prod B, i want this to b 0 aswell. But we get product A's last sale amount)
    Is there any way this can be done. I have tried evaluate,MSUM.
    I cannot build a time dimension as all I have is a view.
    Thanks,
    Deep

  • Problem in creating and updating of  material by the use of bapi and bdc

    Hello All,
    I am using bapi (BAPI_MATERIAL_SAVEDATA ) and than bdc to create and update classification data of material.
    I am facing a problem.
    1) firstly I am creating material by the use of bapi and than after creation i want to update classification data for taht perticular material .
    2) To update classification data i am using bdc . while at the time of updating material through bdc system showing me error that material is currently locked by user (my login name ).
    Please suggest what to do.
    Tkank you
    With Regards
    Shantanu Modi

    When u update/create data it takes sometime to commit. So after using BAPI
    give 10 minutes wait in ur program before updating classification data.
    you can write like
    wait up to 20 seconds.
    and update the classification.

  • What is the use of EIN_FEDERAL and EIN_STATE_LOCAL fields in Voucher header record (PeopleSoft AP) ?

    What is the use of EIN_FEDERAL and EIN_STATE_LOCAL fields in Voucher header record (PeopleSoft AP) ? And where can we check record field related information in PeopleBooks ?

    Hi User,
    The best place to search for questions like this one is OTN, Oracle Technology Network. If you have any question about CLOUD and partnering with Oracle we will be more than glad to help! Thanks.

  • What can I change to gain access to my work vpn.  I can access with my MacBook Air and other routers.  Can use my ipad and this time capsule to successfully access the VPN.

    What can I change to gain access to my work vpn.  I can access with my MacBook Air and other routers.  Can use my ipad and this time capsule to successfully access the VPN.

    You need to give us a lot more info.
    I presume the MBA and the TC are the combo that doesn't work, although you don't clearly state that.
    If the ipad and TC work.. are you sure the ipad is connected via the TC and not 3G network?
    If it is then the TC itself is fine and the issue might be setup on the MBA.. although if the MBA works with other routers.. that rather confuses the matter.
    You need to actually tell us how the TC is setup in the network. What kind of broadband modem you have and what kind of vpn you are using.

  • I previously uploaded images onto my desktop to work on in Lightroom 5.2. I worked on a few of the images days ago and just now getting back to them. My problem is I can only access the images I previously worked on and all the rest it says images not ava

    I previously uploaded images onto my desktop to work on in Lightroom 5.2. I worked on a few of the images days ago and just now getting back to them. My problem is I can only access the images I previously worked on and all the rest it says images not available but all the images are still right on my desktop.

    ... and all the rest it says images not available
    Normally this happens because you moved, renamed or deleted these photos (or the folders that contain them) outside of Lightroom. This is how to fix the problem: Adobe Lightroom - Find moved or missing files and folders

  • What is the use of inherit and push in FR

    Hi Gurus
    1. what is the use of inherit and push option while providing report permission in Financial Reporting?
    regards
    Sarilla

    Yes, but you have no way of knowing whether what you find on Google is right or not.We can say its right as long google places oracle docs at the top when you type some thing related to oracle.
    I aways see something else on the top. I dont believe people stopped hitting or reading or searching oracle docs.
    Regards,
    G.

  • What is the use of command and alternate in flowlogic

    what is the use of command and alternate in flowlogic in SMARTFORMS?

    Yes, but you have no way of knowing whether what you find on Google is right or not.We can say its right as long google places oracle docs at the top when you type some thing related to oracle.
    I aways see something else on the top. I dont believe people stopped hitting or reading or searching oracle docs.
    Regards,
    G.

  • My iphone has fallen into the water 6months ago and there is no apple store in my country so i gave the phone s technical service.but they couldnt repair the phone.and now the battery is swollen.can i replace the phone with the new one in spain?

    My iphone has fallen into the water 6months ago and there is no apple store in my country so i gave the phone s technical service.but they couldnt repair the phone.and now the battery is swollen.can i replace the phone with the new one in spain?

    You can only obtain warranty OR post warranty service in the country of original purchase
    As your iPhone has user damage it has no warranty
    IF the iPhone originated from Spain or another EU country you can get out of warranty service in any EU country

  • Whats the use of doget and dopost

    hi
    whats the use of doget and dopoast when same work can be done by sevice alone?
    Message was edited by:
    pooja_k_online

    Try looking at the Tomcat implementation of HttpServlet.service() method. I have pasted it below, if you look at the service() method all it does is to check for the method and call the appropriate method. It is not recommended to override the service method. It is a good practice to only override the getXXX() methods.
    protected void service(HttpServletRequest req, HttpServletResponse resp)
    throws ServletException, IOException
    String method = req.getMethod();
    if(method.equals("GET"))
    long lastModified = getLastModified(req);
    if(lastModified == -1L)
    doGet(req, resp);
    } else
    long ifModifiedSince = req.getDateHeader("If-Modified-Since");
    if(ifModifiedSince < (lastModified / 1000L) * 1000L)
    maybeSetLastModified(resp, lastModified);
    doGet(req, resp);
    } else
    resp.setStatus(304);
    } else
    if(method.equals("HEAD"))
    long lastModified = getLastModified(req);
    maybeSetLastModified(resp, lastModified);
    doHead(req, resp);
    } else
    if(method.equals("POST"))
    doPost(req, resp);
    else
    if(method.equals("PUT"))
    doPut(req, resp);
    else
    if(method.equals("DELETE"))
    doDelete(req, resp);
    else
    if(method.equals("OPTIONS"))
    doOptions(req, resp);
    else
    if(method.equals("TRACE"))
    doTrace(req, resp);
    } else
    String errMsg = lStrings.getString("http.method_not_implemented");
    Object errArgs[] = new Object[1];
    errArgs[0] = method;
    errMsg = MessageFormat.format(errMsg, errArgs);
    resp.sendError(501, errMsg);
    }

  • What is the use of with and without marker update?

    what is the use of with and without marker update?

    Hi,
    Marker Update Updates the stock values and NO Marker does not.
    Generally BX upload has to be compressed with MU and BF(and UM) delta init has to be compressed with NO MU because Stock was updated with BX. And delta loads of BF and UM has to be compressed with MU  because these brings new Material movements which will has to give effect to stock.
    With rgds,
    Anil Kumar Sharma .P

  • Use of time series functions with horizontally fragmented fact tables

    Hi Guys,
    in OBIEE 10g it wasn't possible to use time series functions [AGO, TO_DATE] on horizontally fragmented fact tables. This was due to be fixed in 11g.
    Has this been fixed? Has somebody used this new functionality? What the the limitations?
    Tkx
    Emil

    Hello,
    Can you give us some examples for "horizontally fragmented fact tables", we can tell you whether we can do that or not?
    Thanks,

Maybe you are looking for