# What's the best way to separate data?

**URL:** <https://community.pinecone.io/t/whats-the-best-way-to-separate-data/5104>\
**Category:** Support\
**Tags:** vector-database\
**Created:** [April 4, 2024, 11:25pm UTC](https://community.pinecone.io/t/whats-the-best-way-to-separate-data/5104 "2024-04-04T23:25:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilppo.raes](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/ilppo.raes/32/2387_2.png) [@ilppo.raes](https://community.pinecone.io/u/ilppo.raes)\
**Post date:** [April 4, 2024, 11:25pm UTC](https://community.pinecone.io/t/whats-the-best-way-to-separate-data/5104/1 "2024-04-04T23:25:30Z")

</div>

Hey! Just wondering if anyone would have advice on how to separate data most effectively in indexes/namespaces? Say I have an app that lets users upload different types of documents — calls with clients, feedback docs, etc — and then can use a search to find answers in those documents. The docs would have different metadata. I assume dumping everything for an account in one index wouldn’t be the best approach.

---

<div class="post-metadata">

**Author:** ![zeke](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/zeke/32/4257_2.png) [@zeke](https://community.pinecone.io/u/zeke)\
**Post date:** [April 9, 2024, 6:38pm UTC](https://community.pinecone.io/t/whats-the-best-way-to-separate-data/5104/2 "2024-04-09T18:38:07Z")

</div>

Hi @ilppo.raes, thanks for posting. While the answer depends on how many accounts you need to separate the data for, the general best practice is to use [namespaces](https://docs.pinecone.io/guides/indexes/using-namespaces) whenever possible.

In the long run, using namespaces will require you to manage less resources. For example, as you scale, you can easily spin up a new namespace by simply sending an upsert request, whereas creating a new index will be more time-consuming and resource-intensive.
