Jun 15 2012
Killing CouchDB on Ubuntu 10.04
I Wanted to do some maintenance and move my couchdb data files to another partition but couchdb would not stop when I called the usual stop commands:
1)sudo /etc/init.d/couchdb stop
2)sudo service couchdb stop
Found a lot of posts and out of all of them found this nice tidbit below:
ps -U couchdb -o pid= | xargs kill -9
Note: It’s not the best thing to viciously kill a process. I imagine databases usually have shutdown tasks to do, must end with current insertions, etc. I’ll post if I find a bug fix.
Jul 24 2012
Add new JSON document using plain text string with LightCouch
Hey,
Small post outlining a small modification to the 0.4 lightcouch source to allow direct plain text json insertion. A colleague and I had a JSON string which we wanted to insert into lightcouch without having to create a JSON object – only to have .toString() be called during the final POST request.
By Chris Georgoulis • Couchdb, Java SE, Programming, Scripts 0