I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0...

69
ىԭMongoDB 4.0

Transcript of I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0...

Page 1: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB 4.0

Page 2: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

• MongoDB 4.0

• : Serverless & Mobile

Page 3: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

10

Page 4: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

88%CIO

Source: Harvey Nash / KPMG CIO Survey 2017

Page 5: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

? DATA. | |

Page 6: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server
Page 7: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server
Page 8: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB

3.0 3.2

Document Validation $lookup Fast Failover Simpler Scalability Aggregation ++ Encryption At Rest In-Memory Storage Engine BI Connector MongoDB Compass APM Integration Profiler Visualization Auto Index BuildsBackups to File System

Doc-Level Concurrency Compression Storage Engine API ≤50 replicas Auditing ++ Ops Manager

Linearizable reads Intra-cluster compression Views Log Redaction Graph Processing Decimal Collations Faceted Navigation Zones ++Aggregation ++ Auto-balancing ++ ARM, Power, zSeries BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server Pool LDAP Authorization Encrypted Backups Cloud Foundry Integration

3.4 3.6

Change Streams Retryable Writes Expressive Array Updates Query Expressivity Causal Consistency Consistent Sharded Sec. Reads Compass Community Ops Manager ++ Query Advisor Schema Validation End to End Compression IP Whitelisting Default Bind to Localhost Sessions WiredTiger 1m+ Collections MongoDB BI Connector ++ Expressive $lookUp R Driver Atlas Cross Region Replication Atlas Auto Storage Scaling

4.0

Multi-Document ACID Transactions Atlas Global Clusters Atlas HIPAA Atlas LDAP Atlas Audit Atlas Encrypted Storage Engine Atlas AWS Backup Snapshots Atlas Full CRUD Agg Pipeline Type Conversions 40% Faster Shard Migrations Snapshot Reads Non-Blocking Secondary Reads SHA-2 TLS 1.1+ Compass Agg Pipeline Builder Compass Export to Code Charts Beta Free Monitoring Cloud Service Ops Manager K8s & OpenShift MongoDB Stitch GA MongoDB Mobile Beta

Page 9: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

4.0

● ACID

● Aggregation

● MongoDB Charts

Page 10: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

4.0

● 40%

● SHA-2

● ACID

● Aggregation

● MongoDB Charts

Page 11: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

4.0

● Atlas

● Atlas

● Kubernetes & OpenShift

● 40%

● SHA-2

● ACID

● Aggregation

● MongoDB Charts

Page 12: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

4.0

MongoDB Stitch | MongoDB Mobile

Page 13: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server
Page 14: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB:

eCommerce

Travel Graph & Recommendation System

Analytics

Internet of Things

Product Catalog

Artificial Intelligence

Digital Transformation

Drug Sequencing

Gaming

Single View

Mobile

Database as a Service

...

Page 15: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

( )

Page 16: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

Document Database

Page 17: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server
Page 18: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB

•••

ACID••

• MongoDB 4.0: • MongoDB 4.2:

Page 19: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

X

*Python. Syntax is subject to change

with client.start_session() as s:

s.start_transaction()

try:

collection.insert_one(doc1, session=s)

collection.insert_one(doc2, session=s)

s.commit_transaction()

except Exception:

s.abort_transaction()

5 :MongoDB 4.0MongoDB 4.0

ACID

• MongoDB 4.0,

• MongoDB 4.2: 19

Page 20: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

X

with client.start_session() as s:

s.start_transaction()

collection_one.insert_one(doc_one, session=s)

collection_two.insert_one(doc_two, session=s)

s.commit_transaction()

MongoDB

Page 21: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

*Python. Syntax is subject to change

s.start_transaction() orders.insert_one(order, session=s) stock.update_one(item, stockUpdate, session=s) s.commit_transaction()

db.start_transaction() cursor.execute(orderInsert, orderData) cursor.execute(stockUpdate, stockData) db.commit()

*

Page 22: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

• 80%

• 60

• oplog 16M

• exceptions

• CRUD

Page 23: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

ACID3 MongoDB

• API

Page 24: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

3.0MongoDB 3.0 MongoDB 3.2 MongoDB 3.4 MongoDB 3.6 MongoDB 4.0 MongoDB 4.2

New Storage engine (WiredTiger)

Enhanced replication protocol: stricter consistency

& durability

Shard membership awareness

Consistent secondary reads in sharded clusters

Replica Set Transactions Sharded Transactions

