Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vpro/couchdb_maintenance
Python script for CouchDB maintenance.
https://github.com/vpro/couchdb_maintenance
Last synced: 28 days ago
JSON representation
Python script for CouchDB maintenance.
- Host: GitHub
- URL: https://github.com/vpro/couchdb_maintenance
- Owner: vpro
- Created: 2011-02-01T15:18:31.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2016-05-26T15:34:19.000Z (over 8 years ago)
- Last Synced: 2024-03-25T22:57:06.012Z (10 months ago)
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 15
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
CouchDB Maintenance
===================This is a Python script for CouchDB maintenance.
INFORMATION
-----------This script performs maintenance on CouchDB servers by:
* Compacting all databases
* Compacting all views for all databases
* Cleaning up all viewsSee http://wiki.apache.org/couchdb/Compaction for more info.
DEPENDENCIES
------------This script depends on couchdbkit. To install or upgrade to the latest
version, run this:$ sudo apt-get install python-setuptools
$ sudo easy_install -U couchdbkitThis script also requires a supported JSON module for Python. You can use
cjson (or simplejson, or probably a few others if you like):$ sudo apt-get install python-cjson
USAGE
-----Provide URL's to CouchDB instances as arguments to the script:
$ ./couchdb_maintenance.py http://localhost:5984 http://example.com