https://github.com/vpro/couchdb_maintenance
Python script for CouchDB maintenance.
https://github.com/vpro/couchdb_maintenance
Last synced: 9 months 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 (over 15 years ago)
- Default Branch: master
- Last Pushed: 2016-05-26T15:34:19.000Z (about 10 years ago)
- Last Synced: 2025-04-15T16:15:32.882Z (about 1 year 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 views
See 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 couchdbkit
This 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