SlideShare a Scribd company logo
Running AEM 6 with Mongo DB
Yash Mody, PhD
CTO | Tekno Point Consulting
Introduction
The NoSQL-ness of Databases
Non Relational, non row-wise database
Its been around for ages (embedded devices, mainframes)
Cannot solve scalability issues
Flexibility like: Nested Values, Non Standardized Fields
www.teknopoint.us	
  
Types of No SQl database
Document Store
XML,JSON.. Collections or Documents
Key Value Store
Big Table / Tabular (Google Prop Implementation)
Graph DB
Data represented by series of interconnected nodes (road
intersections)
Object DB
OOPL
www.teknopoint.us	
  
CAP THeorem
Consistency – All users see the same data
Availability – All users can read and write at all times
Partition Tolerance – works when divided across network
www.teknopoint.us	
  
Mongo DB Fundamentals
Document Database
Uses JavaScript :-*
Not queried over HTTP
Native drivers for each language (no n/w overhead)
Only master-slave replication
Consistent, Partition Tolerant
Sharding using defined keys
www.teknopoint.us	
  
Organization and querying
Documents
Collections
Records
JavaScript based Querying and allows define map-
reduce functions
www.teknopoint.us	
  
Setting up mongo
Install Mongo
Setup data location
/Users/yash/Desktop/TRAININGS/MONGODB/test/data/db
default is /data/db
Start Mongo
mongod --dbpath <path to data directory>
Start Mongo Shell
in data-dir- $mongo
www.teknopoint.us	
  
