MongoDB的效能調優工具 -- Dex

jieforest發表於2012-08-01


Greetings adventurers! MongoLab is pleased to introduce Dex! We hope he assists you on your quests.


Dex is a MongoDB performance tuning tool, open-sourced under the MIT license, which compares logged queries to available indexes in the queried collection(s) and generates index suggestions based on a simple rule of thumb. To use Dex, you provide a path to your MongoDB log file and a connection URI for your database. Dex is also registered with PyPi, so you can install it easily with pip.

Quick Start

CODE:

pip install dexTHEN

CODE:

dex -f mongodb.log mongodb://localhost

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/301743/viewspace-739414/,如需轉載,請註明出處,否則將追究法律責任。

相關文章