El 01/02/10 17:31, Robert Newson escribió:
Try database compaction?
I have tried database compaction in another testing server (Debian Lenny
box) using CouchDB 0.8.0-2, and after database compaction disk size is
the same:
# curl http://localhost:5984/test
{"db_name":"test","doc_count":15999,"doc_del_count":0,"update_seq":15999,"compact_running":false,"disk_size":60330312}
# curl -X POST http://localhost:5984/test/_compact
{"ok":true}
# curl http://localhost:5984/test
{"db_name":"test","doc_count":15999,"doc_del_count":0,"update_seq":15999,"compact_running":false,"disk_size":60330312}
Acording to the documentation [1]: "Compaction rewrites the database
file, removing outdated document revisions and deleted documents".
So, it's normal because in my test I have not delete/upadate any
document, only inserts.
Thanks!
[1] http://wiki.apache.org/couchdb/Compaction
--
Santi Saez
http://woop.es