Вы находитесь на странице: 1из 34

3.

4 Overview
Engineer Lead

MongoDB University
Hi, I’m Certification
Norberto
In-person training

Sometimes I do talks, like this one


3.4 Themes

Mission-critical apps. Stronger security, broader platform support, and Zones


make MongoDB ready for the most demanding mission-critical deployments.

Multimodel done right. Other vendors sell you multiple products. MongoDB
gives you multiple models in one database: document, graph, key value, and
search with faceted navigation.

Modernized tooling. A sophisticated range of tools and integrations provide


powerful capabilities for Data Analysts, DBAs, and Operations teams.

3
Designed for mission-critical apps

Zones Tunable Consistency Advanced Security Elastic Clusters


● Geo. distribution ● Linearizable ● Native LDAP ● Scale up and
reads authorization down without
● Tiered Storage
● Maximum lag ● Read-only views disruption
● Application
setting for for field-level ● Faster auto-
Affinity
secondary reads security balance and
initial sync

4
Multimodel done right

MongoDB Query Language (MQL) + Native Drivers ● Graph processing


○ Recursive joins
MongoDB Data Models
● Enhanced analytics
Document Relational Graph Key/Value ○ Faceted navigation
○ Spark connector
MongoDB Storage Engines ○ SQL interface for BI
○ 20+ other new expressions,
In- Column-
WiredTiger Encrypted
memory oriented*
LSM* including pipeline branching
● Expanded data management
* Future storage engines (not in 3.4) ○ Decimal support
○ Collations for 100+ languages

5
Modernized tooling

● MongoDB Compass
○ Visualize query plans
○ Build validation rules
○ Modify documents
○ View server and index stats
● MongoDB as a Service
○ Server Pools
○ Cloud Foundry integration
● Monitoring
○ Finer time granularity
○ Hardware stats

6
Graph Processing

• Enables processing of graph & hierarchical data natively


within MongoDB with $graphLookup operator
• Uncover indirect or transitive relationships in operational data
• Recommendation engines, MDM, fraud models, social
networks, etc.
Faceted Navigation

• Grouping data into related categories for intuitive exploration


& discovery
• Used in search and analytics applications
• New aggregation pipeline stages for faceting, bucketing &
sorted counts across multiple dimensions
• Eliminates requirement for external search engine
Collations

• Extend global reach of apps with collations, which allow


proper text comparisons and sorting by applying language-
specific rules
• MongoDB 3.4 adds support for 100+ different languages &
locales throughout the query language and indexes
• Over 2x as many as offered by most RDBMS
Decimal Data Type

• Support for the IEEE 754-2008 decimal128 type in server and


drivers
• Enables correct storage, comparing and sorting of

Decimal128
decimal values
• Database stores exact values to eliminate rounding errors for
high-precision calculations, complex financial & scientific
apps
Advanced Analytics

New Stages Array String & Date


Operators Operators
• Powerful data processing pipeline for analytics &
$graphLookup $in $indexOfBytes
transformations
$facet $indexOfArray $indexOfCP
$bucket $range $split • 25+ enhancements simplify app code
$bucketAuto $reverseArray $strLenBytes
• Performance improvements with query optimizer moving
$sortbyCount $reduce $strLenCP
$addFields $zip $substrBytes $match stage earlier to use indexes
$replaceRoot $substrCP
$isoDayOfWeek
$isoWeek
$isoWeekYear
MongoDB Connector for BI

• Create powerful visualizations & analytics from SQL-based BI


tooling
• Auto-schema sampling
• Eliminates ETL
• Higher performance with re-written SQL layer
• More processing pushed down to the database
• Simplified installation and authentication
MongoDB Atlas: Hosted database service

● Automated: The easiest way to build, launch, and scale apps on


MongoDB

● Secured: VPC peering, SSL/TLS, encrypted storage volumes,


IP whitelists, authentication/authorization via SCRAM-SHA1, and
more

● Highly available: Deployments distributed across 3 AWS


availability zones

● High performance: WiredTiger storage engine for demanding


workloads

Try MongoDB Atlas for free with $25 Promo Code: GOATLAS25
13
Improved Tunable Consistency

• maxStalenessMS
• Choose how and when to route queries to secondary replicas
• Only read from replicas that are within a defined consistency
window
• Improved data quality while scaling reads across secondaries
• readConcern “linearizable” for the strongest consistency
guarantees of any database
• Ensure that a node is the primary at the time of read
• Ensure that data returned will not be rolled back if another
node is subsequently elected as primary
Zones

• Partition data across distributed clusters based on data


locality policies
• Support distributed local writes
• Easily adhere to data sovereignty requirements
• Enable deployment patterns such as tiered storage
• Can be configured visually from MongoDB Ops Manager
LDAP Authorization

