couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damien Katz <>
Subject Re: Cleanup of design docs
Date Tue, 08 Jul 2008 15:22:47 GMT
I could be wrong, but I think if you try to access the deleted view,  
it will trigger it to delete the actual index file

Whenever it does or not do that now, eventually couchdb views will  
have a daemon to update indexes and to do housecleaning, compacting  
and deleting views indexes automatically. In the meantime you can  
delete the view index files via the OS. This is also a poor-man's  
compaction, as couchdb will rebuild deleted indexes usually smaller  
than before.


On Jul 8, 2008, at 10:10 AM, Jan Lehnardt wrote:

> On Jul 8, 2008, at 15:58, Brad King wrote:
>> After deleting a design document, the index file still exists on disk
>> even after database compaction. Is it on the roadmap to clean these  
>> up
>> when a compaction occurs?
> Yeah this is on the roadmap. Indexes don't yet get compacted.
> Damien, what's the desired behaviour here? Deleting indexes when
> the associated design document gets deleted or only during
> compaction?
> Cheers
> Jan
> --

View raw message