From 7c9f16f04a890fd8596814ef0b4ba7a0d0aaf77f Mon Sep 17 00:00:00 2001 From: Guy Harrison Date: Tue, 16 Mar 2021 08:21:55 +1100 Subject: [PATCH] New Readme --- README.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) mode change 100644 => 100755 README.md diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 0fb3996..608a963 --- a/README.md +++ b/README.md @@ -1,14 +1,20 @@ # MongoDBPerformanceTuningBook -This repository contains all helper scripts for the Apress book "MongoDB Performance Tuning". +This repository contains helper scripts and examples for the Apress book "MongoDB Performance Tuning". - https://www.apress.com/us/book/9781484268780 -# Scripts: -## [Chapter 3](./Chapter3/README.md) +The master script [mongoTuning.js](mongoTuning.js) provides access to all these scripts from within a MongoDB shell session. To use these scripts from within a MongoDB shell, simply issue the mongo command with the script name as an argument and add the '--shell' option, for example: +``` +$ mongo --shell mongoTuning.js +MongoDB shell version v4.2.0 +connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb + +MongoDB server version: 4.2.0 -- QueryProfiler.js -- ServerStats.js +rs0:PRIMARY> +``` -## Genreal +The examples can also be found in our GitHub repository under the [Examples](Examples) folder. The data that these examples use can be found in the [sampleData](sampleData) folder as a compressed dump file. Instructions on how to load the data can be found in the same folder. + +If you have any queries about this repository, please contact Guy at or Mike at . -- mongoTuning.js