<?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: Data persistence in Datasphere in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14379151#M4940745</link>
    <description>&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/581632"&gt;@appel_solar_dk&lt;/a&gt; I tested this with a SQL view. I counted the rows when persisted and it had indeed 134M rows but when I counted the rows with the virtual I get the correct 750k rows. Any association should also show up in the virtual version right?</description>
    <pubDate>Tue, 21 Apr 2026 08:01:30 GMT</pubDate>
    <dc:creator>jeanramon</dc:creator>
    <dc:date>2026-04-21T08:01:30Z</dc:date>
    <item>
      <title>Data persistence in Datasphere</title>
      <link>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaq-p/14378321</link>
      <description>&lt;P&gt;Hello, I am using the data persistence in Datasphere. Based on the log, the number of records inserted in the table inflates to about 178x so the initial number of records which is 750k becomes 134M. This also inflates the amount of memory being used. Has anyone encountered this? Anyone with data persistence knowledge can share anything more about it? Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2026 13:03:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaq-p/14378321</guid>
      <dc:creator>jeanramon</dc:creator>
      <dc:date>2026-04-20T13:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Data persistence in Datasphere</title>
      <link>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14379147#M4940744</link>
      <description>Have you tried to count the records? Are you sure that you don't have associated 1:n so that your base data is exploded into multible rows? You will only see that when you start to use the associated fields.</description>
      <pubDate>Tue, 21 Apr 2026 07:57:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14379147#M4940744</guid>
      <dc:creator>appel_solar_dk</dc:creator>
      <dc:date>2026-04-21T07:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Data persistence in Datasphere</title>
      <link>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14379151#M4940745</link>
      <description>&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/581632"&gt;@appel_solar_dk&lt;/a&gt; I tested this with a SQL view. I counted the rows when persisted and it had indeed 134M rows but when I counted the rows with the virtual I get the correct 750k rows. Any association should also show up in the virtual version right?</description>
      <pubDate>Tue, 21 Apr 2026 08:01:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14379151#M4940745</guid>
      <dc:creator>jeanramon</dc:creator>
      <dc:date>2026-04-21T08:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Data persistence in Datasphere</title>
      <link>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14379153#M4940746</link>
      <description>If you count(*) on a view it will not "open" the association and also left outer joins are not opened. If you persist the view it must as I see it open all associations and left outer joins and that is where you could have a 1:n relation that explodes your data</description>
      <pubDate>Tue, 21 Apr 2026 08:05:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14379153#M4940746</guid>
      <dc:creator>appel_solar_dk</dc:creator>
      <dc:date>2026-04-21T08:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Data persistence in Datasphere</title>
      <link>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14379386#M4940762</link>
      <description>&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/581632"&gt;@appel_solar_dk&lt;/a&gt; I have only left joins onto the original source of 750k rows so they should not be multiplying e.g. original source left join with Master Code so then the original source will have Master Code description from Master Code view. That would not multiply the records right?</description>
      <pubDate>Tue, 21 Apr 2026 10:55:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14379386#M4940762</guid>
      <dc:creator>jeanramon</dc:creator>
      <dc:date>2026-04-21T10:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Data persistence in Datasphere</title>
      <link>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14379394#M4940764</link>
      <description>It sounds correct. You will need to create some more sql counting or maybe create a select minus / except query to find out what is the difference between the two sets</description>
      <pubDate>Tue, 21 Apr 2026 11:10:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14379394#M4940764</guid>
      <dc:creator>appel_solar_dk</dc:creator>
      <dc:date>2026-04-21T11:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Data persistence in Datasphere</title>
      <link>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14379868#M4940789</link>
      <description>&lt;P&gt;Persistency will not open ASSOC. Assoc by definition are temporary and will be used by AM only. Not view persisting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It has to show 750k. Try to copy the view into a very new one. I have had the issue of obsolete version in runtime (I was deploying to PROD however) and I was reading such issues were not uncommon in DWC. What helped me was to copy the view...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try also without any associations if not sure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The inflation of 1:n View-Assoc happens in AM&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 18:10:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14379868#M4940789</guid>
      <dc:creator>Martin_Kuma</dc:creator>
      <dc:date>2026-04-21T18:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Data persistence in Datasphere</title>
      <link>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14380200#M4940821</link>
      <description>&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/275733"&gt;@Martin_Kuma&lt;/a&gt; I tried this copy and deleting and ran the persistence but still ended up with the multiplied number of rows</description>
      <pubDate>Wed, 22 Apr 2026 07:02:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14380200#M4940821</guid>
      <dc:creator>jeanramon</dc:creator>
      <dc:date>2026-04-22T07:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Data persistence in Datasphere</title>
      <link>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14380357#M4940834</link>
      <description>&lt;P&gt;Nice issue you have there :). So you copied, but the view persistency is still inflated? OK., try to copy again and remove all ASSOCs. Then try to re-add some of the ASSOCs. I have Views with 50+ ASSOCs f.e. Also please go to Space Management \ Monitoring and check there how many entries has your persisted view (just as a double check). Also is it possible you have a parameter in the view which persists with different values? Just asking / checking&lt;/P&gt;&lt;P&gt;Last check -&amp;gt; Runtime metrics. What is shown there as count (*)?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 09:06:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14380357#M4940834</guid>
      <dc:creator>Martin_Kuma</dc:creator>
      <dc:date>2026-04-22T09:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Data persistence in Datasphere</title>
      <link>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14380367#M4940835</link>
      <description>&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/275733"&gt;@Martin_Kuma&lt;/a&gt; The view does not have any associations only joins. In Data Monitoring tab, the persisted data has the multipled rows ~134M. I also have no parameters</description>
      <pubDate>Wed, 22 Apr 2026 09:08:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14380367#M4940835</guid>
      <dc:creator>jeanramon</dc:creator>
      <dc:date>2026-04-22T09:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Data persistence in Datasphere</title>
      <link>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14380386#M4940839</link>
      <description>&lt;P&gt;OK. Got it. Then go for the left-joins. They will be the root cause. One of them is a 1:n, or maybe even n:m. Remove all left-joins and add one by one. Left join will inflate in case the key is not used. DSP views bypass SQL rules like unique key, not-null key, ... only DSP tables obey the SQL rules.&lt;/P&gt;&lt;P&gt;Possible null to null join &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 09:38:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14380386#M4940839</guid>
      <dc:creator>Martin_Kuma</dc:creator>
      <dc:date>2026-04-22T09:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Data persistence in Datasphere</title>
      <link>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14380517#M4940855</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;this persistence problem happened to me several times. It´s usually caused by the wrong use of join cardinalities that can multiply rows.&lt;/P&gt;&lt;P&gt;Join cardinality settings are used for optimization and can lead to unexpected behaviors if the data doesn’t match the stated cardinality&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 12:25:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14380517#M4940855</guid>
      <dc:creator>IGPRIETO</dc:creator>
      <dc:date>2026-04-22T12:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Data persistence in Datasphere</title>
      <link>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14380550#M4940858</link>
      <description>&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/275733"&gt;@Martin_Kuma&lt;/a&gt; I found the issue. It appears that there are 2 views that are left joined to the source view but no values match the source view. I am not sure why but somehow removing all the left join and leaving this problematic view alone multiples the records. It doesn't affect the virtual version but somehow it does on persistence.</description>
      <pubDate>Wed, 22 Apr 2026 13:04:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14380550#M4940858</guid>
      <dc:creator>jeanramon</dc:creator>
      <dc:date>2026-04-22T13:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Data persistence in Datasphere</title>
      <link>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14397716#M4942274</link>
      <description>I was facing a similar issue in one of our graphical views where a left outer join with the fiscal calendar table was causing record inflation. When DISTINCT was applied in the DSP graphical view left outer join, fyi- I kept the cardinality to default (blank), the record count matched the expected output. Try checking the distinct check box in the join to get the distinct values based on the keys</description>
      <pubDate>Sun, 17 May 2026 16:17:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/data-persistence-in-datasphere/qaa-p/14397716#M4942274</guid>
      <dc:creator>Snehi_Kaushik</dc:creator>
      <dc:date>2026-05-17T16:17:52Z</dc:date>
    </item>
  </channel>
</rss>

