Skip to content

Latest commit

 

History

History
221 lines (170 loc) · 7.92 KB

common.rst

File metadata and controls

221 lines (170 loc) · 7.92 KB

/db/_design/design-doc

/db/_design/design-doc/attachment

/db/_design/design-doc/_info

View Index Information

The response from /{db}/_design/{ddoc}/_info contains view_index (object) field with the next structure:

  • compact_running (boolean): Indicates whether a compaction routine is currently running on the view
  • sizes.active (number): The size of live data inside the view, in bytes
  • sizes.external (number): The uncompressed size of view contents in bytes
  • sizes.file (number): Size in bytes of the view as stored on disk
  • language (string): Language for the defined views
  • purge_seq (number): The purge sequence that has been processed
  • signature (string): MD5 signature of the views for the design document
  • update_seq (number / string): The update sequence of the corresponding database that has been indexed
  • updater_running (boolean): Indicates if the view is currently being updated
  • waiting_clients (number): Number of clients waiting on views from this design document
  • waiting_commit (boolean): Indicates if there are outstanding commits to the underlying database that need to processed