Skip to content

Instantly share code, notes, and snippets.

@PitBeast
Created September 21, 2020 03:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PitBeast/9303af1e8f25e3b2ee9d96c9df29fd25 to your computer and use it in GitHub Desktop.
Save PitBeast/9303af1e8f25e3b2ee9d96c9df29fd25 to your computer and use it in GitHub Desktop.
Couch clean
curl -H "Content-Type:application/json" -X POST http://localhost:5984/$DB/_view_cleanup
curl -H "Content-Type:application/json" -X POST https://localhost:5984/$DB/_compact
curl -H "Content-Type:application/json" -X POST https://localhost:5984/$DB/_compact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment