Home > Database > Mysql Tutorial > mongodb性能监控

mongodb性能监控

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 16:32:43
Original
1168 people have browsed it

profile 可以监控所有慢的以及不慢的查询。 Profiler默认是关闭的,你可以选择全部开启,或者有慢查询的时候开启。 开启: db.setProfilingLevel(2); 关闭 db.setProfilingLevel(0) 开启后会在所在库下生成一个system.profile集合,可利用此集合进行查询,如

profile 可以监控所有慢的以及不慢的查询。

Profiler默认是关闭的,你可以选择全部开启,或者有慢查询的时候开启。

开启:

db.setProfilingLevel(2);

关闭

db.setProfilingLevel(0)

开启后会在所在库下生成一个system.profile集合,可利用此集合进行查询,如按查询时间倒排

Analyze Performance of Database Operations

MongoDB运行状态、性能监控,分析

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
mongodb start
From 1970-01-01 08:00:00
0
0
0
linux - ubuntu14 error installing mongodb
From 1970-01-01 08:00:00
0
0
0
Use of symfony2 mongodb
From 1970-01-01 08:00:00
0
0
0
mongodb _id rename
From 1970-01-01 08:00:00
0
0
0
Parameter understanding of mongodb
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template