<?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: Delete of alerts in SAS Visual Innvestigator in Fraud, AML and Security Intelligence</title>
    <link>https://communities.sas.com/t5/Fraud-AML-and-Security/Delete-of-alerts-in-SAS-Visual-Innvestigator/m-p/691247#M688</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recommend that you open a technical support track for this issue, see this link:&amp;nbsp;&lt;A href="https://support.sas.com/en/technical-support/contact-sas.html#2f350546-5bf0-4b6e-8c04-11fa1bb1a29f" target="_blank"&gt;https://support.sas.com/en/technical-support/contact-sas.html#2f350546-5bf0-4b6e-8c04-11fa1bb1a29f&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rachel&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2020 13:13:29 GMT</pubDate>
    <dc:creator>Rachel_</dc:creator>
    <dc:date>2020-10-13T13:13:29Z</dc:date>
    <item>
      <title>Delete of alerts in SAS Visual Innvestigator</title>
      <link>https://communities.sas.com/t5/Fraud-AML-and-Security/Delete-of-alerts-in-SAS-Visual-Innvestigator/m-p/689100#M679</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm facing some issues while deleting of alerts form the PGAdim, DataBase is SharedServices and Schema is svi_alerts.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I'm having my script to delete the generated alerts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I'm trying to delete the record from the svi_alerts.tdc_alerting_event it's taking a lot of time to do so. I have noticed that it takes around 40-50 minutes to delete around 1000 records stored in the&amp;nbsp;tdc_alerting_event table, and in the other table which are related to it, it takes a few seconds to do so.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, I'm having around&amp;nbsp;&lt;SPAN&gt;190159 observations to delete. How can I do it in a minimum time period?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is my code to delete&amp;nbsp; records from&amp;nbsp;svi_alerts schema:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;delete from svi_alerts.tdc_contributing_object where alerting_event_id in (select alerting_event_id from svi_alerts.TDC_ALERTING_EVENT&lt;BR /&gt;where domain_id in ('Bill_Not_Generated', 'Outstanding_Payment_50_to_75',&lt;BR /&gt;'Outstanding_Payment_75_to_90','Outstanding_Payment_Above_90'));&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;delete from svi_alerts.tdc_scenario_fired_event where scenario_nm in ('Bill Not Generated in a Demand Cycle','Outstanding Payment against Bills &amp;gt;= 90%',&lt;BR /&gt;'Outstanding Payment against Bills Between 50% and 75%', 'Outstanding Payment against Bills Between 75% and 90%');&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;update svi_alerts.tdc_alerting_event set alert_id = null&lt;BR /&gt;where domain_id in ('Bill_Not_Generated', 'Outstanding_Payment_50_to_75',&lt;BR /&gt;'Outstanding_Payment_75_to_90','Outstanding_Payment_Above_90');&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;delete from svi_alerts.tdc_alert where domain_id in ('Bill_Not_Generated', 'Outstanding_Payment_50_to_75',&lt;BR /&gt;'Outstanding_Payment_75_to_90','Outstanding_Payment_Above_90');&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;delete from svi_alerts.tdc_alert_action where domain_id in ('Bill_Not_Generated', 'Outstanding_Payment_50_to_75',&lt;BR /&gt;'Outstanding_Payment_75_to_90','Outstanding_Payment_Above_90');&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;delete from svi_alerts.tdc_alerting_event where domain_id in ('Bill_Not_Generated', 'Outstanding_Payment_50_to_75', &lt;BR /&gt;'Outstanding_Payment_75_to_90','Outstanding_Payment_Above_90');&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;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 07:38:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Fraud-AML-and-Security/Delete-of-alerts-in-SAS-Visual-Innvestigator/m-p/689100#M679</guid>
      <dc:creator>chaudharydeepak</dc:creator>
      <dc:date>2020-10-06T07:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Delete of alerts in SAS Visual Innvestigator</title>
      <link>https://communities.sas.com/t5/Fraud-AML-and-Security/Delete-of-alerts-in-SAS-Visual-Innvestigator/m-p/691247#M688</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recommend that you open a technical support track for this issue, see this link:&amp;nbsp;&lt;A href="https://support.sas.com/en/technical-support/contact-sas.html#2f350546-5bf0-4b6e-8c04-11fa1bb1a29f" target="_blank"&gt;https://support.sas.com/en/technical-support/contact-sas.html#2f350546-5bf0-4b6e-8c04-11fa1bb1a29f&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rachel&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 13:13:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Fraud-AML-and-Security/Delete-of-alerts-in-SAS-Visual-Innvestigator/m-p/691247#M688</guid>
      <dc:creator>Rachel_</dc:creator>
      <dc:date>2020-10-13T13:13:29Z</dc:date>
    </item>
  </channel>
</rss>

