<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Datasphere performance issue in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/13860793#M4882834</link>
    <description>&lt;A href="https://community.sap.com/t5/technology-blogs-by-sap/troubleshooting-of-performance-issues-between-sap-analytics-cloud-sac-and/ba-p/13801417" target="_blank"&gt;https://community.sap.com/t5/technology-blogs-by-sap/troubleshooting-of-performance-issues-between-sap-analytics-cloud-sac-and/ba-p/13801417&lt;/A&gt;</description>
    <pubDate>Tue, 10 Sep 2024 12:03:49 GMT</pubDate>
    <dc:creator>JulianJuraske</dc:creator>
    <dc:date>2024-09-10T12:03:49Z</dc:date>
    <item>
      <title>Datasphere performance issue</title>
      <link>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaq-p/13809365</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I am facing some performance issues with datasphere modeling. Here is my design structures:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Charlielin_0-1724809752658.jpeg"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/158608i681831CBC7F6B02F/image-dimensions/771x232?v=v2" alt="Charlielin_0-1724809752658.jpeg" title="Charlielin_0-1724809752658.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;Background&lt;/FONT&gt;: We have to create SAC report based on COPA Actual/Plan Data and some other External Data as well.&lt;/P&gt;&lt;P&gt;Modeling Steps refer to above:&lt;/P&gt;&lt;P&gt;1. Preload COPA Actual Data&lt;FONT color="#FF6600"&gt;(20 M Records)&lt;/FONT&gt;, Budget Data&lt;FONT color="#FF6600"&gt;(1 M Records)&lt;/FONT&gt;, External Data&lt;FONT color="#FF6600"&gt;(10 K Records)&lt;/FONT&gt; to &lt;FONT color="#008000"&gt;local Table&lt;/FONT&gt; and &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;store table data in memory. &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;Then create views based on local tables and make &lt;STRONG&gt;&lt;FONT color="#008000"&gt;projections&lt;/FONT&gt;&lt;/STRONG&gt; to reduce the no. of columns&lt;/FONT&gt;&lt;/FONT&gt;. &lt;STRONG&gt;&lt;FONT color="#008000"&gt;Filters&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;&lt;FONT color="#008000"&gt;A&lt;STRONG&gt;g&lt;/STRONG&gt;gregations&lt;/FONT&gt;&lt;/STRONG&gt; are also applied to reduce the total no. of records.&lt;/P&gt;&lt;P&gt;2. Use &lt;FONT color="#008000"&gt;Input parameters&lt;/FONT&gt; to limit amount of data access.&lt;/P&gt;&lt;P&gt;3. Create &lt;FONT color="#008000"&gt;UNION&lt;/FONT&gt; for Actual and Plan data&lt;/P&gt;&lt;P&gt;4. Create &lt;FONT color="#008000"&gt;UNION&lt;/FONT&gt; for External data and above(3)&lt;/P&gt;&lt;P&gt;5. &lt;FONT color="#008000"&gt;Aggregation&lt;/FONT&gt; based on final data structure&lt;/P&gt;&lt;P&gt;6. Various &lt;FONT color="#008000"&gt;Calculated column&lt;/FONT&gt;(simple calculation) created&lt;/P&gt;&lt;P&gt;7. &lt;FONT color="#008000"&gt;Fact source view&lt;/FONT&gt; created(&lt;FONT color="#FF6600"&gt;Measures: 110 / Attribute: 45&lt;/FONT&gt;) and used by Analytic Model. &lt;FONT color="#FF6600"&gt;Till this point, no. of records have reduced to &lt;STRONG&gt;2M&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;SAC then use this Analytic Model for Reporting&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Now here comes the trouble:&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;1. When I Preview data in the Analytic Model, it takes 30~40 seconds to show the result, the acceptable response time is within 10 secs.&lt;/P&gt;&lt;P&gt;2. While the model is consumed by SAC, as we create more calculations(YTD, Last year YTD...etc) SAC crashes.&lt;/P&gt;&lt;P&gt;Is there any suggestion for performance improvement ?&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 11:35:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaq-p/13809365</guid>
      <dc:creator>Charlielin</dc:creator>
      <dc:date>2024-08-28T11:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Datasphere performance issue</title>
      <link>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/13809934#M4843486</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would suggest please refer note 2511489 &amp;nbsp;for troubleshooting the performance issues in SAC.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 11:23:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/13809934#M4843486</guid>
      <dc:creator>RajKosnam8087</dc:creator>
      <dc:date>2024-08-28T11:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Datasphere performance issue</title>
      <link>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/13850751#M4881436</link>
      <description>&lt;P&gt;Hello Charlielin,&lt;BR /&gt;&lt;BR /&gt;i would recommend you to have a look at his Blog&amp;nbsp;&lt;A href="https://community.sap.com/t5/technology-blogs-by-members/performance-analysis-in-the-sap-datasphere/ba-p/13548256" target="_blank"&gt;https://community.sap.com/t5/technology-blogs-by-members/performance-analysis-in-the-sap-datasphere/ba-p/13548256.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;After Reading this Blog you should be familiar on how to analyse the Performance on each step done by the SAP HANA Database thats underneath the SAP Datasphere.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Julian&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 04:59:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/13850751#M4881436</guid>
      <dc:creator>JulianJuraske</dc:creator>
      <dc:date>2024-09-02T04:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Datasphere performance issue</title>
      <link>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/13860724#M4882821</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;# SAC crashes - OoM?&lt;/P&gt;&lt;P&gt;# In DSP you can get PlanViz file, which you can analyze in Studio. Could help, but not for the SAC Crash.&lt;/P&gt;&lt;P&gt;#&amp;nbsp;For SAC there is the the Performance Analysis Tool. But before you deep dive there, go to DSP. The 40 seconds runtime is quite a lot for the 20M entries. First you need to get the runtime in DSP down - can bypass by persisting the view and consuming in SAC via analytic model.&lt;/P&gt;&lt;P&gt;I would:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. lower the complexity. Remove the calculations in step#6 / remove the step #6 . Check the runtime. I assume the calculations between step #2 and #3 are necessary for the union in stepp #3, if not, remove them as well.&amp;nbsp; Check if you go for runtime &amp;lt; 10 seconds.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. persist this view. In the same task chain, where you have the COPA source tables, add step to persist this view and then re-use it in analytic model, which you consume in SAC.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;How do you connect DSP to SAC? What do you consume? Try analytic model -&amp;nbsp; Worked for me the best way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 11:05:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/13860724#M4882821</guid>
      <dc:creator>Martin_Kuma</dc:creator>
      <dc:date>2024-09-10T11:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Datasphere performance issue</title>
      <link>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/13860742#M4882825</link>
      <description>Thanks for your reply. I've analyzed the PlanViz file and change the model and now it's down to 2 secs in the preview of analytical model. But when it's directly consumed by SAC, it takes almost 2 mins to bring out the result. Guess i have to work with the analysis tools with SAC</description>
      <pubDate>Tue, 10 Sep 2024 11:12:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/13860742#M4882825</guid>
      <dc:creator>Charlielin</dc:creator>
      <dc:date>2024-09-10T11:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Datasphere performance issue</title>
      <link>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/13860793#M4882834</link>
      <description>&lt;A href="https://community.sap.com/t5/technology-blogs-by-sap/troubleshooting-of-performance-issues-between-sap-analytics-cloud-sac-and/ba-p/13801417" target="_blank"&gt;https://community.sap.com/t5/technology-blogs-by-sap/troubleshooting-of-performance-issues-between-sap-analytics-cloud-sac-and/ba-p/13801417&lt;/A&gt;</description>
      <pubDate>Tue, 10 Sep 2024 12:03:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/13860793#M4882834</guid>
      <dc:creator>JulianJuraske</dc:creator>
      <dc:date>2024-09-10T12:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Datasphere performance issue</title>
      <link>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/14067887#M4909518</link>
      <description>Charlielin - did you fix the performance issue ? if yes let us know</description>
      <pubDate>Mon, 07 Apr 2025 03:28:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/14067887#M4909518</guid>
      <dc:creator>ravikiran_sap</dc:creator>
      <dc:date>2025-04-07T03:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Datasphere performance issue</title>
      <link>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/14067914#M4909519</link>
      <description>&lt;P&gt;We finally cut the SAC reporting time from 2 mins to around 10 sec.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The root cause is the &lt;FONT color="#FF0000"&gt;complex logic&lt;/FONT&gt; on SAC that generated a &lt;FONT color="#FF0000"&gt;huge amount of MDS&lt;/FONT&gt;&amp;nbsp;statement and Datasphere is unable to consume it efficiently.&lt;/P&gt;&lt;P&gt;We overcome this issue by taking the complex logic prior in ERP using ABAP and stored the pre-processed data in add-on table for Datasphere.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For direct connection(SAC to Datasphere), it's better to avoid too much logic design on SAC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 09:53:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/14067914#M4909519</guid>
      <dc:creator>Charlielin</dc:creator>
      <dc:date>2025-04-07T09:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Datasphere performance issue</title>
      <link>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/14069856#M4909837</link>
      <description>Hey there :). Just wondering, did you try to persist the final COPA View?</description>
      <pubDate>Tue, 08 Apr 2025 15:01:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/14069856#M4909837</guid>
      <dc:creator>Martin_Kuma</dc:creator>
      <dc:date>2025-04-08T15:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Datasphere performance issue</title>
      <link>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/14070514#M4909896</link>
      <description>Yes, we did persist the final view and that helped quite a lot. But until that point, reporting time is still over 2 mins so we went for antoher approach</description>
      <pubDate>Wed, 09 Apr 2025 01:19:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datasphere-performance-issue/qaa-p/14070514#M4909896</guid>
      <dc:creator>Charlielin</dc:creator>
      <dc:date>2025-04-09T01:19:41Z</dc:date>
    </item>
  </channel>
</rss>

