none
Databse size increase once AD Recycle Bin is enabled

    Question

  • Online research best answer is to plan for 10-20% growth of DIT file. I thought I once saw an article that showed how much space each object would cost.  For instance a user object might be 6kb, a computer 10kb, an OU 20kb. Just curious If this is something we can put some metrics around.

    Also if there is a hard limit to the number of objects the RB cab hold.  It sounds like the only limit on this is in the ADAC view which is 20k, which you can bump to 100k.

    Thanks in advance!

    Chad

    Thursday, March 23, 2017 3:31 PM

Answers

  • > For instance a user object might be 6kb, a computer 10kb, an OU 20kb. Just curious If this is something we can put some metrics around.
     
    Not really. Heavily depends on the amount of attribute data you are using. The rising size is caused only by the roughly duplicate number of objects that now are deleted/recycled due to the increased total retention time (tombstone + recycle bin).
     
    > Also if there is a hard limit to the number of objects the RB cab hold.
     
    No limit, AFAIK. It's a container and behaves like any other container.
     
    • Proposed as answer by Todd Heron Thursday, March 23, 2017 11:50 PM
    • Marked as answer by Chad Buser Friday, March 24, 2017 12:57 PM
    Thursday, March 23, 2017 4:15 PM

All replies

  • > For instance a user object might be 6kb, a computer 10kb, an OU 20kb. Just curious If this is something we can put some metrics around.
     
    Not really. Heavily depends on the amount of attribute data you are using. The rising size is caused only by the roughly duplicate number of objects that now are deleted/recycled due to the increased total retention time (tombstone + recycle bin).
     
    > Also if there is a hard limit to the number of objects the RB cab hold.
     
    No limit, AFAIK. It's a container and behaves like any other container.
     
    • Proposed as answer by Todd Heron Thursday, March 23, 2017 11:50 PM
    • Marked as answer by Chad Buser Friday, March 24, 2017 12:57 PM
    Thursday, March 23, 2017 4:15 PM
  • As you probably are aware, AD has multiple partitions. It's important to note that the recycle bin can manage only domain partitions. So not everything goes in there.

    Friday, March 24, 2017 4:48 AM
  • Hi Chad,
    Before you enable the recycle bin, you need to be aware that the size of the AD database (Ntds.dit) will increase. The disk space used by the recycle bin will continue to increase over time as it preserves objects and their attribute data. So, you need to make sure that you won't run out of disk space, especially if you're in the habit of continually deleting objects from AD.
    Best regards,
    Wendy

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Friday, March 24, 2017 7:18 AM
    Moderator
  • Thank you Martin.  I appreciate you taking the time to read my question!

    ~Chad Buser

    Friday, March 24, 2017 12:52 PM
  • The growth in size is due to the indicies added to the DB to support Recycle Bin (This is both over the datatable and the linktable)

    There is no limit in the numbers of object's that can be tombstoned/deleted and/or recycled, however there is a limit in the numbers of objects/values that can be cleaned up by the garbage collector in a given pass


    Enfo Zipper
    Christoffer Andersson – Principal Advisor
    http://blogs.chrisse.se - Directory Services Blog

    Tuesday, March 28, 2017 4:40 AM