-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]> or Mike at <[email protected]>. | ||
|
||
- mongoTuning.js |