CouchDB can be started/stopped/restarted from the
/etc/rc.d/couchdb startup script.
(This startup script file might be located somewhere else on your system.)
You would do something like this:
- To stop:
- To restart:
As far as cleaning goes, I think you mean compaction. This is easiest to do via Futon, which is located here by default:
Login to Futon as an admin, navigate to your database, and there will be links to compact the database.