Select to view content in your preferred language

How to shrink MongoDB ArcGIS Monitor data?

1631
1
Jump to solution
09-04-2018 02:06 AM
ZdenekJankovsky
Emerging Contributor

Hi,

we are testing ArcGIS Monitor for a half of a year. Our database of Monitor logs is growing and now it takes about 43GB of data. We don't need to keep older than one or two months.

Is there any recommended way to shrink or delete old ArcGIS Monitor data in MongoDB?

Thank you.

0 Kudos
1 Solution

Accepted Solutions
JohnGraham2
Frequent Contributor

Hi Zdenek,

Raw data in ArcGIS Monitor is continually aggregated and automatically truncated when more than 14 days old. Only aggregate data (day, month, year) is stored after 14 days. A big portion of the storage space is due to the raw data, so the recommended way to limit the size and truncate old data is as follows:

  • Adjust the sample intervals from 5 minutes to 15 minutes or 1 hour to reduce raw data input
  • In Administrator, delete unnecessary counters, focus on Production environment
  • After 14 days, the old raw data will be automatically truncated

Also, there's a FAQ about projected storage space growth, where it mentions "Once you have 14 days of data, a growth rate of 1 GB per month is typical." So, I suggest to plan for this. A couple users have requested a setting to control when data is automatically truncated and an enhancement request was already logged.

View solution in original post

1 Reply
JohnGraham2
Frequent Contributor

Hi Zdenek,

Raw data in ArcGIS Monitor is continually aggregated and automatically truncated when more than 14 days old. Only aggregate data (day, month, year) is stored after 14 days. A big portion of the storage space is due to the raw data, so the recommended way to limit the size and truncate old data is as follows:

  • Adjust the sample intervals from 5 minutes to 15 minutes or 1 hour to reduce raw data input
  • In Administrator, delete unnecessary counters, focus on Production environment
  • After 14 days, the old raw data will be automatically truncated

Also, there's a FAQ about projected storage space growth, where it mentions "Once you have 14 days of data, a growth rate of 1 GB per month is typical." So, I suggest to plan for this. A couple users have requested a setting to control when data is automatically truncated and an enhancement request was already logged.