How to clean and restart CouchDB

1150255 pts.
Tags:
CouchDB
Database
Does anyone know the command to clean CouchDB? Also - after it's cleaned, I have to restart it too. What's the command for that?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

CouchDB can be started/stopped/restarted from the /etc/init.d/couchdb or /etc/rc.d/couchdb startup script.

(This startup script file might be located somewhere else on your system.)

You would do something like this:

  1. To stop: /etc/init.d/couchdb stop
  2. To restart: /etc/init.d/couchdb restart

As far as cleaning goes, I think you mean compaction. This is easiest to do via Futon, which is located here by default: http://localhost:5984/_utils

Login to Futon as an admin, navigate to your database, and there will be links to compact the database.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: