Blog Post

IF RDBMS = SQL Server, NoSQL = ???

,

SQL Server is, arguably, the leading relational database management system out there. With continuous development and enhancement of exciting features it’s advancing faster than one could imagine. The release of SQL Server 2016 SP1 and, very recently, SQL Server 2017 says it all, really. Whilst the latest changes and new features include progression in performance tuning and real time operational analytics, the major focus lies in making development easier.

One particular database system seems to be advancing at a similar pace within the NoSQL market. At it’s heart also lies a clear aim to make development easier using rich, yet uncomplicated, query language.

MongoDB…

Only the second year of MongoDB Europe, yet the atmosphere is buzzing and charged up with MongoDB enthusiasts from around Europe flocking in to know and learn more. MongoDB are showing just why they are leading the NoSQL popularity contest with an ever-increasing number of users and followers coming to hear about the latest advancements. One of those, the MongoDB 3.6 release brings a number of features that will help developers, DBAs and minimise complexities for the network and infrastructure engineers. Here’s my key takeaways on the event and latest release.

 

Retryable writes for AlwaysOn write availability

What happens when your program tries to send an insert/update/delete to the server and gets hit by a brief network glitch or re-election? What happens to that write in flight? It’s not always possible to know whether the server received the write before the network error. The new feature takes away the complexity of implementing custom client-side code to handle temporary system failures from the application to the database.<quote>”the MongoDB driver can automatically retry writes in the event of failure, while the MongoDB server enforces exactly-once processing semantics.”

 

Change streams to build reactive, real-time applications

Change streams enable developers to build reactive, real-time, web, mobile, and IoT apps that can view, filter, and act on data changes as they occur in the database. This allows for seamless data movement across distributed databases, making it simple to stream data changes and trigger actions wherever they are needed.

 

Fully expressive array updates for complex manipulations in a single operation

A new feature to allow more flexibility in data modelling. This helps to perform complex array manipulations against matching elements of an array even if the elements are embedded in nested arrays. All this can now be done in a single atomic update operation.

 

Enhancements to query language and aggregation pipeline

There’s now some new aggregation operators and aggregation expressions that enables writing richer, expressive (yet uncomplicated) queries, such as referencing of other fields in the same document when executing comparison queries, and powerful expressions such as multiple JOIN conditions. Improvements also include support for timezone-aware aggregations, conversion of objects to arrays and arrays to objects, and many more.

 

Tunable Consistency

MongoDB 3.4 added linearizable reads. Now, MongoDB 3.6 introduces “Causal Consistency” for consistent reads. Reading from a secondary node has been unpredictable until now as there would be no guarantee that the secondary node has replicated the write from the primary. Therefore, applications were “forced” to read from the primary if they required consistent results. The addition of causal consistency in MongoDB 3.6 changes that totally.

 

End-to-End Compression

If the network has been the bottleneck for some of your applications running on bandwidth constrained machines, the wire protocol compression of network traffic between the client and the database will not only save the bandwidth but also provide major performance gains and reduce costs.

 

Schema validation

MongoDB 3.6 comes with JSON Schema, extends the capabilities of document validation, which was initially introduced in MongoDB 3.2.

 

There’s also tons more goodies:

  • Along with some security enhancements, MongoDB 3.6 will have “localhost” connection by default turned off, to prevent accidentally exposing data to the internet.
  • BI Connector 2.0 is also coming soon.
  • Brand new addition of MongoDB Charts, which is also on its way, will make data more meaningful with visualisation capabilities.
  • MongoDB Atlas, the fully managed DBaaS, has been recently enhanced with Performance Advisor, Cross Region capabilities and more tiers. The roadmap of new features, including Full CRUD Support, Auditing, LDAP/KMIP integration and Cross Cloud and Zone sharding capabilities makes this an exciting area to watch out for!
  • Along with that comes enhancements to Ops/Cloud Manager.

The post IF RDBMS = SQL Server, NoSQL = ??? appeared first on SQLYSE.

Rate

You rated this post out of 5. Change rating

Share

Share

Rate

You rated this post out of 5. Change rating