couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Santi Saez <santis...@woop.es>
Subject Re: Best way to store 2^32 IPs in CouchDB
Date Mon, 01 Feb 2010 18:43:33 GMT
El 01/02/10 17:56, Robert Newson escribió:
> compaction should reduce disk usage even without updates or deletes,
> but that is probably not true for 0.8. odd that you get the exact same
> byte count after compaction...

In another testing server with CentOS-5 and "couchdb-0.10.0-1.el5", we have:

# curl http://localhost:5984/ipv4
{"db_name":"ipv4","doc_count":11836124,"doc_del_count":7,"update_seq":11836141,"purge_seq":0,"compact_running":true,"disk_size":97730438359,"instance_start_time":"1264780216812476","disk_format_version":4}

Still is running a compact "Database Compaction" task:

# ls -lh /var/lib/couchdb/ipv4.couch*
92G Feb  1 19:59 /var/lib/couchdb/ipv4.couch
34M Feb  1 19:58 /var/lib/couchdb/ipv4.couch.compact

So, I have to wait to finish compacting to see if I saved some disk 
space, thanks!!

Regards,

-- 
Santi Saez
http://woop.es

Mime
View raw message