MongoDB deserves a place of pride as one of the foremost cross platform database solution available today. As of Jan 2015, it has overtaken PostgreSQL at the number 4 slot of most popular DBMS. It is well-received amongst developers who are looking for a robust alternative non-relational system that is also future ready. It is for these developers’ benefit that we have brought together a list of exciting new changes in Version 3.0 of MongoDB released in Feb 2015.
What’s new in MongoDB 3.0?
MongoDB’s official documentation mentions a slew of updates that have been added to the DBMS functionality and UI. This blog takes you through a few of the important ones as below:
1. Extensions to infuse MongoDB’s prowess into your Existing Systems
- Storage Engine API – MongoDB’s capabilities can be extended to be used with specific hardware architectures with the help of the new storage API, even with multiple storage engines. With its automatic data migration between primary and secondary data sets, you need not invest in costly ETL tools to handle the migration.
- WiredTiger – Using multiple programming techniques such as fast latching and lock free algorithms, the new WiredTiger storage engine provides multiple benefits. It lowers storage costs, results in better utilization of hardware, and substantially reduces query latency. The upgrade to this engine is seamless, thanks to the rolling upgrade to the MongoDB replica set, thus resulting in zero downtime.
2. Better Performance
- Better Concurrency Control – The granular level document concurrency control results in 7x to 10x greater throughput for almost all the write applications. This shows a significant performance improvement when compared to MongoDB 2.6.
- Storage Expense Decline – With use of compression tools and libraries such as Snappy, zlib, and index prefix compression, this version results can gain up to 80% reduction in storage costs.
- Large Replica Sets – With low latency experienced by customers across distributed systems, the span of replica sets has increased. It can now support up to 50 members per set, with a wider data distribution across more sites.
3. Operations made simpler with Ops Manager
- Deployment – Available with MongoDB Advanced Enterprise, the Ops Manager helps simplify critical DB operations. Deployment tasks such as configuring a new cluster, point in time recovery and upgrades become much more efficient.
- Monitoring – The Op Manager tracks 100+ performance metrics including systems health, operations counter, historic performance, memory and CPU utilization, open connections, queries, and replication metrics, to name a few. Admins can also use custom alerts when prescribed values go out of range for these metrics.
- Backup and Recovery – The Ops Manager maintains a continuous backup, so in the event of a catastrophic failure, data loss is minimized to just a few minutes. Thus, operations need not suffer setbacks from backup and recovery and continue to comply with regulatory and mandatory requirements.
4. Auditing Compliance Now Stronger – MongoDB’s auditing facility has authentication, authorization and encryption and can be used in numerous projects that need compliance to international standards such as PCI DSS, HIPAA, NIST, and STIG. In addition to the auditing framework present in version 2.6 onwards, the new version also helps logging of read write operations (DML, DCL, DDL) to the database. It now also supports role based auditing to log and report activities by roles such as dbAdmin or userAdmin.
5. Better Tools to Maximize Productivity
- Multi-Threaded MongoDB Tools – The critical MongoDB tools (mongoimport, mongoexport, mongodump, mongorestore, mongostat, mongotop, and mongooplog) have been re-programmed as multi-threaded processes in Go, to allow lesser binaries, and enhanced performance.
- Improved Query Engine Introspection – The explain() method is now better equipped to let DBAs review which plan to use to execute a query before running it. It also exports detailed stats at a granular level on all query plans being factored in by the optimizer.
- Better Multi-Hemisphere Querying – The geospatial capabilities of the DB solution are enhanced with introduction of the $intersects and $within operators. It allows execution of queries over geographic areas covering multiple hemispheres on the earth’s surface.
- Time Series Analytics made Simpler – With help of the new $dateToString operator to the aggregation pipeline, customized and interactive reporting is made simpler. It allows document grouping and analysis using arbitrary date and time values as inputs.
Interested to infuse the MongoDB power within your company? We will be happy to let you know how this next generation DBMS will add tremendous value to your bottom lines by maximizing efficiencies and bringing down costs. Talk to us today to know more about our MongoDB Development Services.