WiredTiger default storage engine Logical sessions

Make catalogtimestamp-aware More extensive WiredTiger repair

Config server manageability improvements Retryable writes Snapshot reads Transaction manager

Read concern “majority” Causal ConsistencyRecoverable rollback via WT checkpoints Global point-in-time reads

Cluster-wide logical clockRecover to a timestamp

Oplog applier prepare support for transactions

Storage API to changes to use timestamps

Sharded catalog improvements

Read concern majority feature always available

Collection catalog versioning

UUIDs in sharding

Fast in-place updates to large documents in WT

In Progress

Done

Transaction EPIC

Planned

Page 25: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

“No other database has both the power of NoSQL and cross collection ACID transaction support. This combination will make it easy for developers to write mission critical applications leveraging the power of MongoDB.” Dharmesh Panchmatia, Director of E-commerce

“MongoDB’s technology is enabling us to scale globally and we’re looking forward to partnering with the company along our journey to become the most compliant, reliable and trusted crypto-trading platform in the

world, The addition of multi-document ACID transactions has the potential to greatly speed our engineering workflow”

Niall O’Higgins, Engineering Manager, Coinbase

“We're excited to see MongoDB offer dedicated support for ACID transactions and that our collaboration is manifest in the Lovelace release of Spring Data MongoDB. It ships with the well known Spring annotation-driven, synchronous transaction support using the MongoTransactionManager but also bits for reactive transactions built on top of MongoDB's ReactiveStreams driver and Project Reactor datatypes exposed via the ReactiveMongoTemplate”

Pieter Humphrey - Spring Product Lead, Pivotal

Page 26: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB

Transactions Page ● Chalk and talks ● Code snippets & documentation ● Blogs

Page 27: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

• Schema validation

• ETL

• $convert •

Page 28: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

X

