MongoDB cookbook : over 80 comprehensive recipes that will help you master the art of using and administering MongoDB 3 / / Cyrus Dasadia, Amol Nayak |
Autore | Dasadia Cyrus |
Edizione | [2nd ed.] |
Pubbl/distr/stampa | Birmingham : , : Packt Publishing, , 2016 |
Descrizione fisica | 1 online resource (371 p.) |
Collana | Quick answers to common problems |
Soggetto topico | Non-relational databases |
ISBN | 1-78528-682-X |
Formato | Materiale a stampa |
Livello bibliografico | Monografia |
Lingua di pubblicazione | eng |
Nota di contenuto |
Cover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Installing and Starting the Server; Introduction; Installing single node MongoDB; Starting a single node instance using command-line options; Single node installation of MongoDB with options from the config file; Connecting to a single node in the Mongo shell with JavaScript; Connecting to a single node using a Java client; Connecting to a single node using a Python client; Starting multiple instances as part of a replica set
Connecting to the replica set in the shell to query and insert dataConnecting to the replica set to query and insert data from a Java client; Connecting to the replica set to query and insert data using a Python client; Starting a simple sharded environment of two shards; Connecting to a shard in the shell and performing operations; Chapter 2: Command-line Operations and Indexes; Introduction; Creating test data; Performing simple querying, projections, and pagination from Mongo shell; Updating and deleting data from the shell; Creating index and viewing plans of queries Creating a background and foreground index in the shellCreating and understanding sparse indexes; Expiring documents after a fixed interval using the TTL index; Expiring documents at a given time using the TTL index; Chapter 3: Programming Language Drivers; Introduction; Executing query and insert operations with PyMongo; Executing update and delete operations using PyMongo; Implementing aggregation in Mongo using PyMongo; Executing MapReduce in Mongo using PyMongo; Executing query and insert operations using a Java client; Executing update and delete operations using a Java client Implementing aggregation in Mongo using a Java clientExecuting MapReduce in Mongo using a Java client; Chapter 4: Administration; Introduction; Renaming a collection; Viewing collection stats; Viewing database stats; Manually padding a document; The mongostat and mongotop utilities; Getting current executing operations and killing them; Using profiler to profile operations; Setting up users in Mongo; Interprocess security in Mongo; Modifying collection behavior using the collMod command; Setting up MongoDB as a windows service; Replica set configurations Stepping down as primary from the replica setExploring the local database of a replica set; Understanding and analyzing oplogs; Building tagged replica sets; Configuring the default shard for non-sharded collections; Manual split and migration of chunks; Domain-driven sharding using tags; Exploring the config database in a sharded setup; Chapter 5: Advanced Operations; Introduction; Atomic find and modify operations; Implementing atomic counters in Mongo; Implementing server-side scripts; Creating and tailing a capped collection cursors in MongoDB Converting a normal collection to a capped collection |
Record Nr. | UNINA-9910798034903321 |
Dasadia Cyrus | ||
Birmingham : , : Packt Publishing, , 2016 | ||
Materiale a stampa | ||
Lo trovi qui: Univ. Federico II | ||
|
MongoDB cookbook : over 80 comprehensive recipes that will help you master the art of using and administering MongoDB 3 / / Cyrus Dasadia, Amol Nayak |
Autore | Dasadia Cyrus |
Edizione | [2nd ed.] |
Pubbl/distr/stampa | Birmingham : , : Packt Publishing, , 2016 |
Descrizione fisica | 1 online resource (371 p.) |
Collana | Quick answers to common problems |
Soggetto topico | Non-relational databases |
ISBN | 1-78528-682-X |
Formato | Materiale a stampa |
Livello bibliografico | Monografia |
Lingua di pubblicazione | eng |
Nota di contenuto |
Cover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Installing and Starting the Server; Introduction; Installing single node MongoDB; Starting a single node instance using command-line options; Single node installation of MongoDB with options from the config file; Connecting to a single node in the Mongo shell with JavaScript; Connecting to a single node using a Java client; Connecting to a single node using a Python client; Starting multiple instances as part of a replica set
Connecting to the replica set in the shell to query and insert dataConnecting to the replica set to query and insert data from a Java client; Connecting to the replica set to query and insert data using a Python client; Starting a simple sharded environment of two shards; Connecting to a shard in the shell and performing operations; Chapter 2: Command-line Operations and Indexes; Introduction; Creating test data; Performing simple querying, projections, and pagination from Mongo shell; Updating and deleting data from the shell; Creating index and viewing plans of queries Creating a background and foreground index in the shellCreating and understanding sparse indexes; Expiring documents after a fixed interval using the TTL index; Expiring documents at a given time using the TTL index; Chapter 3: Programming Language Drivers; Introduction; Executing query and insert operations with PyMongo; Executing update and delete operations using PyMongo; Implementing aggregation in Mongo using PyMongo; Executing MapReduce in Mongo using PyMongo; Executing query and insert operations using a Java client; Executing update and delete operations using a Java client Implementing aggregation in Mongo using a Java clientExecuting MapReduce in Mongo using a Java client; Chapter 4: Administration; Introduction; Renaming a collection; Viewing collection stats; Viewing database stats; Manually padding a document; The mongostat and mongotop utilities; Getting current executing operations and killing them; Using profiler to profile operations; Setting up users in Mongo; Interprocess security in Mongo; Modifying collection behavior using the collMod command; Setting up MongoDB as a windows service; Replica set configurations Stepping down as primary from the replica setExploring the local database of a replica set; Understanding and analyzing oplogs; Building tagged replica sets; Configuring the default shard for non-sharded collections; Manual split and migration of chunks; Domain-driven sharding using tags; Exploring the config database in a sharded setup; Chapter 5: Advanced Operations; Introduction; Atomic find and modify operations; Implementing atomic counters in Mongo; Implementing server-side scripts; Creating and tailing a capped collection cursors in MongoDB Converting a normal collection to a capped collection |
Record Nr. | UNINA-9910826757403321 |
Dasadia Cyrus | ||
Birmingham : , : Packt Publishing, , 2016 | ||
Materiale a stampa | ||
Lo trovi qui: Univ. Federico II | ||
|