This project is read-only.

Read deleted objects

Aug 9, 2014 at 10:52 PM

I have read that when deleting objects they are marked deleted and never removed until we call DefragmentTo will NDatabase remove the marked deleted objects.

Is there a way to read deleted objects? Or make active deleted objects?

Many thanks
Aug 10, 2014 at 9:29 AM
there is no way to reuse them. All about that is done for couple of reasons (marking instead of deleting):
  • performance, operation on file disk are expensive
  • complexity, existing solution is quite simple and allows on easy implementation of many NDatabase features. Changing that will cause to rise complexity and will make impact on existing features, which will made NDatabase less stable and more complex.
I'm happy to see any proposed solution to make it working, which will not harm much other features which are already supported by NDatabase.