Query on 0TCT_MC23 cube

Hi All,
I made my custom query on 0TCT_MC23 provider. It takes so much time to run. When i see in SM50 then it doesnt show any process running from my id.
I deleted and created the index too for the cube but still its very very slow.
Could you guys tell how can i improve the performance of teh query.
Regards.

Hi, also when loading data on regular basis, reading the Virtual cube is very slow.
Unless you need explicit actual data schedule the delta to run e.g. 3 times per workday and exclude the VC cube from the reports. This works perfect.
You could also set 2 reporting scenarios. 1 for daily operations, VC exluded and thus fast reponse. Other set detailed analysis with VC for digging into troubles with current data.
Regards, Patrick Rieken.

Similar Messages

  • Adding a Descendents Query to a Cube

    Hi,
    I have the following MDX query that I wish to add to a cube:
    with member [measures].[descendents test] as
    sum
        Descendants ([Date].[Calendar Year],, LEAVES) *
        Descendants ([Date].[Calendar Quarter of Year],, LEAVES) *
        Descendants ([Date].[Calendar Week of Year],, LEAVES) *
        Descendants ([Product].[Category],, LEAVES) *
        Descendants ([Product].[Subcategory],, LEAVES) *
        Descendants ([Product].[Product],, LEAVES)
                ([Measures].[Internet Sales Amount] * [Measures].[Internet Tax Amount])
    ) / [Measures].[Internet Freight Cost]
    select [measures].[descendents test] on columns,
    [Date].[Calendar Year].children on rows
    from [Adventure Works]
    What's the best way to add a descendents query to a cube? I don't think I should include the Calendar Dimension as the cube has multiple Calendar Hierarchies that I want the calculation to use if selected. Essentially the calculation should do the calculation
    at the lowest level even when it's rolled up to a higher level.
    Any help and direction would be greatly appreciated.

    Hi Silverarrows,
    What do you mean by "Add query to a cube"? If you want to add the calculation to the cube, then we can add it in the Calculations tab in the cube designer in BIDS. A calculation is nothing but an MDX expression or script which is used to define
    a calculated member, a named set, or a scoped assignment in a cube. For the detail information about how to do it, please refer to the links below.
    http://www.sqlservergeeks.com/blogs/AmitK/sql-server-bi/65/sql-server-implementing-calculations-in-ssas-using-mdx-part1
    http://www.purplefrogsystems.com/blog/2011/01/how-to-add-calculations-in-ssas-cubes/
    http://msdn.microsoft.com/en-IN/library/ms145492.aspx
    If I have anything misunderstand, please point it out and elaborate your requirement, so that you can get more help.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Problem with a query on Remote Cube

    Hi,
    We are working on Remote cube, which has a source from a view built on R/3 base table. I need to extract the data to BW based on a current date due to huge volume of data(performance reasons) in the table. I have used an exit on R/3 to restrict to current date but the extract checker was showing the valid data ie only for current date when i had built a query on Remote cube, the Report was showing complete data(restriction not working). We have even tried using an inversion routine in transfer rules to pass the selections to the Source system even then it doesn't work. Could you help if you have come across same kind of situation or you can suggest an alternate solution on the same but we have to use Remote cube.
    Any suggestions asap would be highly appreciated and rewarded with full points.
    Regards,
    Raj

    Could you check the BLOB really contains UTF-8 encoded XML?
    What's your database character set?The BLOB contains UTF-8 Encoded
    and the database where i am connectes have AL32UTF8 character set, but my internal instance have "AMERICAN_AMERICA.WE8ISO8859P1"
    that is a problem?
    How could I change the character set of the oracle local client to the character set of the remote oracle data base?

  • Performance of my query based on cube ? and ods?

    hi all,
    how to identify the performance of my query based on a cube nor ods. I have requirement which enables to do flat file extraction and the extraction is only once and the records are less too. I need to sort whether my query will be faster based upon cube nor on ods.
    Can anyone let me know how to measure the performance of my query based upon cube and ods and how to find out which one will be faster. bcos i need to explain them the entire process of going to load the data directly to ods and do reporting from there nor data loaded directly to cube and do reporting from cube.
    thanxs
    haritha

    Hi,
    ODS is 2 Dimensional  so avoid reporting on ODS,
    Cube is MultiDim, for analysis perpose we can go reporting on Cube only
    Records in ODS are Overwritten whereas in Cube records are Aggregated
    and can also do compression on Cube, which will increase the query performance and so data retrieval in cube is faster
    Thanks

  • Query on Inventory Cube 0IC_C03

    Hi All
    When running a query on Inventory Cube, I get some of the values like this "[2,000]" and the value is not taken into account in the total row.
    Any Idea about the "[Value]"?
    Thanks
    Dror Golani

    Hi,
    Probably it could be a NUMC data type.Just check.
    venkat

  • Query on Stat Cube

    Hi,
    I am trying to get query list based on last used date.
    I ran query on stat cube 0BWTC_...
    Also, i got list of queries from the view v_compdir_compic in bw backend.
    But the query list i get from stat cube query is less than what i get from View table.
    there are aprox 300 less queries.
    can u please tell me why the list is different ?
    thanks,
    KS
    Edited by: Keral Smith on Nov 4, 2008 10:04 AM

    Hi Abhijit,
    We have all BW statistic cubes loaded on november 1st.
    which are 0bwtc_c01,.......they are for aggregate, for OLAP, for OLAP navigation etc.
    so how come the list of queries are different than V_COMPDIR_COMPIC ?
    any clue ?
    thanks,
    KS

  • Query of the cube # is getting displaced

    Hi All,
           In the query of the cube for characteristics whereever it is blank from the cube it is getting displayed by a '#".I want it to display a blank. how to overcome this problem.
    thanks

    Hi Pavan,
    Please try to seach thr forums before posting a question. See this thread:
    Replace the default u0091#u0092 in BEx
    Re: replacing '#'-sign for 'not assigned' in queries
    Hope this helps...

  • Error Message on query of the cube 0PUR_C01

    Hi Gurus,
    I am executing the standard query 0PUR_C01_Q0004 on cube 0PUR_C01 (Purchasing).
    For some results lines I see the following message "No calc possible" on key figures values. Has anybody seen this error before??
    I will really appreciate any help.
    thanks
    Ricardo Okazaawa

    Perhaps try the "Error -50," "-5000," "8003," "8008," or "-42023" section in the Specific Conditions and Alert Messages: (Mac OS X / Windows) section of the following document:
    iTunes: Advanced iTunes Store troubleshooting

  • If I execute the query on a cube now my OLAP processor where will come

    hi can any body help regarding this
    If I execute the query on a cube now my OLAP processor where will come first(SID table or Fact Tbl or Dimension Tbl)

    hi,
    i think first is coming to fact table, then dim and sid tables.
    regards
    harikrishna N

  • Query on virtual cube showing incorrect values

    Experts,
    I have create a virtual cube on a base cube using services (info-source). both virtual as well base cube are z-development and are in BI.
    Base cube has 6 records, now when I check data in virtual cube using display data it shows correct values based on routine written in virtual cube transformation.
    Problem is when I created query on this virtual cube it doesnt show correct data or sometime no applicable data. After debugging I found, in end routine itself result package contains records with blank values in it on which I have written routine. But it does this only while executing query not when I display data in cube.
    Regards,
    Akshay

    Hi!!!
    And how do you solved it?

  • Getting Strange Error Running Query After Partioning Cube

    I am using BI 7.0, Service Pack 11:
    I just partitioned a cube. I hav eorginal cube XFI_C001 and create a new cube C2_XFIC01 by copying from XFI_C001. Now I developed a query on C2_XFIC01. Similar query on XFI_C001 does not give any error. How can I debug this problem? Error reported when running query is shown below. I  ran ST22, no dump. I did SM50, looked at developer trace, no clue.
    The initial exception that caused the request to fail was: 
    Termination message sent
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:148)
    at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)
    Detailed Exception is:
    com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while generating HTML
         at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:365)
         at com.sap.ip.bi.webapplications.runtime.rendering.impl.ContainerNode.render(ContainerNode.java:63)
         at com.sap.ip.bi.webapplications.runtime.rendering.impl.PageAssemblerRenderingRoot.processRendering(PageAssemblerRenderingRoot.java:52)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:3565)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:3280)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:3236)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2512)
         at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:956)
         at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:842)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:430)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:174)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
         at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:148)
         at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)
         at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:144)
         at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)
         at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:144)
         at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)
         at com.sap.ip.bi.base.application.service.RfcService.fillMessages(RfcService.java:268)
         at com.sap.ip.bi.base.application.service.RfcService.doPostProcessing(RfcService.java:218)
         at com.sap.ip.bi.base.application.service.rfcproxy.impl.RfcFunction.execute(RfcFunction.java:57)
         at com.sap.ip.bi.base.application.service.RfcService.doPostProcessing(RfcService.java:227)
         at com.sap.ip.bi.base.application.service.rfcproxy.impl.RfcFunction.execute(RfcFunction.java:57)
         at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderInfoObject.prepareForSelectionMemberAccess(ProviderInfoObject.java:1215)
         at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.selection.ProviderComponentList.setup(ProviderComponentList.java:87)
         at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.selection.ProviderComponentList.getComponents(ProviderComponentList.java:120)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.ComponentList.setup(ComponentList.java:96)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.ComponentList.<init>(ComponentList.java:77)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.CartesianProduct.setup(CartesianProduct.java:78)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.CartesianProduct.<init>(CartesianProduct.java:55)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.Selection.<init>(Selection.java:57)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.createSelection(SelectionObject.java:538)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.getSelectionSpace(SelectionObject.java:549)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.getEffectiveSelection(SelectionObject.java:577)
         at com.sap.ip.bi.km.impl.KmUtilities.getEffectiveSelection(KmUtilities.java:66)
         at com.sap.ip.bi.km.impl.source.property.QueryBuilderMulti.getQueryExpressionWrapper(QueryBuilderMulti.java:129)
         at com.sap.ip.bi.km.impl.source.CmFolderSource.getDocumentQueryResult(CmFolderSource.java:132)
         at com.sap.ip.bi.km.common.selection.DocumentSelectorResultSet.readQvDocuments(DocumentSelectorResultSet.java:234)
         at com.sap.ip.bi.km.common.selection.DocumentSelectorResultSet.getCellsWithDocuments(DocumentSelectorResultSet.java:136)
         at com.sap.ip.bi.km.common.selection.DocumentsSelectionService.getCellsWithDocuments(DocumentsSelectionService.java:258)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.RsDataCells.hasDocuments(RsDataCells.java:620)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.RsDataCell.hasDocuments(RsDataCell.java:543)
         at com.sap.ip.bi.webapplications.ui.items.analysis.renderer.interactive.RendererInteractive.createContent_DocumentSymbol(RendererInteractive.java:1660)
         at com.sap.ip.bi.webapplications.ui.items.analysis.renderer.interactive.RendererInteractive.createCell_Content(RendererInteractive.java:545)
         at com.sap.ip.bi.webapplications.ui.items.analysis.renderer.interactive.RendererInteractive.createCell(RendererInteractive.java:525)
         at com.sap.ip.bi.webapplications.ui.items.analysis.renderer.interactive.RendererInteractive.createTableRow(RendererInteractive.java:489)
         at com.sap.ip.bi.webapplications.ui.items.analysis.renderer.interactive.RendererInteractive.getContent(RendererInteractive.java:423)
         at com.sap.ip.bi.webapplications.ui.items.analysis.control.AcPivotTableInteractive.buildUrTree(AcPivotTableInteractive.java:321)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:33)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:61)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayoutItem.iterateOverChildren(FlowLayoutItem.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayout.iterateOverChildren(FlowLayout.java:69)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:61)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.MatrixLayoutCell.iterateOverChildren(MatrixLayoutCell.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.MatrixLayoutRow.iterateOverChildren(MatrixLayoutRow.java:56)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.MatrixLayout.iterateOverChildren(MatrixLayout.java:69)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.container.matrixlayout.control.AcMatrixControlGrid.iterateOverChildren(AcMatrixControlGrid.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:61)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.Group.iterateOverChildren(Group.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.container.group.control.AcGroupControl.iterateOverChildren(AcGroupControl.java:259)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:61)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayoutItem.iterateOverChildren(FlowLayoutItem.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayout.iterateOverChildren(FlowLayout.java:69)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         ... 42 more

    Hi,
    The error log shows you are executing your query on portal which uses Java stack. There may some issue with the portal configuration. Check with your basis/portal team.
    The query will execute in BEx and RSRT as RSRT executes query on ABAP stack.
    Regards,Niraj

  • Query accessing SSAS cube is taking more time in power view report

    Hi,
    My SSAS server is having 16 Core's . I have created a power view in sharepoint site, which is accessing ssas cube.
    The report is taking more time to show the result.  I traced the DAX query using SQL Server profiler. When I ran this DAX query in SSAS server directly, then its taking less time but when the same query running from sharepoint server (power view) , it
    is taking more time. Number of records in the fact table is 300M . 
    Also i tracked the %process time in performance monitor, mostly the line is below 20%. I think the CPU is not fully utilized..
    Could you please help me to improve the performance of my report.
    Regards,
    Arun

    Hi Arun,
    According to your description, you create a PowerView report in SharePoint site connect to SSAS cube, the problem is that it take long time to show the result in the report, now you want to improve report performance, right?
    In your scenario, you said that it takes more time to return the result in PowerView report than run the query directly in SSMS. For a report, its run time contain retrieval data time and render report time. So it takes more time to return the result in
    PowerView report than run the query directly in SSMS. And there are 300M records in the fact table, the performance can be caused by large data. Here is a blog which describes tracks down Power View performance problems.
    http://blogs.msdn.com/b/psssql/archive/2013/07/29/tracking-down-power-view-performance-problems.aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • Query with a cube and infoobj attributes

    Hi Gurus,
    I have a cube CUBE1 and it contains Infoobject IO_ADDR. Attributes of  IO_ADDR are address details. Can I display cube details as well as address details in a Bex report without creating infoset or multicube etc? Pls guide me if it is possible..
    What would be the best method to do this?
    Thanks in advance...
    Saj

    Hi Saj,
    It is possible !!!!!!!!
    Just check whether the Add Attribute is Nav or Display Attribute.In any case u can get that into report.But if it is Nav Attibute then can drill down based on that  Address Object.Else u can change it to
    Nav att and then include it in the report.
    Say if it is Material and MAt Group is Attribute then
    In the Left hand side of the Query when u drill down on MAterial,Material Attributes,U can find Mat Group.Just Drag as drop the Mat and Mat Group.For Display Attribute it goes Hand in HAnd.
    For Nav Attribute,it will display as Material_Matgroup in the Drill Down.just drag and Drop.
    Rgds
    SVU
    Edited by: svu123 on May 14, 2009 1:24 PM

  • BI beans does not use QUERY RERWITE for cube

    Hello!
    First of all I would like to say big thanks to Keith for help on dimension rollup. It works now.
    I am creating a pilot environment with
    Oracle      10.2.0.3
    OWB 10.2.0.3
    SS Add-in 10.1.2.2
    and one cube ST_R and three dims
    DIM_R_NOMA for products
    DIM_R_CIDI for stores
    DIM_R_TIME for time
    Now I have deployed dimensions and cube to CWM2. Dimensions are working quite well. I would say even better than in MOLAP. About 1 second for rollup on 2000 members in level.
    Now I am facing second problem. I can not force BI beans (which is used in SS Add-in and Disco and OWB browser) to use summaries prepared by DBMS_ODM package.
    1/ I have prepared MV LOGS for dimension and fact tables
    2/ I have prepared MV for dimensions using DBMS_ODM
    3/ I've prepared materialized view for cube aggs. with
    DBMS_ODM.CREATESTDFACTMV('WWHH','ST_R','ST_R.sql','C:\TEMP',true,'FULL');
    CWM2_OLAP_CUBE.set_mv_summary_code('WWHH','ST_R','GROUPINGSET');
    as described in OLAP REFERENCE on DBMS_ODM page.
    I explained all my MVs - they seem to be OK. They support
    REWRITE_GENERAL,
    REWRITE_FULL_TEXT,
    REWRITE_PART_TEXT
    There are no support for PCT rewrite etc.
    My user 'WWHH' has a privileges:
    ANALYSE_ANY
    QWERY_REWRITE
    GLOBAL_QWERY_REWRITE
    My database has setting
    QUERY_REWRITE_ENABLED=true
    Stale_tolerated=enforced
    all MVs and tables are analyzed.
    I do not use parallel settings on tables,MVs.
    to do some further analisys I've enabled olapcontinuous_trace_file. It generates some useful SQL statements from BI BEANS in UDUMP. These statements DO NOT resolve in MAT VIEW in explain plan
    Questions:
    Are there any settings for BI BEANS to turn on/off?
    Are there any other packages to create MVs?
    How to explain WHY MVs are not used?
    THanks everybody for cooperation.
    Regards,
    Kirill Boyko

    Keith,
    Thank you for response.
    I refreshed metadata, but no result. Again, dimensions are OK, but not cube. I am attaching explanation why it did no rewrite. This explanation is coming from
    dbms_mview.Explain_Rewrite
    QSM-01150: query did not rewrite
    QSM-01263: query rewrite not possible when query references a dictionary table or view
    QSM-01284: materialized view MV1125 has an anchor table DIM_R_TIME_V not found in query
    QSM-01102: materialized view, MV1125, requires join back to table, DIM_R_CIDI_V, on column, REGION_ID
    QSM-01219: no suitable materialized view found to rewrite this query
    QSM-01284: - is wrong. I have DIM_R_TIME_V in MView.
    Here is my MVIEW script from database:
    SELECT
    FROM
    WWHH.CAWHTB2 a,
    WWHH.DIM_R_CIDI_V b,
    WWHH.DIM_R_NOMA_V c,
    WWHH.DIM_R_TIME_V d
    WHERE
    b.STORE_ID = a.CIIDCA AND
    c.ARTICLE_ID = a.NMIDCA AND
    d.DAY_ID = a.CLIDCA
    GROUP BY GROUPING SETS ( ...)
    Could you tell me where to check in metadata that MVIEW is correctly setup?

  • Error while enabling query rewrite on cube

    Hi
    Trying to enable query rewrite option for OLAP cube throws below error message :
    Your metadata changes have been saved, with the following errors
    Invalid Metadata Objects:
    Invalid Object "FUSION.FLINE_STATUS_CUBE2": "CREATE MATERIALIZED VIEW "FUSION"."CB$FLINE_STATUS_CUBE2"
    ORGANIZATION CUBE ON FUSION.DOO_STATUS (
    FACT "FLINE_STATUS_CUBE2_STORED"("FLINE_STATUS_CUBE2_MEASURE_DIM" 'SYS_COUNT') IS "SYS_COUNT",
    FACT "FLINE_STATUS_CUBE2_STORED"("FLINE_STATUS_CUBE2_MEASURE_DIM" 'TOTAL_QUANTITY') IS "TOTAL_QUANTITY",
    FACT "FLINE_STATUS_CUBE2_STORED"("FLINE_STATUS_CUBE2_MEASURE_DIM" 'TOTAL_PRICE') IS "TOTAL_PRICE",
    DIMENSION "WAREHOUSE1" IS "WAREHOUSE1" .............................................
    ORA-30353: expression not supported for query rewrite
    There are no issues with loading/viewing data from cube.
    Any pointers on what could be going wrong herel.
    Thanks
    RaviKishore

    In the context of an OLAP cube the offending expression will be part of the cube's mapping. As already pointed out, there are a number of functions that aren't compatible. Here is the oracle documentation for the error.
    ORA-30353 expression not supported for query rewrite
    Cause: The SELECT clause referenced UID, USER, ROWNUM, SYSDATE, CURRENT_TIMESTAMP, MAXVALUE, a sequence number, a bind variable, correlation variable, a set result, a trigger return variable, a parallel table queue column, collection iterator, a non-deterministic date format token RR, etc.
    Action: Remove the offending expression or disable the REWRITE option on the materialized view.
    The most common cause in my experience is handling dates with either TO_DATE or TO_CHAR functions. If these functions do not have an explicit date format, then you will hit this error.

Maybe you are looking for

  • New iPhone 5s, cannot text or Face Time with my husband

    My husband and I finally got iPhones (now that T-Mobile began offering them – we were able to hold out that long, unbelievable). Needless to say, this is a life changing acquisition. The problem we just discovered with our days-old phones is that whi

  • Images and Spry menus

    I don't want to use text for my main menu -- I want to use images so my main menu tabs will be a set size. Can I do this using the Spry (horizontal) menu I've already set up? If so, I don't know how to do this. What specifically do I need to change,

  • Captivate 6 screen freezing

    I was wondering if anybody else is experiencing the below problem? 1.  I opened a project in Captivate 6 that I created in Captivate 5.5 2.  Changed some text on a few slides 3.  Published in flash player 9 SWF file only 4.  Replayed the interactive

  • When opening Mail Application "Unable to open a PIM session. Error ; Playbook 64GB

    Support: With the new software update to 2.0 email has been working excellent for my gmail.com and me.com accounts.  This morning, I was asked to re-enter my [email protected] password, which I did .... and from then on I got the above ERROR message

  • Cloning a bootable disk as a system backup

    I have a Sun M5000 System running Solaris 10. It has 4 slots in the face panel for removable drives. The 1st 2 slots are the ones we use, for the mirrored, boot file system. I don't have tape drives on this system, but I do want to be able to make sy