MongoDB
Showing 41 - 50 of 98 results
Projection is used to select only the necessary data. It does not select the whole data of a document.
- Interview
- November 30, 2023
The remove() method is used to remove a document from a collection.
- Interview
- November 30, 2023
The pretty() method is used to show the results in a formatted way.
- Interview
- November 30, 2023
The db.dropDatabse() command is used to drop a database.
- Interview
- November 30, 2023
To create a database, we can use the Database_Name command.
- Interview
- November 30, 2023
The sharded cluster has the following components:
- Interview
- November 30, 2023
Horizontal scaling divides the dataset and distributes data over multiple servers, or shards.
- Interview
- November 30, 2023
Vertical scaling adds more CPU and storage resources to increase capacity.
- Interview
- November 30, 2023
The oplog records all operations that modify the data in the replica set.
- Interview
- November 30, 2023
The createIndex() method is used to create an index.
- Interview
- November 30, 2023