CouchDB - Is it safe to delete the view files in mrview? -
i working on project using couchdb , partition or storage dedicated couchdb files reached maximum capacity site fails connect couchdb , produces connection errors. know couch storage hungry never expect soon. have tried compacting methods such as:
curl -h "content-type: application/json" -x post http://localhost:5984/dbname/_compact curl -h "content-type: application/json" -x post http://localhost:5984/dbname/_view_cleanup
and,
localhost:5984/dbname/_compact/all_view_documents
the above commands released 2gb of storage. searched files in partition consumes of storage, found out in particular folder /usr/local/var/lib/couchdb/.dbname/mrview
found view file 144gb in size in still there when used compact view documents.
note: compacted document file / database file 1.6gb, total partition storage 150gb
i encountered problem too. apparently these files increase when design views modified because indexes recomputed test delete files , functionally testing application re-create of these files smaller assume there no problem in deleting , increase in size should not worry unless change layout views
Comments
Post a Comment