couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Compaction" by JimLindley
Date Wed, 09 Apr 2008 17:23:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by JimLindley:
http://wiki.apache.org/couchdb/Compaction

The comment on the change is:
Correct wiki formatting.

------------------------------------------------------------------------------
  
  Compaction is triggered by an HTTP post request to the _compact sub-resource of your database:
  
+ {{{
-     POST http://localhost/my_db/_compact
+     # POST http://localhost/my_db/_compact via curl
+     curl --data '' http://localhost/my_db/_compact
+ }}}
  
  GET requesting your database base url ( http://localhost/my_db ) gives a hash of statuses
that look like this:
  
+ {{{
      {"db_name":"my_db","doc_count":0,"doc_del_count":1,"update_seq":3,"compact_running":false,"disk_size":14341}
+ }}}
  
  The compact_running key will be set to true during compaction.
  

Mime
View raw message