<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[NXMC database best practices]]></title><description><![CDATA[<p dir="auto">Hi, there. We have been using NXMC system for at least two years. During this period of time, the NXMC  database has increased its tables size. So far on this forum I do not find any clue how to handle this database tables size. Any idea how we can apply NXMC database best practice.Any comment is welcome Thanks in advance.</p>
<p dir="auto">Jose</p>
]]></description><link>https://forum.netxms.org/topic/7577/nxmc-database-best-practices</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:23:05 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7577.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 Dec 2022 17:06:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NXMC database best practices on Thu, 15 Dec 2022 15:06:54 GMT]]></title><description><![CDATA[<p dir="auto">Hi, gkaudewitz. First I appreciate your time to reply my follow-up message. Second, I am going to follow your comments. Thanks.</p>
<p dir="auto">My best<br />
Jose</p>
]]></description><link>https://forum.netxms.org/post/32088</link><guid isPermaLink="true">https://forum.netxms.org/post/32088</guid><dc:creator><![CDATA[jbriseno]]></dc:creator><pubDate>Thu, 15 Dec 2022 15:06:54 GMT</pubDate></item><item><title><![CDATA[Reply to NXMC database best practices on Thu, 15 Dec 2022 12:35:35 GMT]]></title><description><![CDATA[<p dir="auto">There is a perl script called mysqltuner that helps very much identifying unused space within the tables that will lead to large files in the database.<br />
Especially after changing some RetentionTimers and deleting some records via housekeeper you will see spaces there where you can shrink databasesize.<br />
Sometimes it is good identifying unused tabels via nxdbmgr.</p>
]]></description><link>https://forum.netxms.org/post/32086</link><guid isPermaLink="true">https://forum.netxms.org/post/32086</guid><dc:creator><![CDATA[gkaudewitz]]></dc:creator><pubDate>Thu, 15 Dec 2022 12:35:35 GMT</pubDate></item><item><title><![CDATA[Reply to NXMC database best practices on Wed, 14 Dec 2022 16:51:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi, Fillip. I followed your DB instructions. Also, I looked  for Retention options information on the NetXMC documentation website. Howerver, I did not find nothing related with this topic.</p>
<p dir="auto">I checked the mysql error file out. This file is empty.</p>
<p dir="auto">Then according with Server Configuration tab information. It has the following headling titles.</p>
<p dir="auto">Name, Value, Default value Restart</p>
<p dir="auto">Also, I chosen the most relevant retention options of the server configuraiton :</p>
<p dir="auto">1 WindowsEvents.LogRetentionTime<br />
2 UserAgent.RetentionTime<br />
3 UserAgent.DefaultMessageRetentionTime<br />
4 Syslog.RetentionTime<br />
5 SNMP.Traps.LogRetentionTime<br />
6 Scheduler.TaskRetentionTime<br />
7 NotificationLog.RetentionTime<br />
8 NotificationChannels.MaxRetryCount<br />
9 MaintenanceJournal.RetentionTime<br />
10 DataCollection.InstanceRetentionTime<br />
11 DataCollection.DefaultDCIRetentionTime<br />
12 BusinessServices.History.RetentionTime<br />
13 AuditLog.RetentionTime<br />
14 Alarms.HistoryRetentionTime<br />
15 ActionExecutionLog.RetentionTime</p>
<p dir="auto">According with the NetXMC Database best practice. What would be the retention options that I need to update to work in proper manner with the netXMC server?</p>
<p dir="auto">Thanks in Advance</p>
<p dir="auto">Jose</p>
]]></description><link>https://forum.netxms.org/post/32078</link><guid isPermaLink="true">https://forum.netxms.org/post/32078</guid><dc:creator><![CDATA[jbriseno]]></dc:creator><pubDate>Wed, 14 Dec 2022 16:51:25 GMT</pubDate></item><item><title><![CDATA[Reply to NXMC database best practices on Wed, 14 Dec 2022 16:49:44 GMT]]></title><description><![CDATA[<p dir="auto">Hi, Filipp.  The netXMC database  size.</p>
<p dir="auto">+--------------------+--------------+<br />
| Database name      | Size in (MB) |<br />
+--------------------+--------------+<br />
| information_schema |        0.19    |<br />
| mysql              |        13.12            |<br />
| netxms            |    51727.00          |<br />
| performance_schema |        0.00 |<br />
+--------------------+--------------+</p>
<p dir="auto">I hope this helps</p>
<p dir="auto">My best</p>
<p dir="auto">Jose<br />
4 rows in set (15.991 sec</p>
]]></description><link>https://forum.netxms.org/post/32077</link><guid isPermaLink="true">https://forum.netxms.org/post/32077</guid><dc:creator><![CDATA[jbriseno]]></dc:creator><pubDate>Wed, 14 Dec 2022 16:49:44 GMT</pubDate></item><item><title><![CDATA[Reply to NXMC database best practices on Wed, 14 Dec 2022 16:43:27 GMT]]></title><description><![CDATA[<p dir="auto">I'm not an expert in MariaDB, but here's a post that has a query, which should give some information from the DB about used and allocated disk space.</p>
]]></description><link>https://forum.netxms.org/post/32074</link><guid isPermaLink="true">https://forum.netxms.org/post/32074</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Wed, 14 Dec 2022 16:43:27 GMT</pubDate></item><item><title><![CDATA[Reply to NXMC database best practices on Wed, 14 Dec 2022 15:36:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi, Filipp. First I appreciate your time to reply my post. Second, we have the following database engine: Server version: 10.3.37-MariaDB-0ubuntu0.20.04.1 Ubuntu 20.04</p>
<p dir="auto">Finally, the NetXMC installed is:</p>
<p dir="auto">NetXMS Server Version 4.2.433 Build 4.2-433-g453d89aa43 (UNICODE)<br />
NXCP: 5.60.1.43 (AES-256, Blowfish-256, 3DES, AES-128, Blowfish-128)<br />
Built with: g++ (Ubuntu 9.3.0-10ubuntu2) 9.3.0</p>
<p dir="auto">My best.</p>
<p dir="auto">Jose</p>
]]></description><link>https://forum.netxms.org/post/32073</link><guid isPermaLink="true">https://forum.netxms.org/post/32073</guid><dc:creator><![CDATA[jbriseno]]></dc:creator><pubDate>Wed, 14 Dec 2022 15:36:46 GMT</pubDate></item><item><title><![CDATA[Reply to NXMC database best practices on Mon, 12 Dec 2022 21:56:27 GMT]]></title><description><![CDATA[<p dir="auto">First of all, it's a question of your retention times for DCIs and event, alarm, etc log retention times (search for "Retention" in Configuration-&gt;Server configuration). At some older version there was also a bug that some of these log tables were not cleared, so make sure that you are on the newest version.</p>
<p dir="auto">Also, could it be that during the life of your system a lot of new nodes or new DCIs were added - that would also add up to the DB size.</p>
<p dir="auto">According to retention settings housekeeper should delete records from the db. (It's also worth to check server log for any SQL errors - and there are events generated for such cases - make sure you've configured notifications for these events).</p>
<p dir="auto">Then it's a question to the database engine that you are using - how effective it is in performing vacuum operation to reclaim space. Normally the database should keep at some size and not grow much. What DB engine are you using?</p>
]]></description><link>https://forum.netxms.org/post/32067</link><guid isPermaLink="true">https://forum.netxms.org/post/32067</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 12 Dec 2022 21:56:27 GMT</pubDate></item></channel></rss>