- 3 minutes to read

DaysToKeepMessageEventsDefault - System Parameter

The DaysToKeepMessageEventsDefault System Parameter defines the default retention period (in days) for message events within the Nodinite Log Databases. Once an event surpasses this threshold, it is automatically deleted along with its associated data/body and context. This value is set as the default for new Message Types but can be adjusted individually per Message Type.

Note

When the system deletes a Log Event, any payload (body) and context (key-value) is also removed. You can opt to remove data and context at an earlier point in time; Please review the DaysToKeepMessageDataDefault and DaysToKeepMessageContextDefault parameters for additional information.

System Parameter Name Data Type Values/Example Comment
DaysToKeepMessageEventsDefault Integer 14 Default = 14 (14 days)

Important

You must restart the Nodinite Logging Service if this value is changed before the new setting takes effect.

Balancing Retention & Performance

Data retention is a critical balance between business needs and system performance. Keeping logs for extended periods ensures traceability and compliance, but excessive data accumulation can impact system speed and require additional storage. Nodinite’s approach allows businesses to define a strategy that meets their operational and regulatory needs while maintaining system efficiency.

Why This Matters for Your Business

Optimized System Performance – Avoid performance degradation in SQL Server caused by excessive log data.
Controlled Storage Growth – Prevent unnecessary disk space consumption by automatically removing old Log Events.
Regulatory Compliance – Ensure retention policies align with business and legal requirements.
Granular Data Management – Configure retention per Message Type to keep only what truly matters.
Reduced Risk of System Overload – Avoid the risk of Log Databases growing indefinitely and impacting processing speeds.

Scalability & Automation

Nodinite is designed to handle large volumes of logged data by automatically creating new databases when existing ones grow too large. However, managing data retention properly minimizes administrative effort and ensures smooth, long-term system operation. The message type-based deletion strategy allows businesses to focus on retaining only valuable data.

Warning

If you log more data than you delete, your Log Database continue to grow, eventually impacting system performance or running out of disk space.

Best Practice Recommendation

We at Nodinite recommend setting a retention period of 14 days (default) for most environments. This default setting is aligned with best practices for balancing log retention and system efficiency, as recommended in the Install and Update Tool.

You can use the Nodinite Database Monitoring Agent to get alerts when databases grow too large and the Nodinite Windows Server Monitoring Agent to get alerts before you run out of disk-space.

History

  • This feature comes with Nodinite version 3.

Frequently asked questions

Additional solutions to common problems and the Nodinite System Parameters FAQ exist in the Troubleshooting user guide.

How do I change the value?

Changing a value for the pre-defined System Parameters is described in the generic 'How do I change the System Parameters' article.


Next Step

Message Types
DaysToSplitDatabaseOn
DaysToKeepMessageContextDefault
DaysToKeepMessageDataDefault
Administration