Showing posts with label week 1. Show all posts
Showing posts with label week 1. Show all posts

Sunday, March 29, 2015

M102: MONGODB FOR DBAS - Homework 1.4

Step 1:
Check all the query in mongodb shell

Step 2:
you will observe that it is giving sorted result for


Saturday, March 28, 2015

M102: MongoDB for DBAs - Week 1 - Homework 1.2

Step 1:

Download the products.json

Step 2:

Import products.json using below command
mongoimport -d pcat -c products --type json --file C:\products.json





Step 3:

execute below steps
> use pcat
> db.products.find({type:"case"}).count()

Answer you will get is 3


M102: MongoDB for DBAs homework 1.1

Step 1:
Execute Mongo  Command   db.isMaster().maxBsonObjectSize in shell
you will get output as


Answer is 16777216