couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthieu Rakotojaona <matthieu.rakotoja...@gmail.com>
Subject Re: reducing db size
Date Mon, 14 May 2012 21:03:14 GMT
On Mon, May 14, 2012 at 9:13 PM, Tim Tisdall <tisdall@gmail.com> wrote:
> Does anyone have some recommendations on how to reduce the size of the db?

You can do a lot with tweaking your _id. See this link :

http://wiki.apache.org/couchdb/Performance#File_size

Basically :
- use shorter _ids
- use sequential _ids. If you cannot (eg because you have multiple
disconnected parts that will have to merge often and that would cause
too many clashes), you can use couchdb's own semi-sequential generated uuids.


-- 
Matthieu RAKOTOJAONA

Mime
View raw message