Hi

2014-09-25 10:43 GMT+02:00 Panny Wang <[email protected]>:

> Hi,
>
> We are using CouchDB in our new project but there's question raised that
> how much space should I prepare for a couchdb database?
>
> My simple example is:
> 1000 * 1KB document that will be appended to database in the beginning of
> each day and each document will be updated every hour a day (i.e. 24
> revisions are kept for a document).
> So can I know how much disk space at most will be used in this case?
>

That's extremely hard to tell.
If you update each document individually you need more disk space than if
you use bulk updates on multiple documents at once (until compaction runs).
You also need to take account for the views and their compaction.
I have seen a view of 6,6GB before and 187MB size after compaction.
I think, not sure on that though, it should also depend on how good your
data compresses (if you use snappy).

So I would say you have to try it out to get a rough idea how to dimension
your file-systems.

regards,
Stefan

Reply via email to