{ $convert:

{ input: <expression>,

to: <type expression>, onError: <expression>, // Optional.

onNull: <expression> // Optional. }

}

Page 29: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB Compass● MongoDB Compass :

● Compass MongoDB

● Compass :

Page 30: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

X

Introduced in MongoDB Compass 1.14

Page 31: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

● C#/.NET, Java, JavaScript,

Python, and mongo shell

X

(Beta )

Introduced in MongoDB Compass 1.15

Page 32: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB Charts (Beta)

• MongoDB

• MongoDB

MongoDB

Page 33: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB Charts:

Work with complex data Connect to data sources securely. Filter. Sample. Visualize.

Share dashboards and collaborate

Page 34: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server
Page 35: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

: 40%

• 4.0 40%

Page 36: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

• 4.0 , Oplog

• Oplog

4.0 snapshot

Page 37: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

• MongoDB

• 4.0 (SHA2) TLS (1.1+) .

Page 38: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server
Page 39: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

Atlas

Self-service and elastic

Global and highly available

Secure by default

Comprehensive monitoring Managed backup Cloud agnostic

Page 40: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

Atlas

Atlas

Page 41: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB Atlas

Free

M0 512 MB storage

Shared RAM

Basic

M2 to M400 Elastic Storage

Elastic RAM

Pro

Covers M30 to M400 Elastic Storage

Elastic RAM

2 hr Support SLA

MongoDB Compass

Enterprise

Covers M30 to M400 Elastic Storage

Elastic RAM

1 hr Support SLA

MongoDB Compass BI Connector for Atlas

LDAP Integration Database Auditing

Encrypted Storage Engine* On-Demand MongoDB U

Platinum

Covers M30 to M400 Elastic Storage

Elastic RAM

30 min Support SLA

MongoDB Compass BI Connector for Atlas

LDAP Integration Database Auditing

Encrypted Storage Engine* On-Demand MongoDB U

* coming soon

Page 42: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

Atlas

● API

Page 43: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

Atlas LDAP

LDAP

● LDAP MongoDB

● MongoDB 3.4

Page 44: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

:

MongoDB Atlas ( AWS KMS),

MongoDB

● KMS MongoDB

(AES256-CBC via OpenSSL) l

MongoDB

Page 45: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB

Agent,

Page 46: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

Kubernetes (K8S) and Red Hat OpenShift

• Kubernetes Operator (beta) • Kubernetes MongoDB

--- apiVersion: mongodb.com/v1beta1 kind: MongoDbShardedCluster metadata: name: k8sdemo namespace: mongodb spec: shardCount: 2 mongodsPerShardCount: 3 mongosCount: 2 configServerCount: 3 version: 4.0.1 persistent: false project: my-project credentials: my-credentials

kubectl apply -f my2shards.yaml

my2shards.yaml

MongoDB Ops Manager

K8S Master Node

Kubectl REST API client

MongoDB K8S Operator

K8S Worker Node

K8S API Server pod

Kubelet

...

1

2

3

4

Page 47: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server
Page 48: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

● MongoDB Stitch GA

● MongoDB Server 4.0

● MongoDB Compass

● MongoDB Charts

● MongoDB Mobile Beta

● MongoDB Server 4.0

● MongoDB Atlas

● Ops Manager 4.0

● Free Cloud Monitoring

Page 49: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB

Cloud Infrastructure

Services and APIs

Application Logic

MongoDB Atlas

MongoDB Stitch

3 5

Client Application or Service

Application Logic

Data MongoDB Mobile MongoDB

Page 50: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB Stitch Serverless

Page 51: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB Stitch –

Stitch QueryAnywhere

MongoDB

iOS, Android, Web, IoT

Stitch Functions

+ +

API

Stitch Mobile Sync

( )

Streamlines app development with simple, secure access to data and services from the client with thousands of lines less code to write and no infrastructure to manage – getting your apps to market faster while reducing operational costs.

Stitch Triggers

( )

Page 52: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

Code user authentication

Code data access controls

Provision backend server

Install runtime environment

Add code to make backend HA

Add code to scale backend

Monitor & manage backend infrastructure

Code REST API for frontend to use backend

Code backend application logic

Code application frontend

Code against each external service API

Continuously poll database for changes

Stitch

Simple JSON Config

Handled automatically by Stitch and Atlas

Code frontend using single SDK/API

Stitch

Provide JS code for Stitch Functions

Page 53: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server
Page 54: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB Atlas

Page 55: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB Atlas

MongoDB Stitch Fully managed

Elastic scale Highly Available Secure

Page 56: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB Atlas

MongoDB Stitch Fully managed

Elastic scale Highly Available Secure

Page 57: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB Mobile (Beta)

MongoDB

Page 58: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB Mobile

#1

• ,

• MongoDB ,

, / APP

• APP

• iOS Android

• Stitch Mobile Sync• Mobile ↠ backend• Backend ↠ mobile•

Page 60: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server
Page 61: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

● MongoDB Server 4.0

● MongoDB Stitch

● MongoDB Compass

● MongoDB Charts

● MongoDB Mobile

● MongoDB Stitch Mobile Sync

● MongoDB Server 4.0

● MongoDB Atlas Global Clusters & Enterprise Security

● Free Cloud Monitoring

● Ops Manager 4.0 & Kubernetes

Page 62: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

• ▪ ▪ 3

• - https://university.mongodb.com/courses/M040/about

Page 64: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

Q&A

Page 65: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

Backup Slides

Page 66: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB Atlas Enterprise Security

• LDAP integration

• Database level auditing

• Encrypted storage engine: BYO Key Management Service (AWS initially)

• HIPAA Eligible

Page 67: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

X

// Define stage to add convertedPrice and convertedQty fields with the converted price and qty values// If price or qty values are missing, the conversion returns a value of decimal value or int value of 0.// If price or qty values cannot be converted, the conversion returns a stringpriceQtyConversionStage = { $addFields: { convertedPrice: { $convert: { input: "$price", to: "decimal", onError: "Error", onNull: NumberDecimal("0") } }, convertedQty: { $convert: { input: "$qty", to: "int", onError:{$concat:["Could not convert ", {$toString:"$qty"}, " to type integer."]}, onNull: NumberInt("0") } }, }};

Type Conversions in Action

Page 68: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

Summary: MongoDB UNIQUELY Delivers…...

Scale-out, data locality, and resilience of distributed systems

ACID transactional guarantees of relational databases

Developer productivity of open source document

databases

Freedom to Run Anywhere

Page 69: I -MongoDB 4bos.itdks.com/773b8fef52f942e485ac2a495922fe8c.pdf · 2018-12-11 · MongoDB î Û 3.0 3.2 Document ... BI & Spark Connectors ++ Compass ++ Hardware Monitoring Server

MongoDB Charts (Beta)

• The fastest and easiest way to create visualizations of MongoDB data

• Built for the MongoDB document model

• Visualize live data from any of your MongoDB instances – on-prem, in the cloud, or in MongoDB Atlas