<?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: [IMC 7.0] deleting old performance data (MS SQL + perf_db) in IMC</title>
    <link>https://community.hpe.com/t5/imc/imc-7-0-deleting-old-performance-data-ms-sql-perf-db/m-p/6240857#M940</link>
    <description>&lt;P&gt;Well, no Enterprise, no API. Seems deleting and reimporting would be the best choice for me. Thanks!&lt;/P&gt;</description>
    <pubDate>Sat, 19 Oct 2013 18:57:34 GMT</pubDate>
    <dc:creator>MichaelM55</dc:creator>
    <dc:date>2013-10-19T18:57:34Z</dc:date>
    <item>
      <title>[IMC 7.0] deleting old performance data (MS SQL + perf_db)</title>
      <link>https://community.hpe.com/t5/imc/imc-7-0-deleting-old-performance-data-ms-sql-perf-db/m-p/6240603#M933</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;So I´m stuck on Microsoft SQL Express edition (which is another topic). I did a database backup within IMC and now I´m ready to delete all performance data which is older than three months from perf_db. How to do this correctly?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Let´s use the GUI. Well, there´s no possibility to do so?&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;idea. Let´s start from beginning. Many monitors haven´t been that important, so export all devices from IMC, delete them afterwards and import that list again. So I can use new default monitor instances. Hopefully all performance data is gone afterwards? (Downside, it seems I cannot rescue my topology map?)&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;use &lt;SPAN&gt;sqlcmd&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;sqlcmd

use perf_DB
go&lt;BR /&gt;&lt;BR /&gt;sp_help&lt;BR /&gt;go&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp;&amp;nbsp; =&amp;gt; Well, many tables. Which one should I "truncate" or "DELETE FROM"?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Oct 2013 05:08:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/imc-7-0-deleting-old-performance-data-ms-sql-perf-db/m-p/6240603#M933</guid>
      <dc:creator>MichaelM55</dc:creator>
      <dc:date>2013-10-19T05:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: [IMC 7.0] deleting old performance data (MS SQL + perf_db)</title>
      <link>https://community.hpe.com/t5/imc/imc-7-0-deleting-old-performance-data-ms-sql-perf-db/m-p/6240617#M936</link>
      <description>&lt;P&gt;You can delete performance data on a per-device basis from the GUI. That will be slow if you need to do it for a lot of devices though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have API access? (Either through IMC Enterprise, or with the API license). There might be an API call for deleting performance data on a per-device basis. That would make it faster for scripting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd be wary of manipulating the database directly. I have done it for a few things, but not for performance data. Try taking a look at the various tables - the names are usually meaningful.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Oct 2013 05:57:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/imc-7-0-deleting-old-performance-data-ms-sql-perf-db/m-p/6240617#M936</guid>
      <dc:creator>LindsayHill</dc:creator>
      <dc:date>2013-10-19T05:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: [IMC 7.0] deleting old performance data (MS SQL + perf_db)</title>
      <link>https://community.hpe.com/t5/imc/imc-7-0-deleting-old-performance-data-ms-sql-perf-db/m-p/6240619#M937</link>
      <description>Oh and yes, deleting/re-adding devices should delete all old performance data.</description>
      <pubDate>Sat, 19 Oct 2013 05:58:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/imc-7-0-deleting-old-performance-data-ms-sql-perf-db/m-p/6240619#M937</guid>
      <dc:creator>LindsayHill</dc:creator>
      <dc:date>2013-10-19T05:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: [IMC 7.0] deleting old performance data (MS SQL + perf_db)</title>
      <link>https://community.hpe.com/t5/imc/imc-7-0-deleting-old-performance-data-ms-sql-perf-db/m-p/6240857#M940</link>
      <description>&lt;P&gt;Well, no Enterprise, no API. Seems deleting and reimporting would be the best choice for me. Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 19 Oct 2013 18:57:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/imc-7-0-deleting-old-performance-data-ms-sql-perf-db/m-p/6240857#M940</guid>
      <dc:creator>MichaelM55</dc:creator>
      <dc:date>2013-10-19T18:57:34Z</dc:date>
    </item>
  </channel>
</rss>

