couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Couchdb Wiki] Update of "HTTP_database_API" by SebastianCohnen
Date Wed, 03 Mar 2010 10:55:48 GMT
Dear Wiki user,

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

The "HTTP_database_API" page has been changed by SebastianCohnen.
The comment on this change is: Added table with information on the database status.


  The server's response is a JSON object similar to the following:
- {"db_name": "dj", "doc_count":5, "doc_del_count":0, "update_seq":13, "compact_running":false,
+ {"db_name":"dj", "doc_count":1, "doc_del_count":1, "update_seq":4, "purge_seq":0, "compact_running":false,
"disk_size":12377, "instance_start_time":"1267612389906234", "disk_format_version":5}
+ ==== Meaning of Result Hash ====
+ ||'''Key'''||'''Description'''||'''CouchDB Version'''||
+ ||''db_name''||Name of the database (string)||||
+ ||''doc_count''||Number of documents (including design documents) in the database (int)||||
+ ||''update_seq''||Current update sequence number (int)||||
+ ||''purge_seq''||? (int)||||
+ ||''compact_running''||Indicates, if a compaction is running (boolean)||||
+ ||''disk_size''||Current size in Bytes of the database ('''Note''': Size of views indexes
on disk are not included)||||
+ ||''instance_start_time''|| Timestamp of CouchDBs start time (int in ms) ||||
+ ||''disk_format_version''|| Current version of the internal database format on disk (int)||||
  === Changes ===

View raw message