Hello,
I am new to this mailinglist. I am using CouchDB as backend to an online game. I notice that deleting documents is really slow (about 4 deletes per second). Is there any way to improve this speed? I use several views, do these views prohibit fast deletion? I added a view is use in the database.

Thanks in advance,
Marijn

{
   "all": {
"map": "function(doc) {if (doc.type == 'area'){emit(doc.name, doc._id);}}"
   },
   "to_character": {
"map": "function(doc) {if (doc.type == 'character'){emit (doc.location, doc.name);}}"
   },
   "to_paths": {
"map": "function(doc) {if (doc.type == 'path'){emit(doc.from, doc.to);}}"
   },
   "path_to_area": {
"map": "function(doc) {if (doc.type == 'path'){emit(doc.from + doc.name , doc.to);}}"
   }
}

Reply via email to