<?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>topic Re: WFA - UseQuotaManagement with WFA for cDOT - Cache Query =&amp;gt; Duplicate rows found for cache ta in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-UseQuotaManagement-with-WFA-for-cDOT-Cache-Query-gt-Duplicate-rows-found-for/m-p/94733#M17097</link>
    <description>&lt;P&gt;Hi Rtoubali,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The query looks correct to me, i tried the query on my machine which had a few qtrees and quotas and the query returned results.&lt;/P&gt;&lt;P&gt;From the log message you posted, i think WFA might be discarding the new entries as the natural keys of the records are same as the old ones.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share the dictionary entry definition to see if it needs any modification?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-regards,&lt;/P&gt;&lt;P&gt;chandank.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Oct 2014 09:25:29 GMT</pubDate>
    <dc:creator>chandank</dc:creator>
    <dc:date>2014-10-28T09:25:29Z</dc:date>
    <item>
      <title>WFA - UseQuotaManagement with WFA for cDOT - Cache Query =&gt; Duplicate rows found for cache table</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-UseQuotaManagement-with-WFA-for-cDOT-Cache-Query-gt-Duplicate-rows-found-for/m-p/94287#M17086</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I am in the process to built a WFA Cache Database storing values that are required for User-Quota-Management (UQM). UQM should be implemented as Workflow and is relying on activated default user-quotas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;SVM:\\VolumeName\QtreeName\user_name &amp;lt;---- user_quota.users&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to obtain all required storage-object details required for UQM I am querying the OCUM DB with following sql statement:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;####&lt;BR /&gt;&lt;EM&gt;SELECT&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;qtree_quota.objid AS id,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;qtree_quota.diskLimit/1024 AS disk_limit_mb,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;qtree_quota.fileLimit AS file_limit,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;qtree_quota.qtreeId AS qtree_id,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;qtree_quota.softDiskLimit/1024 AS soft_disk_limit_mb,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;qtree_quota.softFileLimit AS soft_file_limit,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;qtree_quota.quotaTarget AS target,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;qtree_quota.threshold/1024 AS threshold_mb,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;'tree' AS type,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;NULL as user_mapping,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;qtree_quota.volumeId AS volume_id,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;NULL as user_name&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;netapp_model_view.qtree_quota&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;UNION&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SELECT&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;user_quota.objid AS id,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;user_quota.diskLimit/1024 AS disk_limit_mb,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;user_quota.fileLimit AS file_limit,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;user_quota.qtreeId AS qtree_id,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;user_quota.softDiskLimit/1024 AS soft_disk_limit_mb,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;user_quota.softFileLimit AS soft_file_limit,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;user_quota.quotaTarget AS target,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;user_quota.threshold/1024 AS threshold_mb,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;user_quota.quotaType AS type,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;NULL as user_mapping,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;user_quota.volumeId AS volume_id,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;user_quota.users AS user_name&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;netapp_model_view.user_quota&lt;/EM&gt;&lt;BR /&gt;########&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This sql-statement is working within an simple SQL-Editor and is returning the storage-object details required for changing a quota for an existing user "user_quota.users".&lt;BR /&gt;Unfortunately a WFA cache update for this specific "table" fails. If I have understood the "Dynamic Home Share function" correctly, using default quotas would result in multiple&lt;BR /&gt;entries with different users but in the same Qtree.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;####&lt;BR /&gt;Extract WFA Log Message:&lt;/P&gt;&lt;P&gt;2014-10-23 11:01:27,925 INFO [com.netapp.wfa.cache.job.CacheJobExecutorImpl] (Thread-6883 (HornetQ-client-global-threads-1685068325))&lt;BR /&gt;Acquisition job 7859 - 1 warning - Duplicate rows found for cache table 'cm_storage.quota_rule_cache',&lt;BR /&gt;Columns: (id,disk_limit_mb,file_limit,qtree_id,soft_disk_limit_mb,soft_file_limit,target,threshold_mb,type,user_mapping,volume_id,user_name)&lt;BR /&gt;Rows: (6237,0.0000,0,6236,0.0000,0,,0.0000,USER,null,6230,BUILTIN\Administrators)&lt;BR /&gt;####&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;So - how do I have to change the Cache-DB query in order to get these multiple?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Environment: OCUM 6.1 and WFA 2.2.x.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Rabé&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:26:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-UseQuotaManagement-with-WFA-for-cDOT-Cache-Query-gt-Duplicate-rows-found-for/m-p/94287#M17086</guid>
      <dc:creator>rtoubali</dc:creator>
      <dc:date>2025-06-05T05:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - UseQuotaManagement with WFA for cDOT - Cache Query =&gt; Duplicate rows found for cache ta</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-UseQuotaManagement-with-WFA-for-cDOT-Cache-Query-gt-Duplicate-rows-found-for/m-p/94733#M17097</link>
      <description>&lt;P&gt;Hi Rtoubali,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The query looks correct to me, i tried the query on my machine which had a few qtrees and quotas and the query returned results.&lt;/P&gt;&lt;P&gt;From the log message you posted, i think WFA might be discarding the new entries as the natural keys of the records are same as the old ones.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share the dictionary entry definition to see if it needs any modification?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-regards,&lt;/P&gt;&lt;P&gt;chandank.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2014 09:25:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-UseQuotaManagement-with-WFA-for-cDOT-Cache-Query-gt-Duplicate-rows-found-for/m-p/94733#M17097</guid>
      <dc:creator>chandank</dc:creator>
      <dc:date>2014-10-28T09:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - UseQuotaManagement with WFA for cDOT - Cache Query =&gt; Duplicate rows found for cache ta</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-UseQuotaManagement-with-WFA-for-cDOT-Cache-Query-gt-Duplicate-rows-found-for/m-p/95413#M17111</link>
      <description>&lt;P&gt;Hi Chadank,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many thanks for your analysis so far. Please find attached the Dictionary Entry in raw XML-format. I appreciate your support here!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Rabé&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 08:28:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-UseQuotaManagement-with-WFA-for-cDOT-Cache-Query-gt-Duplicate-rows-found-for/m-p/95413#M17111</guid>
      <dc:creator>rtoubali</dc:creator>
      <dc:date>2014-10-31T08:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - UseQuotaManagement with WFA for cDOT - Cache Query =&gt; Duplicate rows found for cache ta</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-UseQuotaManagement-with-WFA-for-cDOT-Cache-Query-gt-Duplicate-rows-found-for/m-p/95415#M17112</link>
      <description>&lt;P&gt;Hi Chadank,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many thanks for your analysis so far. Please find attached the Dictionary Entry in raw XML-format. I appreciate your support here!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Rabé&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 08:31:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-UseQuotaManagement-with-WFA-for-cDOT-Cache-Query-gt-Duplicate-rows-found-for/m-p/95415#M17112</guid>
      <dc:creator>rtoubali</dc:creator>
      <dc:date>2014-10-31T08:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - UseQuotaManagement with WFA for cDOT - Cache Query =&gt; Duplicate rows found for cache ta</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-UseQuotaManagement-with-WFA-for-cDOT-Cache-Query-gt-Duplicate-rows-found-for/m-p/95479#M17114</link>
      <description>&lt;P&gt;Thanks for sending the dictionary entry. I was able to import it into my wfa installation and acquire few quotas and qtrees.&lt;/P&gt;&lt;P&gt;I had all types of quotas on storage, i got the same warning in my log and few entries were not acquired by wfa.&lt;/P&gt;&lt;P&gt;This is due to a collision in the natural key. As per your dictionary entry natural key = volume_id + target, this is not unique for all the records.&lt;/P&gt;&lt;P&gt;Maybe you have to choose a natural key which would be unique, you can consider adding qtree_id to the natural key.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;following is the log message, i have highlighted the duplicate natural keys.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;id&lt;/TD&gt;&lt;TD&gt;disk_limit_mb&lt;/TD&gt;&lt;TD&gt;file_limit&lt;/TD&gt;&lt;TD&gt;qtree_id&lt;/TD&gt;&lt;TD&gt;soft_disk_limit_mb&lt;/TD&gt;&lt;TD&gt;soft_file_limit&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;target&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;threshold_mb&lt;/TD&gt;&lt;TD&gt;type&lt;/TD&gt;&lt;TD&gt;user_mapping&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;volume_id&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2770&lt;/TD&gt;&lt;TD&gt;0.1211&lt;/TD&gt;&lt;TD&gt;123000&lt;/TD&gt;&lt;TD&gt;2664&lt;/TD&gt;&lt;TD&gt;0.0117&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;0.1211&lt;/TD&gt;&lt;TD&gt;tree&lt;/TD&gt;&lt;TD&gt;null&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;2663&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2673&lt;/TD&gt;&lt;TD&gt;10.957&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;2665&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;USER&lt;/TD&gt;&lt;TD&gt;null&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;2663&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2777&lt;/TD&gt;&lt;TD&gt;0.2305&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;2669&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;USER&lt;/TD&gt;&lt;TD&gt;null&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;2663&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2671&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;2665&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;USER&lt;/TD&gt;&lt;TD&gt;null&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;2663&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2775&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;2669&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;USER&lt;/TD&gt;&lt;TD&gt;null&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;2663&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-regards,&lt;/P&gt;&lt;P&gt;chandank&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 12:46:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-UseQuotaManagement-with-WFA-for-cDOT-Cache-Query-gt-Duplicate-rows-found-for/m-p/95479#M17114</guid>
      <dc:creator>chandank</dc:creator>
      <dc:date>2014-10-31T12:46:00Z</dc:date>
    </item>
  </channel>
</rss>

