<?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[Shrink Postgres  DB]]></title><description><![CDATA[<p dir="auto">Hello @all,</p>
<p dir="auto">played here around with windows event logging in NetXMS V5.2.4 (Debian, Postgres).</p>
<p dir="auto">Therefore the database size blowed up. I have changed serveral retention values an the housekeeper is running a few minutes an do it's best, but the database don't shrinks.</p>
<p dir="auto">What can i do to shrink the DB? Deleting and restoring?</p>
<p dir="auto">Greetings<br />
Marco</p>
]]></description><link>https://forum.netxms.org/topic/8220/shrink-postgres-db</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:56:30 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/8220.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 29 Jul 2025 06:18:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Shrink Postgres  DB on Tue, 29 Jul 2025 10:04:53 GMT]]></title><description><![CDATA[<p dir="auto">Hi Filipp,</p>
<p dir="auto">you are my hero!!!  ;D</p>
<p dir="auto">Thanks for the infos. I truncate the table and postgres frees up the storage space...</p>
<p dir="auto">Many thanks!</p>
<p dir="auto">Greetings<br />
Marco</p>
]]></description><link>https://forum.netxms.org/post/34637</link><guid isPermaLink="true">https://forum.netxms.org/post/34637</guid><dc:creator><![CDATA[Spheron]]></dc:creator><pubDate>Tue, 29 Jul 2025 10:04:53 GMT</pubDate></item><item><title><![CDATA[Reply to Shrink Postgres  DB on Tue, 29 Jul 2025 08:41:10 GMT]]></title><description><![CDATA[<p dir="auto">If you've been using windows event syncronization, then </p>
<p dir="auto">VACUUM FULL WIN_EVENT_LOG; <br />
query might help, but it also needs additional disk space for it to run (<a href="https://www.postgresql.org/docs/current/sql-vacuum.html" rel="nofollow ugc">https://www.postgresql.org/docs/current/sql-vacuum.html</a>). </p>
<p dir="auto">If do don't need any records from this table, then<br />
TRUNCATE WIN_EVENT_LOG;<br />
will clean all records and instantly reclaim disk space</p>
]]></description><link>https://forum.netxms.org/post/34635</link><guid isPermaLink="true">https://forum.netxms.org/post/34635</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 29 Jul 2025 08:41:10 GMT</pubDate></item></channel></rss>