incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Marca <jma...@translab.its.uci.edu>
Subject view compaction gives me a factor of 10 reduction in storage space required
Date Wed, 25 Nov 2009 20:24:03 GMT
Hi All,

As a follow-up to a question I asked earlier about view cleanup,  the
reply included a note that there was a view compaction api call.
I tried it and it worked really well for me.  I saw a factor of 10
reduction in the storage space:

Before:

james@lysithia ~ $ ls -lrth /data/couchdb/.d12_2007_06morehash_design/
total 65G
-rw-r--r-- 1 couchdb couchdb 26G 2009-11-23 15:55 172235a8f385d7dc0e0818e5d003aad2.view
-rw-r--r-- 1 couchdb couchdb 39G 2009-11-23 15:55 433c5bd5313e5509b96b67a6eb3d1145.view

james@lysithia ~ $ ls -lrth /data/couchdb/.d12_2007_05morehash_design/
total 67G
-rw-r--r-- 1 couchdb couchdb 27G 2009-11-23 15:44 fac1d532c1edf011f15a08b0e9e64bd1.view
-rw-r--r-- 1 couchdb couchdb 40G 2009-11-23 15:44 433c5bd5313e5509b96b67a6eb3d1145.view

After:

james@lysithia ~ $ ls -lrth /data/couchdb/.d12_2007_06morehash_design/
total 6.1G
-rw-r--r-- 1 couchdb couchdb 2.8G 2009-11-23 19:09 172235a8f385d7dc0e0818e5d003aad2.view
-rw-r--r-- 1 couchdb couchdb 3.4G 2009-11-23 20:35 433c5bd5313e5509b96b67a6eb3d1145.view

james@lysithia ~ $ ls -lrth /data/couchdb/.d12_2007_05morehash_design/
total 6.2G
-rw-r--r-- 1 couchdb couchdb 2.8G 2009-11-23 19:25 fac1d532c1edf011f15a08b0e9e64bd1.view
-rw-r--r-- 1 couchdb couchdb 3.5G 2009-11-23 20:35 433c5bd5313e5509b96b67a6eb3d1145.view

Regards,
James Marca

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Mime
View raw message