How clear old collected DCI Data??
-
-
That will depend on the database you use, but usually the actual disk space usage won't decrease.
Even if something is deleted from the database, the database file size itself will generally remain the same.For Postgres, a VACUUM FULL will do what you are looking for, but it will lock tables while processing them.
For MySQL you may have to dump the data and re-import. It's been a while. -
Hello, my db is mysql, and yes, I found out that the disk space didnt decrease when I purged all the db in my first NetXMS installation.
For its, in my new NetXMS installation, I was careful of configure the DCI data storage only for DCIs, not for entire tables. However , I still have the doubt why the disk space dont decrease.
Regards.
-
Hi,
Just found a previous post regarding MySQL database size and shrinking the file size:
https://www.netxms.org/forum/general-support/mysql-db-fast-grow-how-to-free-space/It includes a link that may help. Another link that may be helpful:
http://www.thegeekstuff.com/2016/02/mysql-innodb-file-per-table/This is not a NetXMS specific issue, it is simply how the database software itself (in your case MySQL, presumably using InnoDB) operates.
Hope the links help.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login