I'm running couchdb 1.0.1 chef 10.16.2
...spike
On Nov 26, 2012, at 1:42 PM, Chris wrote: Interesting. I don't have that file. What version are you running again? Sent from a phone
On Nov 26, 2012, at 9:27 AM, Spike Grobstein <
">
> wrote: I finally solved this issue.
For those that are curious, the solution was:
After emailing the couchdb mailing list, it turned out that the issue was that I had an empty chef.couch.compact file. After deleting that and running the compaction script again, I went from 40GB of data down to 11MB.
The issue with the empty .compact file is the thing that's fixed in newer versions of couch, so this might not be an issue for new users, but it was a real problem for us.
...spike
On Nov 20, 2012, at 1:01 PM, Spike Grobstein wrote: good catch.
I'm running 1.0.2 according to this:
chef-server:~$ curl localhost:5984 {"couchdb":"Welcome","version":"1.0.1"}
I'll look into getting that upgraded.
I'm still looking for a way to delete the old sandbox data, though. I have no idea how to do that. I don't think compaction will help since it's not revisions, it's straight-up obsolete documents.
Thanks!
...spike On Nov 20, 2012, at 12:36 PM, Brian Hatfield wrote: Ah, that looks correct enough to me.
Apologies if I've also missed this, but what version of Couch are you running?
If it's not 1.2, I strongly recommend you upgrade; that may help ensure that the compaction and cleanup tasks actually work. I noticed a huge improvement in compaction and such under 1.2 vs. previous versions myself.
Brian
|