MongoDB Db.serverstatus () detailed explanation

Source: Internet
Author: User

Click (here) to collapse or Open > Db.serverstatus () {"Host": "core_appdb_2:10001", #主机名和mongo端口 "version": "2.2.4", #mongo版本 "process" : "Mongod", #进程名称 "pid": 30011, #进程id "uptime": 15054670, #mongo启动时间单位秒 "Uptimemillis": Numberlong ("15054669872"), #mong o Start time unit millisecond "uptimeestimate": 14884601, #基于MongoDB内部粗粒度定时器的运行时间 "localtime": Isodate ("2014-03-19t06:51:48.303z"), # Current UTC Time "locks": {".": {"Timelockedmicros": {#所用库的锁时间单位微秒 "R": Numberlong (604780392), #所用库的读锁时间单位微秒 "W": Numberlon G ("13531173187") #所用库的写锁时间单位微秒}, "Timeacquiringmicros": {"R": Numberlong (635619713), #所用库的等待读锁时间单位微秒 "W": Numberlong ( 114062002) #所用库的等待读锁时间单位微秒}}, "admin": {"Timelockedmicros": {"R": Numberlong (46802786), "W": Numberlong (0)}, "Time Acquiringmicros ": {" R ": Numberlong (3942271)," W ": Numberlong (0)}}," local ": {" Timelockedmicros ": {" R ": Numberlo Ng ("6484531006"), "W": Numberlong ("7723991598")}, "Timeacquiringmicros": {"R": Numberlong (605019419), "W": Numberlon g (1003472196)}}, "config": {"Timelockedmicros ": {" R ": Numberlong (4723313)," W ": Numberlong (0)}," Timeacquiringmicros ": {" R ": Numberlong (1517553 , "W": Numberlong (0)}}, "task": {"Timelockedmicros": {"R": Numberlong ("51722457503"), "W": Numberlong ("309963048 ")}," Timeacquiringmicros ": {" R ": Numberlong (" 24704782100 ")," W ": Numberlong (" 10218470097 ")}}," Test ": {" Timelo Ckedmicros ": {" R ": Numberlong (4502479)," W ": Numberlong ()}," Timeacquiringmicros ": {" R ": Numberlong (1014481)," W ": Numberlong (3)}}}," GlobalLock ": {" TotalTime ": Numberlong (" 15054669872000 "), #自数据库启动并且创建全局锁的时间, unit subtle, and database startup time Close" L Ocktime ": Numberlong (" 13531173187 "), # #自数据库启动并且获得全局锁的时间, Unit subtle" Currentqueue ": {" Total ": 0, #当前等待获取锁的队列" readers ": 0, #当 Queue "Writers": 0 #当前等待获取写锁的队列}, "Activeclients": {"Total": 0, #当前活动的连接数 "readers": 0, #当前活动的读连接数 "writers": 0 #当前活动的写连接数}, "mem": {"bits": 64, # 64-bit MONGO "resident": 20729, #常驻内存单位M "virtual": 93204, #虚拟内存单位M, if journaling open Kai, about twice times the mapped memory, if the memory is MApped memory three times times or more may be memory leak "supported": TRUE, #是否支持扩展内存 "mapped": 45195, #数据映射到内存的大小单位M, and the total size of the data is similar. "Mappedwithjournal": 90390# data files and journaling files mapped to the size in memory, Unit m, which has been twice times the value of mapped. }, ' connections ': {' current ': 2050, #当前的连接数 ' available ': 14350 #还可以用的连接数}, ' Extra_info ': {' note ': ' Fields vary by Platform "," heap_usage_bytes ": 91177440, #数据库用的heap内存大小单位bytes" page_faults ": 57650 #访问swap分区中的数据大小, Unit page}," Indexcounters ': {"btree": {"accesses": 692698855, #访问索引的次数 "hits": 692704555, #访问内存中索引的次数 "misses": 0, #访问磁盘中索引的次数 " Resets ": 0, #自启动数据库以后, number of times the index count was reset" Missratio ": 0 #}}," Backgroundflushing ": {" Flushes ": 250852, #数据库刷新数据到磁盘的次数" Tota L_ms ": 52897489, #数据库刷新数据到磁盘花费的时间, unit millisecond" Average_ms ": 210.871306587151, #平均每次刷新磁盘花费的时间, per millisecond. "Last_ms": 797, #最后一次刷新磁盘花费的时间, per millisecond. "Last_finished": Isodate ("2014-03-19t06:51:03.102z") #最后一次完成刷新磁盘后的utc时间点. }, "Cursors": {"Totalopen": 2, #当前打开cursor的数量 "Clientcursors_size": 2, #从1. x version has removed "timedout": 1444 #curser超时次数}, "n Etwork ": {" Bytesin": 31179599101, #发送到数据库的数据总量 (bytes)" Bytesout ": 567176581019, #数据库发出的数据总量 (bytes)" numrequests ": 192840604 #发送到数据库的请求量} , "Repl": {"SetName": "Shard1", #主从复制的名字 "IsMaster": True, #是不是主从复制的主服务器 "secondary": false, #是不是主从复制的从服务器 "hosts": [ #主从复制包括的机器 "10.0.3.56:10001", "10.0.3.56:10002"], "arbiters": [#仲裁机器 "10.0.3.56:10003"], "PRIMARY": "10.0.3.56:10001 ", #主服务器地址" Me ":" 10.0.3.56:10001 "#当前服务器地址}," Replnetworkqueue ": {" Waittimems ": 0," Numelems ": 0," numbytes ": 0}, "Opcounters": {"Insert": 8179832, #自实例启动以来总的insert次数 "query": 76509861, #自实例启动以来总的query次数 "Update": 15971292, #自实例启动以 The total number of update "delete": 254882, #自实例启动以来总的delete次数 "Getmore": 34581601, #自实例启动以来总的getmore次数 "command": 62259857 #自实例启动以来总 Number of commands}, "asserts": {"regular": 0, #自实例启动以来抛出正规断言次数 "warning": 0, #自实例启动以来抛出的告警总次数 "msg": 0, #自实例启动以来总服务器内部定义的好的断言次数 "u Ser ": 5756, #自实例启动以来总的用户断言次数" rollovers ": 0# the number of total assert counters have over times since instance startup}," rolled ": false," D ur ": {#每3秒统计一次, statistics 3-6 seconds between theData "commits": #上一间隔journal日志发生commit的次数 "JOURNALEDMB": 0.114688, #上一间隔journal日志产生的数据量 "WRITETODATAFILESMB": 0.1370 8, #上一间隔journal日志写到磁盘上的数据量 "compression": 0.8158085672418944, #journal日志压缩比, (journaled_size_of_data/uncompressed_ Size_of_data) "Commitsinwritelock": 0, #多少次在journal日志提交时有写锁. "Earlycommits": 0, #在自动commit前, how many times are required to commit "Timems": {"dt": 3087, #统计timeMs数据花费的时间, unit milliseconds "Preplogbuffer": 0, #准备写journ The Al log takes the time, in milliseconds, the less performance the better "writetojournal": 246, #写journal日志花费的时间, unit millisecond "writetodatafiles": 5, #在写journal日志后, The time spent writing data to a data file "Remapprivateview": The time it takes to remap data, the shorter the time, the better the performance. }, "Recordstats": {"accessesnotinmemory": 1224, #多少次访问数据没在内存中 "Pagefaultexceptionsthrown": 197, #多少次访问数据 throw page Fault Exceptions. "Admin": {"accessesnotinmemory": 0, "Pagefaultexceptionsthrown": 0}, "config": {"accessesnotinmemory": 0, "Pagefau Ltexceptionsthrown ": 0}," local ": {" accessesnotinmemory ":", "Pagefaultexceptionsthrown": 0}, "task": {"accesses Notinmemory ": 1197," PagefaultexcEptionsthrown ": 197}," test ": {" accessesnotinmemory ": 0," Pagefaultexceptionsthrown ": 0}}," OK ": 1}

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.