Huge size of ntds file

Richard Y 481 Reputation points
2020-11-22T19:56:41.407+00:00

Hi,

The size of ntds file became huge.
Do the size can impact active directory replication and how we can reduce it?

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,382 questions
Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,532 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,178 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,906 questions
0 comments No comments
{count} votes

Accepted answer
  1. Thameur-BOURBITA 32,586 Reputation points
    2020-11-22T20:55:29.067+00:00

    Hi,

    To reduce the NTDS size , you have to clean your active directory and remove all unused objects ( inactive, disabled accounts).
    You can removed them from recycle bin if it's enabled. But the object will be removed definitely after tombstone lifetime period.

    Do the size can impact active directory replication and how we can reduce it?

    The size of ntds cannot impact the active directory replication when the domain controllers are already promoted. But it can impact the new domain controller promotion and backup/restoration process.

    Please don't forget to mark this reply as answer if it help you to fix your issue

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2020-11-22T19:59:17.043+00:00

    Something here may help.
    https://learn.microsoft.com/en-us/troubleshoot/windows-server/identity/ad-database-offline-defragmentation

    Active Directory automatically performs online defragmentation of the database at certain intervals as part of the Garbage Collection process. (By default, this occurs every 12 hours.) Online defragmentation does not reduce the size of the database file (Ntds.dit) but instead optimizes data storage in the database and reclaims space in the directory for new objects.
    Performing an offline defragmentation creates a new version of the database file without internal fragmentation. It also re-creates all indexes. Depending on how fragmented the original database file was, the new file may be much smaller.

    --please don't forget to Accept as answer if the reply is helpful--

    1 person found this answer helpful.

  2. Iraê César Brandão 6 Reputation points
    2020-11-22T20:13:54.667+00:00

    Ola Veja essa matéria, sem dúvidas ela vai te auxiliar na tomada de decisões para solucionar o seu problema de espaço físico. Leia com atenção todas as informações, execute as verificações e posteriormente faça o que for mais conveniente e dentro de suas configurações.

    https://learn.microsoft.com/en-us/troubleshoot/windows-server/backup-and-storage/disk-space-problems-on-ntfs-volumes

    --please don't forget to Accept as answer if the reply is helpful--

    Mr Iraê César Brandão

    1 person found this answer helpful.
    0 comments No comments