---
title: What is a Nodinite Log Database? Scalable, Secure, and High-Performance Storage
description: "Discover how Nodinite Log Databases provide scalable, secure storage for integration data: how new Log Databases are created and split on size or age, how they are named, where their files go, which recovery model they use, and which System Parameters control it."
---

# What is a Log Database?

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> **Log Databases** deliver scalable, secure, and high-performance storage for all your integration data. This page explains how Log Databases work, how they grow with your business, and how they keep your data protected and accessible for compliance, analytics, and troubleshooting.

* ✅ Partitioning over time: the [Logging Service][] creates every Log Database, the first one included, and splits on size or age  
* ✅ One online Log Database, any number of archives, all searched from [Log Views][]  
* ✅ Obfuscation protects sensitive data, so a SQL DBA can't read message content  

## <i class="fal fa-signs-post" aria-hidden="true"></i> Choose Your Path

| You want to… | Go to |
| --- | --- |
| <i class="fal fa-user-shield" aria-hidden="true"></i> Check which account needs which right on the Log Databases | [Accounts and Rights at a Glance][Prerequisites Accounts] |
| <i class="fal fa-diagram-project" aria-hidden="true"></i> Understand when a new Log Database is created | [How a New Log Database Is Created](#how-a-new-log-database-is-created) |
| <i class="fal fa-sliders" aria-hidden="true"></i> Tune splitting, naming, file locations, and access | [System Parameters for Log Databases](#system-parameters-for-log-databases) |
| <i class="fal fa-arrow-turn-up" aria-hidden="true"></i> Update the Log Database schema after a release | [Update Log Databases][UpdateLogDB] and the [Update Log Database][] guide |
| <i class="fal fa-database" aria-hidden="true"></i> Create Log Databases yourself, without elevated rights | [Create new Log Databases Manually][Create Manually] |
| <i class="fal fa-database" aria-hidden="true"></i> Register, edit, or set a Log Database read-only | [Add or manage a Log Database][] |
| <i class="fal fa-broom" aria-hidden="true"></i> Remove old archive Log Databases | [Automating removal of old Log Databases][Automate Removal] |
| <i class="fal fa-wrench" aria-hidden="true"></i> Solve a problem | [Log Databases troubleshooting][Troubleshooting] |

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> logs events and messages from your system integration brokers (Mule, BizTalk, ...) and custom solutions using [Log Events][Log Event] sent to the [Log API][] or picked up by [Log Agents][]. All this data is persisted for long-term storage in SQL Server-based databases known as **Log Databases**. As data volumes grow, traditional relational databases can suffer performance hits, and SQL Express limits storage to 10GB per database. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> overcomes these limitations by automatically spawning new **Log Databases** as they grow too large or too old. You never need to worry about which database your data is in—<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> manages it all behind the scenes using the [Configuration Database][ConfigDB].

## <i class="fal fa-network-wired" aria-hidden="true"></i> Understanding Log Databases

The [Configuration Database][ConfigDB] interacts with and depends on the **Log Databases** using [Linked Server][Linked Servers] connections and configured security settings. Each Core Service reaches them as its own service identity: [Accounts and Rights at a Glance][Prerequisites Accounts] lists what each identity needs, and the [Core Services Overview][Core Services Accounts] compares all services. Having the **Log Databases** on the same SQL Server instance as the [Configuration Database][ConfigDB] reduces administration for firewalls, distributed transactions, and more.

<div class="mermaid">
graph LR
    subgraph "SQL Server"
       roConfigDatabase(fal:fa-database Configuration database) --- | Linked Server | roLogDatabase(fal:fa-database fal:fa-database fal:fa-database Log databases)  
   end
    subgraph "Historical SQL Server"
        roConfigDatabase --- | Linked Server | roLogDatabase2(fal:fa-database fal:fa-database fal:fa-database fal:fa-database fal:fa-database fal:fa-database Log databases)  
   end
</div>

*Overview of <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Configuration Database interacting with the Log Databases using a [linked server][Linked Servers]*  

There is always exactly one **online** (active) Log Database, which receives new data, and any number of **archive** Log Databases, which hold older data and are still searched from [Log Views][]. Administrators see the list in the [Web Client][] under **Administration › Settings › [Log Databases][Log Databases Admin]**.

<i class="fal fa-key" aria-hidden="true"></i> Sensitive data within the **Log Databases** is protected using an obfuscator, so a SQL DBA cannot read the content or context properties of messages like patient journals and salary payments.

<i class="fal fa-bolt" aria-hidden="true"></i> Data is partitioned over time into multiple **Log Databases**. This feature improves performance and enables virtually unlimited storage, both horizontally and vertically. Your hardware is the limit, not <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>

<i class="fal fa-xmark-to-slot" aria-hidden="true"></i> System administrators can put historical Log Databases in [read-only mode][Add or manage a Log Database - Read-only].

<i class="fal fa-chart-bar" aria-hidden="true"></i> Large data volumes and high transaction counts require scaling hardware and software for the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> environment. See '[Prerequisites][]' for more information.

<h2 id="how-a-new-log-database-is-created"><i class="fal fa-diagram-project" aria-hidden="true"></i> How a New Log Database Is Created</h2>

<i class="fal fa-box-archive" aria-hidden="true"></i> The installer doesn't create a Log Database: the [Logging Service][] creates the first one when it starts for the first time, with the same steps as below. With the right access rights, **automatic** log archiving is built into <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>. Log Databases split on **Size** and/or **Time**, governed by [System Parameters][] stored in the [Configuration Database][ConfigDB]. When the online Log Database is larger than [SizeToSplitDatabaseOn][] or older than [DaysToSplitDatabaseOn][], the [Logging Service][] creates the next one:

* **Deployment** – the Logging Service deploys the Log Database schema with `SqlPackage.exe` from [SqlPackageExecutable][], using the connection options in [SqlPackageParams][], on the SQL Server described by [SqlServer][]  
* **Name and files** – the name comes from [LogDatabaseName][]; data, index, and transaction log files go to the folders in [LogLocations][], or to the SQL Server defaults when it is empty  
* **Recovery and access** – the recovery model comes from [LogDatabaseRecovery][], and every account in [LogServiceUsers][] gets the roles in [LogAccessRoles][]  
* **Always On** – on an [Always On Availability Group][AlwaysOn], the backup the secondary replicas restore goes through the share in [AvailabilityGroupBackupPath][]  
* **Switch** – the new database becomes the online Log Database and the previous one becomes an archive Log Database; [DatabaseMaintenance][] then keeps the indexes healthy and shrinks archive Log Databases  

![Administration > Settings > Log Databases lists the online Log Database Nodinite_DEV_Log_20241113 without an End Date and two archives, then the System Parameters SizeToSplitDatabaseOn, DaysToSplitDatabaseOn and LogDatabaseName, and the online Log Database opened with its Start Date and an empty End Date, animated walkthrough (7.12)][NewLogDatabaseGif]  
*Animated walkthrough: where a new Log Database shows up and which System Parameters decide when it is created and what it is called. Nothing is changed in the walkthrough.*  

1. Open **Administration** > **Settings** > **Log Databases**. The online Log Database has no End Date; the others are archives.
2. In **System Parameters**, filter on `SplitDatabaseOn`: [SizeToSplitDatabaseOn][] (GB) and [DaysToSplitDatabaseOn][] decide when to split.
3. Filter on `LogDatabaseName`: [LogDatabaseName][] is the name of the next one, `Nodinite_DEV_Log_{year}{month}{day}`.
4. Back in the Log Databases list, a new Log Database appears with its name and Start Date, and the previous one gets an End Date.
5. Open the online Log Database: it has a Start Date and no End Date while it is online.

The Logging Service checks these conditions every hour:

* **No Log Database registered at all**: it creates the first one on the [Configuration Database][ConfigDB]'s SQL Server, reached through the linked server in [SqlServer][], with a Start Date seven days back.
* **No online Log Database** (every registration has an End Date): it creates the next one, starting at the newest End Date.
* **Size**: the online Log Database is larger than [SizeToSplitDatabaseOn][], set in GB.
* **Age**: the days since the online Log Database's Start Date (UTC) reach [DaysToSplitDatabaseOn][], unless a Log Database is already registered for the next day.

Each run writes a [Log Audit][Log Audits], also when it skips creating one.

The [SizeToSplitDatabaseOn][SizeToSplitDatabaseOn - How a New Log Database Is Created] page has the step-by-step sequence.

> If <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> is not given elevated rights, your organization may need to create new **Log Databases** manually to avoid performance issues. See [Create new Log Databases Manually][Create Manually] and always follow the naming scheme in the [LogDatabaseName][] System Parameter.

### <i class="fal fa-tag" aria-hidden="true"></i> Log Database Naming

New Log Databases are named by the [LogDatabaseName][] pattern, which the installer sets to `Nodinite_<EnvironmentName>_Log_{year}{month}{day}`, for example `Nodinite_Prod_Log_20251028`. `{year}{month}{day}` is the date (UTC) the [Logging Service][] creates the database, not its Start Date. The first Log Database starts seven days earlier than it is created, so `Nodinite_DEV_Log_20241113` has the Start Date 2024-11-06. The environment part comes from [EnvironmentName][]; it is not validated, so SQL Server naming rules are the limit. Use letters, digits, and hyphens, and don't change it after installation.

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>Existing databases are <strong>not renamed</strong> when you upgrade. Log Databases created by <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v6 keep their <code>NodiniteLog_&lt;EnvironmentName&gt;_{date}</code> names, and the <a href="https://docs.nodinite.com/core-services/configuration-database/overview/">Configuration Database</a> keeps <code>NodiniteConfig_&lt;EnvironmentName&gt;</code> (new installations use <code>Nodinite_&lt;EnvironmentName&gt;_Config</code>).</p></div>
</aside>

<h2 id="system-parameters-for-log-databases"><i class="fal fa-sliders" aria-hidden="true"></i> System Parameters for Log Databases</h2>

These [System Parameters][] control how Log Databases are created and maintained. The [Logging Service][] reads them (except [EnvironmentName][], which reaches the names through the [LogDatabaseName][] pattern), and a change takes effect within about 15 seconds without a restart; most apply to the next Log Database it creates. Change them as described in [Manage System Parameters][].

| System Parameter | Purpose |
| --- | --- |
| [SizeToSplitDatabaseOn][] | Maximum size (GB) of the online Log Database before a new one is created |
| [DaysToSplitDatabaseOn][] | Maximum age (days) of the online Log Database before a new one is created |
| [LogDatabaseName][] | Naming pattern for new Log Databases |
| [EnvironmentName][] | Environment name, part of the Log Database names |
| [LogLocations][] | Folders for the data, index, and transaction log files of new Log Databases |
| [LogDatabaseRecovery][] | Recovery model (`SIMPLE` or `FULL`) of new Log Databases; also used by the [Update Log Database][] scripts |
| [LogAccessRoles][] | Database roles granted on new Log Databases |
| [LogServiceUsers][] | Accounts that get those roles |
| [AvailabilityGroupBackupPath][] | Backup share used when a new Log Database is created on an Always On Availability Group |
| [DatabaseMaintenance][] | Nightly reindexing, and shrinking of archive Log Databases |
| [SqlPackageExecutable][] | Path to `SqlPackage.exe` used to deploy new Log Databases |
| [SqlPackageParams][] | Connection security options passed to `SqlPackage.exe` |
| [SqlServer][] | The SQL Server and Linked Server names used for Log Databases (change only with Support) |

## <i class="fal fa-database" aria-hidden="true"></i> Recovery Model, Always On, and SQL Server Options

* **Recovery model** – the default is `SIMPLE`, recommended especially when <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> shares the SQL Server instance with BizTalk Server. On an Always On Availability Group it must be `FULL`. See [LogDatabaseRecovery][].  
* **Always On Availability Groups** – see [Always On Availability Groups][AlwaysOn] and [AvailabilityGroupBackupPath][].  
* **Linked Servers** – always required, even on a single instance; see [Linked Servers][].  
* **SQL Server options** – see [SQL Server Options][Microsoft SQL Server].  

## <i class="fal fa-rocket" aria-hidden="true"></i> Install, Update, and Remove Log Databases

* **Install** – Log Databases ship with the [Core Services][]. You set the SQL Server type and connection string in the [Nodinite Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, [Step 3: Infrastructure][Portal SQL Server]. See [Install Log Databases][Install].  
* **Update** – after a Core Services update, the Log Database schema is updated with the [Update Log Database][] guide in the Web Client. See [Update Log Databases][UpdateLogDB].  
* **Add or edit** – register, edit, or set a Log Database read-only in [Add or manage a Log Database][].  
* **Remove** – see [Uninstall Log Databases][Uninstall] and, for old archives, [Automating removal of old Log Databases][Automate Removal].  

## <i class="fal fa-question" aria-hidden="true"></i> Frequently Asked Questions

Find answers on size, recovery models, and high availability in the [Log Databases troubleshooting][Troubleshooting] guide.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-database" aria-hidden="true"></i> [Add or manage a Log Database][]  
* <i class="fal fa-book" aria-hidden="true"></i> [Update Log Database][]  
* <i class="fal fa-sliders" aria-hidden="true"></i> [Manage System Parameters][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-database" aria-hidden="true"></i> [Log Databases administration][Log Databases Admin]  
* <i class="fal fa-database" aria-hidden="true"></i> [Configuration Database][ConfigDB]  
* <i class="fal fa-clipboard-check" aria-hidden="true"></i> [Prerequisites][]  
* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Logging Service][]  
* <i class="fal fa-cloud-arrow-down" aria-hidden="true"></i> [Log API][]  
* <i class="fal fa-watch-fitness" aria-hidden="true"></i> [Monitoring Service][]  
* <i class="fal fa-sliders" aria-hidden="true"></i> [System Parameters][]  
* <i class="fal fa-circle-nodes" aria-hidden="true"></i> [Always On Availability Groups][AlwaysOn]  
* <i class="fal fa-truck" aria-hidden="true"></i> [Moving Nodinite Databases][Moving Databases]  
* <i class="fal fa-wrench" aria-hidden="true"></i> [Troubleshooting][]  

[Add or manage a Log Database]:https://docs.nodinite.com/administration/settings/log-databases/add-or-manage-log-database/
[Add or manage a Log Database - Read-only]:https://docs.nodinite.com/administration/settings/log-databases/add-or-manage-log-database/#read-only
[AlwaysOn]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/always-on-availability-groups/
[Automate Removal]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/automating-removal-of-old-log-databases/
[AvailabilityGroupBackupPath]:https://docs.nodinite.com/administration/settings/system-parameters/availabilitygroupbackuppath/
[ConfigDB]:https://docs.nodinite.com/core-services/configuration-database/overview/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Core Services Accounts]:https://docs.nodinite.com/core-services/overview/#fa-user-shield-service-accounts-and-rights
[Create Manually]:https://docs.nodinite.com/core-services/log-databases/features/create-new-log-databases-manually/
[DatabaseMaintenance]:https://docs.nodinite.com/administration/settings/system-parameters/databasemaintenance/
[DaysToSplitDatabaseOn]:https://docs.nodinite.com/administration/settings/system-parameters/daystosplitdatabaseon/
[EnvironmentName]:https://docs.nodinite.com/administration/settings/system-parameters/environmentname/
[Install]:https://docs.nodinite.com/core-services/log-databases/getting-started/install/
[Linked Servers]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/linked-servers/
[Log Agents]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-agent/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log Audits]:https://docs.nodinite.com/administration/tools/log-audit-search/
[Log Databases Admin]:https://docs.nodinite.com/administration/settings/log-databases/overview/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[LogAccessRoles]:https://docs.nodinite.com/administration/settings/system-parameters/logaccessroles/
[LogDatabaseName]:https://docs.nodinite.com/administration/settings/system-parameters/logdatabasename/
[LogDatabaseRecovery]:https://docs.nodinite.com/administration/settings/system-parameters/logdatabaserecovery/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[LogLocations]:https://docs.nodinite.com/administration/settings/system-parameters/loglocations/
[LogServiceUsers]:https://docs.nodinite.com/administration/settings/system-parameters/logserviceusers/
[Manage System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/manage-system-parameters/
[Microsoft SQL Server]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/sql-server-options/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[Moving Databases]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/overview/
[NewLogDatabaseGif]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/CoreServices/LogDatabases/LogDatabases_NewCreated.gif
[NodinitePortal]:https://portal.nodinite.com/
[Portal SQL Server]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/03-infrastructure/#configure-sql-server-connectivity
[Prerequisites]:https://docs.nodinite.com/core-services/log-databases/getting-started/prerequisites/
[Prerequisites Accounts]:https://docs.nodinite.com/core-services/log-databases/getting-started/prerequisites/#fa-user-shield-accounts-and-rights-at-a-glance
[SizeToSplitDatabaseOn]:https://docs.nodinite.com/administration/settings/system-parameters/sizetosplitdatabaseon/
[SizeToSplitDatabaseOn - How a New Log Database Is Created]:https://docs.nodinite.com/administration/settings/system-parameters/sizetosplitdatabaseon/#how-a-new-log-database-is-created
[SqlPackageExecutable]:https://docs.nodinite.com/administration/settings/system-parameters/sqlpackageexecutable/
[SqlPackageParams]:https://docs.nodinite.com/administration/settings/system-parameters/sqlpackageparams/
[SqlServer]:https://docs.nodinite.com/administration/settings/system-parameters/sqlserver/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Troubleshooting]:https://docs.nodinite.com/core-services/log-databases/troubleshooting/overview/
[Uninstall]:https://docs.nodinite.com/core-services/log-databases/troubleshooting/uninstall/
[Update Log Database]:https://docs.nodinite.com/administration/settings/log-databases/update-log-database/
[UpdateLogDB]:https://docs.nodinite.com/core-services/log-databases/updating/
[Web Client]:https://docs.nodinite.com/getting-started/overview/