couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Kocoloski <>
Subject Re: Updating views while inserting documents
Date Mon, 13 Jul 2009 18:19:30 GMT
On Jul 13, 2009, at 10:37 AM, Daniel Trümper wrote:

> OT: in another thread I read that the view size is very disk  
> inefficient. I can also confirm this. In another test run I have  
> around 5.000 documents in one database consuming 10MB of disk. The  
> corresponding view file consumes 700MB!! If I understood the remarks  
> correctly, there is view file compactation in trunk, right?

Yes, view index compaction is on trunk, and in my experience it  
dramatically reduces the size of the index.  When you trigger it  
(POST /dbname/_compact/designname) you should see a progress item show  
up in the Status window.  Best,

View raw message