# Configuration: Storage Bin only?

**URL:** <https://discuss.aerospike.com/t/configuration-storage-bin-only/1321>\
**Category:** Configuration\
**Created:** [May 28, 2015, 1:15am UTC](https://discuss.aerospike.com/t/configuration-storage-bin-only/1321 "2015-05-28T01:15:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![no1youknowz](https://avatars.discourse-cdn.com/v4/letter/n/b782af/32.png) [@no1youknowz](https://discuss.aerospike.com/u/no1youknowz)\
**Post date:** [May 28, 2015, 1:15am UTC](https://discuss.aerospike.com/t/configuration-storage-bin-only/1321/1 "2015-05-28T01:15:54Z")

</div>

Hi,

I haven’t been able to find if this is possible. Excuse me if this is a simple question. Maybe i missed it in the docs?

Is it possible to have a file storage only bin with SSD and NOT storing this data in memory.

My current configuration looks like this:

```
namespace cache {
    memory-size 1G
    storage-engine memory
}

namespace sessions {
    memory-size 42G
    storage-engine memory
    default-ttl 30d
    high-water-memory-pct 90
}

namespace clicks {
    replication-factor 0
    memory-size 8G
    default-ttl 0

    # To use file storage backing, comment out the line above and use the
    # following lines instead.
    storage-engine device {
        file /opt/aerospike/data/click.dat
        filesize 8G
        data-in-memory true # Store data in memory in addition to file.
    }
}

namespace platform {
    replication-factor 0
    memory-size 1G
    default-ttl 0

    # To use file storage backing, comment out the line above and use the
    # following lines instead.
    storage-engine device {
        file /opt/aerospike/data/platform.dat
        filesize 1G
        data-in-memory false # Store data in memory in addition to file.
    }
}

```

I’m wanting to add for this new bin:

```
namespace geoip {
    replication-factor 0

    storage-engine device {
        file /opt/aerospike/data/geoip.dat
        filesize 4G
        data-in-memory false # Store data in memory in addition to file.
    }
}

```

The bin geoip only resides in file storage but must also be replicated to all the other nodes.

Is this possible?

Thanks

---

<div class="post-metadata">

**Author:** ![samir](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@samir](https://discuss.aerospike.com/u/samir)\
**Post date:** [May 28, 2015, 3:23am UTC](https://discuss.aerospike.com/t/configuration-storage-bin-only/1321/2 "2015-05-28T03:23:42Z")

</div>

Hi Paul,

Please take a look at [https://www.aerospike.com/docs/operations/configure/namespace/storage/](https://www.aerospike.com/docs/operations/configure/namespace/storage/)

Aerospike allows 3 configurations

1. Data in memory
2. Data on SSD
3. Data in memory with persistence

The primary and secondary indexes are always stored in memory.

In all 3 configurations you would have auto-replication, auto-data-balancing, auto-sharding. You could configure multiple nodes in a cluster, set the replication factor \> 1 if you want data replication on other nodes.

You have configured namespace cache as data in-memory, namespace clicks as data-in-memory with persistence. Take a look at [https://www.aerospike.com/docs/operations/configure/namespace/storage/#recipe-for-an-ssd-storage-engine](https://www.aerospike.com/docs/operations/configure/namespace/storage/#recipe-for-an-ssd-storage-engine) for configuring data-on-SSD

-samir