FIRST MONGO Database
Creating a DB
show dbs
use testdbs
Creating Records
r1 = { name : ”Adobe" }
r2 = { strength : 3000 }
Adding Records to collections
db.orgData.insert( r1 )
db.orgData.insert( r2)
db.orgData.insert( {name: “Apple”, strength: 5000})
www.teknopoint.us	
  
Retrieving info
db. orgData.find()
Pass key-value for exact match: db. orgData.find({strength:3000})
Using a cursor : var c = db. orgData.find()
Use the cursor as an array
Note: Data can be generated using standard js mechanisms
for (var i = 1; i <= 25; i++) db. orgData.insert( { e-code : i } )
www.teknopoint.us	
  
Querying data
$lt,	
  $gt,	
  $in	
  
www.teknopoint.us	
  
Mongo DB tools
MongoDB Management Service (MMS)
Fang
Umongo
MongoHub
MongoVision
Mviewer
Meclipse
www.teknopoint.us	
  
Mongo in AEM
Runs with Mongo 2.6.x
Install and set mongod.cfg
ensure dbpath exists
Unpack AEM 6 and change the start.bat
runmode “author,crx3mongo”
jvm opts “-Doak.mongo.uri=mongodb://localhost:27017”
Run AEM using start.bat
www.teknopoint.us	
  
Thanks
@yash_mody
http://www.linkedin.com/in/modyyash
www.teknopoint.us	
  

More Related Content

What's hot (17)

PDF
Integrating GlusterFS with iSCSI Target
ijsrd.com
 
PPT
Computer Architecture: A quantitative approach - Cap4 - Section 2
Marcelo Arbore
 
PPTX
Productionizing dl from the ground up
Adam Gibson
 
PPTX
Active Data Stores at 30,000ft
Jeffrey Sica
 
PDF
Hibernate online training
> Logics
 
PDF
Building Scalable Cloud Applications - Presentation at VCCF 2012
Fotis Stamatelopoulos
 
PDF
SNIA SDC 2016 final
Dan Lambright
 
PPT
Computer Architecture: A quantitative approach - Cap4 - Section 5
Marcelo Arbore
 
PPT
MongoDb - Details on the POC
Amardeep Vishwakarma
 
PDF
Business Intelligent
Tuan Luong
 
PDF
Nano-node: Intelligent Hard Drives in Large Storage Infrastructures
OpenIO Object Storage
 
PDF
Apache CouchDB
Mike Frampton
 
PPTX
«NoSQL Databases and Polyglot Persistence»
Olga Lavrentieva
 
PDF
NoSQL Databases
Eduard Tudenhoefner
 
PPTX
NoSQL Databases
Ashish Karki
 
PPTX
Directory based cache coherence
Hoang Nguyen
 
Integrating GlusterFS with iSCSI Target
ijsrd.com
 
Computer Architecture: A quantitative approach - Cap4 - Section 2
Marcelo Arbore
 
Productionizing dl from the ground up
Adam Gibson
 
Active Data Stores at 30,000ft
Jeffrey Sica
 
Hibernate online training
> Logics
 
Building Scalable Cloud Applications - Presentation at VCCF 2012
Fotis Stamatelopoulos
 
SNIA SDC 2016 final
Dan Lambright
 
Computer Architecture: A quantitative approach - Cap4 - Section 5
Marcelo Arbore
 
MongoDb - Details on the POC
Amardeep Vishwakarma
 
Business Intelligent
Tuan Luong
 
Nano-node: Intelligent Hard Drives in Large Storage Infrastructures
OpenIO Object Storage
 
Apache CouchDB
Mike Frampton
 
«NoSQL Databases and Polyglot Persistence»
Olga Lavrentieva
 
NoSQL Databases
Eduard Tudenhoefner
 
NoSQL Databases
Ashish Karki
 
Directory based cache coherence
Hoang Nguyen
 

Similar to Introducing Mongo DB and setting up Adobe AEM6 with mongo (20)

PPT
NO SQL: What, Why, How
Igor Moochnick
 
PDF
Is multi-model the future of NoSQL?
Max Neunhöffer
 
PDF
Oslo bekk2014
Max Neunhöffer
 
PDF
Oslo baksia2014
Max Neunhöffer
 
PPTX
Big data technology unit 3
RojaT4
 
PPT
05 No SQL Sudarshan.ppt
AnandKonj1
 
PPT
No SQL Databases sdfghjkl;sdfghjkl;sdfghjkl;'
sankarapu posibabu
 
PPT
No SQL Databases.ppt
ssuser8c8fc1
 
PDF
Analysis on NoSQL: MongoDB Tool
ijtsrd
 
PDF
NoSQL BIg Data Analytics Mongo DB and Cassandra .pdf
Sharmila Chidaravalli
 
PPT
NoSql Databases
Nimat Khattak
 
PPTX
05201349_Unit_7_FSWD_ advanced learning.pptx
ozakamal8
 
PPTX
05201349_Unit_7_FSWD_II(1) with advance.pptx
ozakamal8
 
PPTX
05201349_Unit_7_FSWD_ advanced learning.pptx
ozakamal8
 
PPTX
05201349_Unit_7_FSWD_II(1) with advance.pptx
ozakamal8
 
PDF
OldSQL to NewSQL
Claus Matzinger
 
PDF
Software development - the java perspective
Alin Pandichi
 
PPTX
Stay fresh
Ahmed Mohamed
 
PPTX
MongoDB
Bembeng Arifin
 
PDF
Design Patterns for Distributed Non-Relational Databases
guestdfd1ec
 
NO SQL: What, Why, How
Igor Moochnick
 
Is multi-model the future of NoSQL?
Max Neunhöffer
 
Oslo bekk2014
Max Neunhöffer
 
Oslo baksia2014
Max Neunhöffer
 
Big data technology unit 3
RojaT4
 
05 No SQL Sudarshan.ppt
AnandKonj1
 
No SQL Databases sdfghjkl;sdfghjkl;sdfghjkl;'
sankarapu posibabu
 
No SQL Databases.ppt
ssuser8c8fc1
 
Analysis on NoSQL: MongoDB Tool
ijtsrd
 
NoSQL BIg Data Analytics Mongo DB and Cassandra .pdf
Sharmila Chidaravalli
 
NoSql Databases
Nimat Khattak
 
05201349_Unit_7_FSWD_ advanced learning.pptx
ozakamal8
 
05201349_Unit_7_FSWD_II(1) with advance.pptx
ozakamal8
 
05201349_Unit_7_FSWD_ advanced learning.pptx
ozakamal8
 
05201349_Unit_7_FSWD_II(1) with advance.pptx
ozakamal8
 
OldSQL to NewSQL
Claus Matzinger
 
Software development - the java perspective
Alin Pandichi
 
Stay fresh
Ahmed Mohamed
 
Design Patterns for Distributed Non-Relational Databases
guestdfd1ec
 
Ad

More from Yash Mody (10)

PPTX
Dr Seema Rao - Woman Commando Trainer
Yash Mody
 
PDF
Adobe AEM for Business Heads
Yash Mody
 
PDF
Sightly - AEM6 UI Development using JS and JAVA
Yash Mody
 
PDF
Apache SOLR in AEM 6
Yash Mody
 
PDF
Adobe AEM CQ5 - Developer Introduction
Yash Mody
 
PPTX
Catch 22: FLex APps
Yash Mody
 
PDF
As2 vs as3
Yash Mody
 
PDF
How LCDS works
Yash Mody
 
PDF
Flex 3 to Flex 4
Yash Mody
 
PDF
Flex and ColdFusion
Yash Mody
 
Dr Seema Rao - Woman Commando Trainer
Yash Mody
 
Adobe AEM for Business Heads
Yash Mody
 
Sightly - AEM6 UI Development using JS and JAVA
Yash Mody
 
Apache SOLR in AEM 6
Yash Mody
 
Adobe AEM CQ5 - Developer Introduction
Yash Mody
 
Catch 22: FLex APps
Yash Mody
 
As2 vs as3
Yash Mody
 
How LCDS works
Yash Mody
 
Flex 3 to Flex 4
Yash Mody
 
Flex and ColdFusion
Yash Mody
 
Ad

Recently uploaded (20)

PDF
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
PDF
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
ScyllaDB
 
PPTX
Smarter Governance with AI: What Every Board Needs to Know
OnBoard
 
PDF
Open Source Milvus Vector Database v 2.6
Zilliz
 
PPTX
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
PDF
UiPath Agentic AI ile Akıllı Otomasyonun Yeni Çağı
UiPathCommunity
 
PDF
From Chatbot to Destroyer of Endpoints - Can ChatGPT Automate EDR Bypasses (1...
Priyanka Aash
 
PPTX
Simplifica la seguridad en la nube y la detección de amenazas con FortiCNAPP
Cristian Garcia G.
 
PDF
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
PDF
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PPTX
reInforce 2025 Lightning Talk - Scott Francis.pptx
ScottFrancis51
 
PDF
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
PPTX
𝙳𝚘𝚠𝚗𝚕𝚘𝚊𝚍—Wondershare Filmora Crack 14.0.7 + Key Download 2025
sebastian aliya
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PDF
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
PDF
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
PDF
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
PDF
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
 
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
ScyllaDB
 
Smarter Governance with AI: What Every Board Needs to Know
OnBoard
 
Open Source Milvus Vector Database v 2.6
Zilliz
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
UiPath Agentic AI ile Akıllı Otomasyonun Yeni Çağı
UiPathCommunity
 
From Chatbot to Destroyer of Endpoints - Can ChatGPT Automate EDR Bypasses (1...
Priyanka Aash
 
Simplifica la seguridad en la nube y la detección de amenazas con FortiCNAPP
Cristian Garcia G.
 
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
reInforce 2025 Lightning Talk - Scott Francis.pptx
ScottFrancis51
 
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
𝙳𝚘𝚠𝚗𝚕𝚘𝚊𝚍—Wondershare Filmora Crack 14.0.7 + Key Download 2025
sebastian aliya
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
 

Introducing Mongo DB and setting up Adobe AEM6 with mongo

  • 1. Running AEM 6 with Mongo DB Yash Mody, PhD CTO | Tekno Point Consulting
  • 2. Introduction The NoSQL-ness of Databases Non Relational, non row-wise database Its been around for ages (embedded devices, mainframes) Cannot solve scalability issues Flexibility like: Nested Values, Non Standardized Fields www.teknopoint.us  
  • 3. Types of No SQl database Document Store XML,JSON.. Collections or Documents Key Value Store Big Table / Tabular (Google Prop Implementation) Graph DB Data represented by series of interconnected nodes (road intersections) Object DB OOPL www.teknopoint.us  
  • 4. CAP THeorem Consistency – All users see the same data Availability – All users can read and write at all times Partition Tolerance – works when divided across network www.teknopoint.us  
  • 5. Mongo DB Fundamentals Document Database Uses JavaScript :-* Not queried over HTTP Native drivers for each language (no n/w overhead) Only master-slave replication Consistent, Partition Tolerant Sharding using defined keys www.teknopoint.us  
  • 6. Organization and querying Documents Collections Records JavaScript based Querying and allows define map- reduce functions www.teknopoint.us  
  • 7. Setting up mongo Install Mongo Setup data location /Users/yash/Desktop/TRAININGS/MONGODB/test/data/db default is /data/db Start Mongo mongod --dbpath <path to data directory> Start Mongo Shell in data-dir- $mongo www.teknopoint.us  
  • 8. FIRST MONGO Database Creating a DB show dbs use testdbs Creating Records r1 = { name : ”Adobe" } r2 = { strength : 3000 } Adding Records to collections db.orgData.insert( r1 ) db.orgData.insert( r2) db.orgData.insert( {name: “Apple”, strength: 5000}) www.teknopoint.us  
  • 9. Retrieving info db. orgData.find() Pass key-value for exact match: db. orgData.find({strength:3000}) Using a cursor : var c = db. orgData.find() Use the cursor as an array Note: Data can be generated using standard js mechanisms for (var i = 1; i <= 25; i++) db. orgData.insert( { e-code : i } ) www.teknopoint.us  
  • 10. Querying data $lt,  $gt,  $in   www.teknopoint.us  
  • 11. Mongo DB tools MongoDB Management Service (MMS) Fang Umongo MongoHub MongoVision Mviewer Meclipse www.teknopoint.us  
  • 12. Mongo in AEM Runs with Mongo 2.6.x Install and set mongod.cfg ensure dbpath exists Unpack AEM 6 and change the start.bat runmode “author,crx3mongo” jvm opts “-Doak.mongo.uri=mongodb://localhost:27017” Run AEM using start.bat www.teknopoint.us