• LDAP authentication & authorization reduces administrative


overhead & TCO
• User privileges can be managed centrally in LDAP and
mapped to MongoDB roles without requiring duplication
• Native platform libraries to integrate with LDAP; no need
for external dependencies and configurations; adds
LDAP support for Windows
Read-Only Views

• MongoDB 3.4 allows administrators to define dynamically


generated views that expose a subset of data from the
underlying collection
• Reduces risk of sensitive data exposure
• Views do not affect source collections
• Separately specified permissions levels
• Allows organizations to more easily meet compliance
standards in regulated industries
Expanded Platform Support

• MongoDB 3.4 supports the growing demand to run the


database on a more diverse range of platforms
• ARM v8-64 bit support allows customers to take
advantage of power-efficient servers being deployed into
ultra dense data center racks
• IBM Power8 and zSeries support provides seamless
migration for enterprises modernizing legacy workloads.
Available for MongoDB Enterprise Server.
APM Integration

• Monitor MongoDB alongside the rest of your app


infrastructure by using our RESTful API
• Leverage packaged integrations with leading APM
platforms such as New Relic
Visual Query Profiler

• Identify the slow-running queries across your


cluster with just the click of a button
Index Suggestions

• Index suggestions to improve your query


performance
Automated Index Builds

• Automate rolling index builds to reduce operational


overhead and the risk of failovers
Server Pools

• Allocate and create pre-provisioned server pools


• Ops Manager agent installed to pool via
configuration management tools
• Server pools exposed to internal teams, ready for
provisioning into local groups
• Allow administrators to create true, on demand
database resources for private cloud environments
High Resolution Monitoring

• Finer grained telemetry data: collected every 10


seconds vs every 60 seconds
• Configurable retention policies
• Simplified & extended management
• Single agent to collect both database and
hardware telemetry
• Hardware metrics now collected for Windows &
OSX hosts
MongoDB Compass
The GUI for MongoDB

Visualize & Insert, Modify, & Debug &


Explore Delete Optimize

• Visualize & explore • Insert new • Understand and


your schema with an documents or clone resolve performance
intuitive GUI existing documents issues with visual
explain plans
• Gain quick insights • Modify documents in
about your data with place using the • Check index
easy-to-read powerful visual utilization
histograms editor

• Build queries with a • Delete documents in


few clicks just a few clicks

• Drill down to view


individual documents
in your collection

Visual explain plans and full CRUD functionality are currently in beta.
MongoDB Compass
Visualize and explore

• Visually explore the structure of your data to


understand the schema and identify anomalies

• Gain insights with histograms that display the


distribution of values across your fields

• Perform ad hoc complex queries with just a few clicks


MongoDB Compass
Visualize and explore: Interactive maps for geospatial data

MongoDB Compass is the best way to visualize, understand, and work


with your geospatial data.

• Compass detects your geospatial data and populates it on an


interactive map

• Automatically generate geospatial queries by drawing on the


interactive map with your mouse

• Use Compass to significantly reduce the effort required when working


with geospatial data

Interactive maps for geospatial data are currently in beta.


MongoDB Compass
Insert, modify & delete: Full CRUD functionality

Modify your data using MongoDB Compass.

• Insert new documents or clone existing documents

• Modify existing documents with greater confidence using


the powerful visual editor

• Delete documents in just a few clicks

Full CRUD functionality is currently in beta.


MongoDB Compass
Debug and optimize: Visual explain plans

Understand how queries are running through a GUI that


allows you to easily identify and resolve performance issues.

• View key information about the execution plan of a query

• Visualize different explain stages in an easy-to-understand


tree format

Visual explain plans are currently in beta.


MongoDB Compass
Debug and optimize: Index details

MongoDB Compass allows you to view index details for a given


collection:

• Type of index: regular, text, geospatial, or hashed

• Size of index: how much space the index uses

• Index utilization: how many times the index has been used

• Special properties: unique index, compound index, etc.


MongoDB Compass
Newest features

• Schema and query optimization


• MongoDB Compass enhancements
• Modify documents
• Create document validation rules
• Optimize query performance with visual explain plans,
index usage, and real-time statistics
• All controlled from a single intuitive and sophisticated GUI
https://university.mongodb.com/courses/M034/about
M034: New Features and Tools in MongoDB 3.4
Links and • MongoDB Compass
References • https://www.mongodb.com/produ
Norberto Leite cts/compass
norberto@mongodb.com
@nleite
• MongoDB Atlas
https://www.linkedin.com/in/norbertoleite/ • https://www.mongodb.com/cloud/
atlas
• MongoDB 3.4
• https://www.mongodb.com/mong
odb-3.4

Вам также может понравиться