incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Reeder <reeder...@gmail.com>
Subject Re: Efficient ways of storing large lists of numbers?
Date Mon, 11 Oct 2010 02:43:01 GMT
On Oct 10, 2010, at 10:01 PM, user-digest-help@couchdb.apache.org wrote:

> {
>   "_id":"012739876543",
>   "_rev":"<a couchdb rev",
>   "list_id":"The enclosing list uuid",
> }
> 
> ...
> 
> My lists of telephones can be quite large (Several million) so I'm wondering
> if there are better ways to store such simple data in couchdb? e.g. Avoid
> one document per number and go for a more complex document with multiple
> numbers, array, or whatever.
> 
...
> 
> John


I'd look at updates -- if storing multiple numbers per document causes you to do extra reads
to get the full document before updating, that would probably cancel any efficiency gains.


Doug Reeder
reeder.29@gmail.com
http://reeder29.livejournal.com/
https://twitter.com/reeder29

https://twitter.com/hominidsoftware
http://outlinetracker.com





Mime
View raw message