# Why Aerospike delete all objects?

**URL:** <https://discuss.aerospike.com/t/why-aerospike-delete-all-objects/155>\
**Category:** Deletion\
**Created:** [August 16, 2014, 12:03am UTC](https://discuss.aerospike.com/t/why-aerospike-delete-all-objects/155 "2014-08-16T00:03:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jene](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@jene](https://discuss.aerospike.com/u/jene)\
**Post date:** [August 16, 2014, 12:03am UTC](https://discuss.aerospike.com/t/why-aerospike-delete-all-objects/155/1 "2014-08-16T00:03:53Z")

</div>

Hi all! I have a problem - after restart all nodes, aerospike delete all objects. Why?

---

<div class="post-metadata">

**Author:** ![jene](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@jene](https://discuss.aerospike.com/u/jene)\
**Post date:** [August 16, 2014, 12:05am UTC](https://discuss.aerospike.com/t/why-aerospike-delete-all-objects/155/2 "2014-08-16T00:05:36Z")

</div>

In your other post, you had given the configuration of your database. The issue is that there is no line telling the database whether or not to read from the persistence file. By default it is “false”, if it has not been set. This means that the database will ignore the persistence file. You can turn it on by adding the “load-at-startup” value in the configuration file.

Note that it will take some time to start the node when it reads from the file.

namespace NAMESPACE { … storage-engine device { … data-in-memory true load-at-startup true } … }
