On February 21, we launched the first ever MongoDB Bug Hunt. We have been impressed with the community’s enthusiasm during the first week and have decided to extend the hunt until March 8. This will allow more members of the community to get involved and help improve MongoDB for users worldwide.
As a reminder, you can download the latest release at www.MongoDB.org/downloads. If you find a bug, submit the issue to Jira (Core Server project) by March 8 at 12:00AM GMT. Bug reports will be judged on three criteria: user impact, severity and prevalence.
We will review all bugs submitted against 2.6.0-rc0. Winners will be announced on the MongoDB blog and user forum by March 13. There will be one first place winner, one second place winner and at least two honorable mentions.
For more info on the Bug Hunt see our announcement on the MongoDB Blog.
Thanks to everyone who has downloaded and tested the server so far. Keep on hunting!
Dear CIO: Here's What Your Budget Isn't Telling You
The CIO is asked to do a lot: keep the network humming; secure the business from the Syrian Electronic Army; wrangle with gnarly vendors. But one demand stands above them all: cut costs. Most CIOs look in the obvious places -- replacing mainframes with commodity hardware; finding workloads they can migrate to the cloud; virtualizing and consolidating. Many CIOs evaluate where they can replace commercial software with open-source alternatives. We applaud them. While these efforts help trim the IT spend fat, they have little if any impact on one of the largest line items of all: staff. Said differently, CIOs should continue to pursue these initiatives, but might consider prioritizing efforts that make their staff more productive, since those efforts should move the needle more. This wasn’t always the case. In 1985, a gigabyte of storage cost $100,000. Today, it costs $0.05. In other words, it used to make sense to spend a lot of time optimizing for your hardware. By contrast, developer salaries averaged $28,000 per year in 1985. Today, developers are the new kingmakers, and they’re paid accordingly -- to the tune of $90,000 per year. Read: today it makes sense to optimize for developer productivity. Consider how this affects project costs. Take a sample project in 1985. Let’s assume in 1985 we need 5 GB of storage and we have 2 full-time developers devoted to the project. In 2013, we assume a generous 5 TB of storage and the same 2 FTEs working on the project. We take a 3-year view of cost. This is what the balance of cost looks like between storage hardware and developer salaries in 1985 and 2013. In 1985, it made sense to optimize for storage costs. Today, the cost of storage is a throwaway compared to the cost of development. In fact, the inventors of the relational database performed this calculation, too. Given the high cost of storage in their time, they made a tradeoff. They optimized the database for storage. Developer productivity, ease of use, agility -- these were deprioritized, and rightly so. Today, developers are at a premium. They comprise the lion’s share of cost relative to storage. When we built MongoDB, we optimized for developer productivity. And we’re not the only ones out to improve developer productivity. There are code collaboration tools, like GitHub. Platforms-as-a-Service, like OpenShift and Cloud Foundry. And better approaches to building apps, like agile methodologies. What your budget isn’t telling you is that old technologies are driving up your cost of development. When you budget for 2014, what are you optimizing for?
MongoDB Query API Webinar: FAQ
Last week we held a live webinar on the MongoDB Query API and our lineup of idiomatic programming language drivers. There were many great questions during the session, and in this post, what I want to do is share the most frequently asked ones with you. But first - here is a quick summary of what MongoDB Query API is all about if you are unfamiliar with it. What is MongoDB Query API? MongoDB is built upon the document data model . The document model is designed to be intuitive, flexible, universal, and powerful. You can easily work with a variety of data, and because documents map directly to the objects in your code, it fits naturally in your app development experience. MongoDB Query API lets you work with data as code and build any class of application faster by giving you extensive query capabilities natively in any modern programming language. Whether you’re working with transactional data, looking for search capabilities, or trying to run sophisticated real-time analytics, MongoDB Query API can meet your needs. MongoDB Query API has some unique features like its expressive query, primary and secondary indexes, powerful aggregations and transformations, on-demand materialized views, and more — enabling you to work with data of any structure, at any scale. Some key features to highlight: Indexes To optimize any workload and query pattern you can take advantage of a large set of index types like multi-key (for arrays), wildcard, geospatial, and more and index any field no matter how deeply nested it is within your documents. Fully featured secondary indexes are document-optimized and include partial, unique, case insensitive, and sparse. Aggregation Pipeline Aggregation pipeline lets you group, transform, and analyze your data to support any class of workload. You can choose from dozens of aggregation stages and over 200 operators to build modular and expressive pipelines. You can also use low-code tools like MongoDB Compass to drag and drop stages, examine intermediate output, and export to your programming language of choice. On-Demand Materialized Views The powerful $merge aggregation stage allows you to combine the results of your aggregation pipeline with existing collections to update and enrich data without having to recompute your entire data set. You can output results to sharded and unsharded collections while simultaneously defining indexes on each view Geospatial and Graph Utilize MongoDB’s built-in natively ability to store and run queries against geospatial data Use operators like $graphLookup to quickly traverse connected data sets These are just a few of the features we highlighted in the MongoDB Query API webinar. No matter what type of application you are thinking of building or managing, MongoDB Query API can meet your needs as the needs of your users and application change. FAQs for MongoDB Query API Here are the most common questions asked during the webinar: Do we have access to the data sets presented in this webinar? Yes, you can easily create a cluster and load the sample data sets into Atlas. Instructions on how to get started are here . How can I access full-text search capabilities? Text search is a standard feature of MongoDB Atlas. You can go to cloud.mongodb.com to try it out using sample data sets. Does VS code plugin support Aggregation? Yes, it does. You can learn more about the VS code plugin on our docs page. If you need to pass variable values in the aggregation, say the price range from the app as an input, how would you do that? This is no different than sending a query - since you construct your aggregation in your application you just fill in the field you want with value/variable in your code. Is there any best practice document on MongoDB query API to have stable performance and utilize minimum resources? Yes, we have tips and tricks on optimizing performance by utilizing indexes, filters, and tools here . Does MongoDB support the use of multiple different indexes to meet the needs of a single query? Yes, this can be accomplished by the use of compound indexes. You can learn more about it in our docs here . If you work with big data and create a collection, is it smarter to create indexes first or after the collection is filled (regarding the time to create a collection)? It is better to create the indexes first as they will take less time to create if the collection is empty, but you still have an option to create the index once the data is there in the collection. There are multiple great benefits of MongoDB’s indexing capabilities: When building indexes, there is no impact on your app’s availability since the index operation is online. Flexibility to add and remove indexes at any time. Ability to hide indexes to evaluate the impact of removing them before officially dropping them. Where do I go to learn more? Here are some resources to help you get started: MongoDB Query API page MongoDB University MongoDB Docs You can also check out the webinar replay here .