GithubHelp home page GithubHelp logo

dsingh003 / mongodbperformancetuningbook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gharriso/mongodbperformancetuningbook

0.0 0.0 1.0 98 KB

Sample scripts and resources for the Apress book MongoDB Performance Tuning

JavaScript 100.00%

mongodbperformancetuningbook's Introduction

MongoDB Performance Tuning Book

Usage

This repository contains helper scripts and examples for the Apress book "MongoDB Performance Tuning". - https://www.apress.com/us/book/9781484268780

The master script 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

rs0:PRIMARY>

Contents

  • mongoTuning.js is a master script, compiling a number of helper functions into a single object that is used throughout the book.
  • The examples folder contains some example scripts for using some of our helper functions along with output..
  • The sampleData directory contains all the data used in our examples as a compressed dump file. Instructions on how to load the data can be found in the same folder.
  • The scripts directory contains all the individual scripts which together create the master script(mongoTuning.js) along with some additional scripts that may not be used.
  • The misc directory contains some files or data that is referenced in the book but not directly by the scripts, for example some sample alarms and metric calculations that readers may find userful.
  • ExplainPlanSteps.md contains a breakdown of the various different stages you may encounter in an explain plan, along with a simple explanation of that stage.

Contact Us

If you have any queries about this repository, please contact Guy at [email protected] or Mike at [email protected].

mongodbperformancetuningbook's People

Contributors

michaeljharrison avatar gharriso avatar

Forkers

dileephell

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.