NetXMS Support Forum

English Support => General Support => Topic started by: CrUser on June 28, 2017, 09:17:14 PM

Title: Problem with hudge database data of NetXMS application
Post by: CrUser on June 28, 2017, 09:17:14 PM
Hi,

I need help with cleaning database of NetXMS. I saw that some table on database name like tdata_record_xxx and tdata_rows_xxx is  grown up every day, a few Gb.
I check data on this table and it's look like some archive of data collection polling.

Does NetXMS application have some purge tools for cleaning this data in database and how I can reduce filling this data on the database.
Maybe I can clean it with other tools but I wouldn't like drop or clean some table because that will occur crash application at all.

Thanks for any suggestion and advice,

with best regards,
Tomislav


Title: Re: Problem with hudge database data of NetXMS application
Post by: Victor Kirhenshtein on July 03, 2017, 04:21:58 PM
Hi,

tables are cleaned by internal housekeeper process according to configured retention times. All tdata_* tables contains data for table DCI. You can reduce their size by reducing retention times on table DCis. Also, version 2.1 uses different format for table data storage, more efficient in terms of consumed space (but less efficient for random access).

Best regards,
Victor