Presented by Rob Walters, Solutions Architect, MongoDB, at MongoDB Evenings New England 2017.
MongoDB 3.6 is the latest version of the world's most popular document database. In this session we will cover the key themes of the release including speed to develop, speed to production and speed to insight. Learn about the key features that support these themes and how you can start leveraging them today!
3. Who am I?
•Senior Solutions Architect joined MongoDB July 2016
•Previously @ Microsoft 17+years
•Program Manager SQL Server product team (2000, 2005, 2008)
•Application Developer Consultant (.NET)
•Pre-sales technology specialist SQL Server
US 7,912,820 Automatic Task Generator Method and System, 2011
US 7,496,761 Method and System for Batch Task Creation and Execution, 2009
4.
5. Speed to Develop
Change streams
Update application and
downstream systems to
react on changes to your
data in real-time, without
needing to poll the
database
Retryable writes
MongoDB drivers will
automatically retry writes in
the event of failure, with
the server enforcing
exactly-once semantics
Flexible data modeling &
improved performance
MongoDB 3.6 allows you to
perform fine-grained array
manipulations against
selected elements of an
array in a single atomic
operation.
[ ]
Causal consistency
With causal consistency,
MongoDB enforces strict,
sequential ordering of
operations in a client
session, enabling
monotonic read guarantees
usually unavailable from
distributed systems
6. Speed to Production
New to MongoDB Ops Manager
Single pane of glass:
Data Explorer, Real Time
Performance Panel, Query Advisor
Backups are now also faster, more
flexible (S3 ad Object Store), and
queryable
Schema governance with
JSON schema
MongoDB 3.6 adds the richest
governance controls to JSON data
available in any database.
Control entire document schema
Spend less time defining data
quality controls in your application
Extended security controls
MongoDB 3.6 continues to build
upon the most extensive security
capabilities of any modern
database with two new
enhancements:
● Bind to localhost by default
● IP whitelisting
7. Speed to Insight
MongoDB Connector for BI –
faster and simpler
The connector incorporates the 3.6
enhancements to the aggregation
pipeline to deliver higher performance,
with more operations pushed natively
to the database. Users can configure,
deploy, and monitor the BI connector
directly from Ops Manager.
New
recommended R driver for
MongoDB
The R driver for MongoDB
provides developers and
statisticians a first class
experience with idiomatic, native
language access to MongoDB,
enterprise authentication and
full support for BSON types.
Richer aggregations for deeper,
faster analytics & insight
More powerful $lookup operator
extends MongoDB’s JOIN capability to
support the equivalent of SQL
subqueries and non-equijoins. Richer
transformations eliminate client side
code in creating sophisticated, native
analytics.
8. Getting Started with MongoDB 3.6
Download MongoDB 3.6:
https://www.mongodb.com/download-center
Free webinars:
https://explore.mongodb.com/
Notas do Editor
Take a look at what happens in a minute
Demands of the developers have changed because of speed and variety of data
… business want to reach to data quicker, can’t wait for ETL operations or developers to negotiate with DBAs on relational schemas in order to move data into existing applications..
Moving at the speed of your data is what MongoDB 3.6 is all about
3.6 accelerates how quickly customers can bring new apps and services to market by making developers more productive
Change Streams – Create real time applications that respond to events as they happen (reactive programming, event driven systems)
Retryable writes - In the event of write failures, developers want to retry their writes without having to maintain custom client-side code to detect and handle every type of failure.
Flexible Data Modeling – Selectively update elements in array as opposed to pulling the whole document, updating and returning
Causal Consistency - Developers want a guarantee that subsequent reads will always see previous writes within user sessions. Strongly consistent no matter which node they read from! A.k.a. monotonic reads across distributed systems!
OpsManager – faster – improved initial sync, less storage space requirements 3x/2x, backup to S3/Object Stores
Pulled key Atlas features inside OpsManager – data explorer, performance advisor, real-time monitor
3.4 had document validation, nothing prevented users from adding fields outside the restrictions. JSON Schema conform to IETF JSON Schema specification and enforce insert/update for the entire document. The schema is queryable by that you can apply a schema to an existing collection and see which documents do not conform.
Extended sec controls – ask audience if they know about MongoDB and Randsomware?
IP Whitelist for 3.6 on-prem is user authenticated vs network based (Atlas). User auth can define client IP address range and/or server listen IP range
Operational session management – admins can view user sessions and kill long running operations running across nodes in one command
Speed to insight is about quickly gaining insights from data warehouse/lakes. Features make process faster/easier
Aggregation Framework constantly evolving, introduced more operators this version.
Non-equjoins – equivalent of SQL subqueries
Continuing to reduce the amount of client side code that you need to write to get your query results.
BIC – leverage new $lookup to push more queries in engine
Can be managed with opsmanager
Charts
R Driver – full support for BSON types like Decimal128!