DaysToSplitDatabaseOn - System Parameter
DaysToSplitDatabaseOn sets the maximum age of the online Log Database, in whole days since its Start Date (UTC). When the online Log Database reaches this age, the Logging Service creates a new online Log Database, and the previous one becomes an archive Log Database.

Animated walkthrough: the Database Report shows the online Log Database's age and the days left until the split. With the limit lowered below that age, the next check creates a new Log Database, and the Log Audit gives the Logging Service's reason.
At a Glance
| Property | Value |
|---|---|
| Key | DaysToSplitDatabaseOn |
| Data type | integer (days), minimum 1 |
| Default | 10000 (practically disabled) |
| Read by | Logging Service |
| Takes effect | The Logging Service checks the split limits when it starts and then every hour; a saved value is used at the next check. No restart needed. |
| Status | ✅ Active |
| Since | Nodinite 3 |
How It Works
The Logging Service splits the online Log Database on age (this parameter) or size (SizeToSplitDatabaseOn), whichever limit is reached first. At each check it compares the age first, and the size only when the age didn't trigger a split. The age is counted in whole days from the online Log Database's Start Date (UTC), not from when the database was created, and it splits when the age is at least the value. The default of 10000 days (more than 27 years) means age never triggers a split in practice, so the size limit decides.
When the limit is reached, the Logging Service creates the new Log Database from the related System Parameters (name, file placement, recovery model, access, Always On backup); see How a new Log Database is created.
Watch the Coming Split
- Database Report: open the online Log Database in Manage Log Databases and click Show Database Report. Days is its age, Days until split what is left until this limit, and Days to split database on the value.
- Log Audit: at every check the Logging Service writes The system skipped creating a new Log Database as none of the split conditions qualifies, with the current size, age and both limits. On a split it writes Time to create a new Log Database with the reason, then Finished creating a new Nodinite Log Database.
Choosing a Value
- Keep the default unless you want time-based Log Databases. Most installations split on size only.
- Set a value such as
365to start a new Log Database about once a year, for example to plan disk space, backups, or setting older Log Databases to read-only. - The size limit still applies; a busy year can produce more than one Log Database.
Frequently Asked Questions
Can I create Log Databases in advance with planned periods?
Yes. Nodinite ships the Log Database as a DACPAC package; follow Create new Log Databases manually and name the databases per LogDatabaseName.