Export (0) Print
Expand All

Managing the DHCP Database

Updated: October 16, 2008

Applies To: Windows Server 2008

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.

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

Dhcp.mdb

The DHCP server database file.

Dhcp.tmp

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.

J50.chk

A checkpoint file.

ImportantImportant
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:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer\Parameters

CautionCaution
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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft