Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CollStats

Hierarchy继承层级

Index索引

Properties属性

avgObjSize: number

Average object size in bytes平均对象大小(字节)

capped: boolean

true if the collection is capped如果集合有上限,则为true

count: number

Number of documents文件数量

freeStorageSize?: number

The amount of storage available for reuse. 可供重复使用的存储量。The scale argument affects this value.scale参数影响此值。

indexBuilds?: number

An array that contains the names of the indexes that are currently being built on the collection一个数组,包含当前正在集合上生成的索引的名称

indexDetails?: any

The fields in this document are the names of the indexes, while the values themselves are documents that contain statistics for the index provided by the storage engine本文档中的字段是索引的名称,而值本身是包含存储引擎提供的索引统计信息的文档

indexSizes: { _id_: number }

Size of specific indexes in bytes特定索引的大小(字节)

Type declaration类型声明

  • [index: string]: number
  • _id_: number
lastExtentSize: number

Size of the most recently created extent in bytes最近创建的数据块的大小(字节)

max: number

The maximum number of documents that may be present in a capped collection上限集合中可能存在的最大文档数

maxSize: number

The maximum size of a capped collection上限集合的最大大小

nindexes: number

Number of indexes索引数

ns: string

Namespace命名空间

numExtents: number

Number of extents (contiguously allocated chunks of datafile space)扩展数据块数(连续分配的数据文件空间块)

ok: number
paddingFactor: number

Padding can speed up updates if documents grow如果文档增长,填充可以加快更新速度

scaleFactor: number

The scale value used by the command.命令使用的比例值。

size: number

Collection size in bytes集合大小(字节)

storageSize: number

(Pre)allocated space for the collection in bytes为集合(预)分配的空间(字节)

totalIndexSize: number

Total index size in bytes总索引大小(字节)

totalSize: number

The sum of the storageSize and totalIndexSize. storageSizetotalIndexSize的总和。The scale argument affects this valuescale参数影响此值

userFlags?: number

A number that indicates the user-set flags on the collection. userFlags only appears when using the mmapv1 storage engine指示集合上的用户设置标志的数字。userFlags仅在使用mmapv1存储引擎时显示

wiredTiger?: WiredTigerData

This document contains data reported directly by the WiredTiger engine and other data for internal diagnostic use本文档包含WiredTiger引擎直接报告的数据和其他内部诊断数据

Generated using TypeDoc