In this problem you will analyze a profile log taken from a different mongoDB instance and you will import it into a collection named sysprofile. The blog home page The page that displays blog posts by tag http: Newer Post Older Post Home. Your assignment is to figure out the “State” that recorded the lowest “Temperature” when the wind was coming from the west “Wind Direction” between and By fast, we mean that indexes should be in place to satisfy these queries such that we only need to scan the number of documents we are going to return.

Write that text in the text box below. Use the weather dataset that you imported in HW 2. Please enter the name of the state that meets this requirement. Isolate those queries and use explain to explore. Now query the profile data, looking for all queries to the students collection in the database school2, sorted in order of decreasing latency. When it says “Correct amount of data documents.

The blog has been enhanced so that it can also display the top 10 most recent posts by tag. Anonymous September 23, at 7: There is also a ‘views’ directory which contains the templates for the project and a ‘routes’ directory which contains our express routes. If everything is working properly, you should be able to start the blog by typing: This is a comma separated value file that you can import into MongoDB as follows:.

This assignment requires Mongo 3.

[Solution] Week 4 :Performance : MP: MongoDB for Developers

If you select all the weather documents, you can sort first by state, then by temperature. There are hyperlinks from the post tags to the page that displays the 10 most recent blog entries for that tag. This is a comma separated value file that you can import into MongoDB as follows: Posted by Unknown at The database calls that you are going to add will add a new user upon sign-up and validate a login by retrieving the right user document. After you run the blog, you should see the message:.

  DHARAVI CASE STUDY BBC BITESIZE

There are hyperlinks from the post tags to the page that displays the 10 most recent blog entries for that tag. You should not need to touch any other code.

m101 homework 4.1

Please provide the value corresponding to the “answer” key without the surrounding quotes from the document returned. Note that this requires Node.

File Not Found

In this problem you will analyze a profile log taken from a mongoDB instance. Check all that apply. In this homwwork, you will be using an old weather dataset.

Workspace infoupdated a year ago mongodb-courses-mjs. Change directory into hw1 Use mongorestore to restore the dump into your running mongod.

Steve Breese – Web Application Developer

Your assignment is to figure out the “State” that recorded the lowest “Temperature” when the wind was coming from the west “Wind Direction” between and We have provided the full code for the blog application and you don’t need to make any changes, or even run the blog.

  PREENCHER CURRICULUM VITAE EUROPASS ONLINE

Intrested click here – Mongo Database Services. If you have all the dependencies installed correctly, this will print the message ‘Express server started on port ‘. To figure out what queries you need to optimize, you can read the blog.

You can verify that you’ve imported the data correctly by running the following commands in the mongo shell:. Making the Blog fast Please download hw Note that this is only an example and not the actual document that you would be updating. They can also choose to to point mongoProc to any 2.

m101 homework 4.1

There are entries with lots of comments and tags. If you have the mongodb driver installed correctly, this will print out the message ‘Answer: In this problem you will analyze a profile log taken from a different mongoDB instance and you will import it into a collection named sysprofile. Here are some URLs that must work when you are done. Do this by opening a terminal window mac ho,ework cmd window windows and navigating to the directory so that the dump directory is directly beneath homeork.

Now query the profile data, looking for all queries to the students collection in the database school2, sorted in order of decreasing latency. To start, please download sysprofile.