Managing the DHCP Database

Applies To: Windows Server 2008

DHCP database

The DHCP server database is a dynamic database that is updated as DHCP clients are assigned or as they release their TCP/IP configuration parameters. Because the DHCP database is not a distributed database like the WINS server database, maintaining the DHCP server database is less complex.

There is no set limit to the number of records that a DHCP server can store. The size of the database depends on the number of DHCP clients on the network. The DHCP database grows over time as a result of clients starting and stopping on the network.

The size of the DHCP database is not directly proportional to the number of active client lease entries. Over time, as some DHCP client entries become obsolete and are deleted, there remains some unused space.

To recover the unused space, the DHCP database is compacted. Dynamic database compaction occurs on DHCP servers as an automatic background process during idle time or after a database update.

DHCP database files

The DHCP server database in Windows Server 2008 uses the Extensible Storage Engine (ESE) also known as JET. When you install the DHCP service, the files shown in the following table are automatically created in the Systemroot\System32\Dhcp directory.

File Description


The DHCP server database file.


A temporary file used by the DHCP database as a swap file during database index maintenance operations. This file sometimes remains in the Systemroot\System32\Dhcp directory after a system failure.

J50.log and J50#####.log

A log of all database transactions. This file is used by the DHCP database to recover data.


A checkpoint file.


The J50.log file, J50#####.log file, Dhcp.mdb file, and Dhcp.tmp file should not be removed or altered.

The DHCP database and related registry entries are automatically backed up at a default interval of 60 minutes. You can change this installation default by changing the value of BackupInterval in the following registry key:



Incorrectly editing the registry can severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.