On Oct 10, 2010, at 10:01 PM, [email protected] 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 [email protected] http://reeder29.livejournal.com/ https://twitter.com/reeder29 https://twitter.com/hominidsoftware http://outlinetracker.com
