清理CouchDB并重新启动 [英] Clean couchdb and restart

查看:381
本文介绍了清理CouchDB并重新启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请执行什么命令清除 CouchDB 的命令是什么?如果我想禁用重新启动我的CouchDB,命令是什么?

What is command to clean CouchDB please ? And if I want to disable and re-start my CouchDB what is command?

谢谢

推荐答案

CouchDB可以从以下位置启动/停止/重新启动 /etc/init.d/couchdb /etc/rc.d/couchdb 启动脚本。

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.)

您将执行以下操作:


  1. 要停止: /etc/init.d/couchdb stop

  2. 要重新启动: /etc/init.d/couchdb重新启动

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

就清洁而言,我认为您的意思是压实。这最容易通过Futon完成,默认情况下位于此处: http:// localhost:5984 / _utils

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

以管理员身份登录到Futon,导航到您的数据库,然后会有链接来压缩数据库。

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

这篇关于清理CouchDB并重新启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