O SlideShare utiliza cookies para otimizar a funcionalidade e o desempenho do site, assim como para apresentar publicidade mais relevante aos nossos usuários. Se você continuar a navegar o site, você aceita o uso de cookies. Leia nosso Contrato do Usuário e nossa Política de Privacidade.
O SlideShare utiliza cookies para otimizar a funcionalidade e o desempenho do site, assim como para apresentar publicidade mais relevante aos nossos usuários. Se você continuar a utilizar o site, você aceita o uso de cookies. Leia nossa Política de Privacidade e nosso Contrato do Usuário para obter mais detalhes.
The Evolution of Databases 1990 2000 2010 Operational Data RDBMS RDBMS NoSQL RDBMS Datawarehouse OLAP/BI OLAP/BI Hadoop 5
Relational Database Challenges Data Types Agile Development • Unstructured data • Iterative • Semi-structured data • Short development cycles • Polymorphic data • New workloadsVolume of Data New Architectures• Petabytes of data • Horizontal scaling• Trillions of records • Commodity servers• Tens of millions of queries per second • Cloud computing 6
Why Shard Data?Some common reasons:• Scales Read/Write capacity• Increases total RAM, to keep the working dataset in physical memory, for maximum performance• Shards can be located in specific geographies, for compliance and/or performance 20
How Sharding Works mongoS: A software switch that routes application requests to the data. Typically, this will be installed with the App Server(s). Config server: Stores metadata on data location. Sharded deployments should deploy at least 3 config servers (for redundancy). 21
Adding a Shard To add a shard, spin-up more mongoDB instances and tell the mongoS that they are there with a simple command. When first moving from a single replica set to a sharded environment, 50% of the data moves from Shard 1 to Shard 2. This puts load on to the system. 22
MongoDB Solutions Big Data Content Mgmt & Delivery Mobile & Social User Data Management Data Hub 27
Media Company Change #1 Articles & Content User Contributions are slow to populate. Cache RDBMS 28
Media Company Change #1 mongoDB enables a high volume of reads and writes directly into the Articles & Content operational data-set This unlocks user contributions mongoDB 29
Problem Why MongoDB Impact RDBMS architecture Flexible data model allows The Guardian has constrained their ability to for heterogenous structure competitive absorb upstream Rich query language advantage, through enabling contributions from users preserves functionality social conversations through New features, competitions System updates with zero the site needed to log data into user downtime Interactive features can be records, requiring schema Ease of use, allowing a large delivered more changes development team to adopt quickly, which translates to the technology quickly increased revenues“Relational databases have a sound approach, but that doesn’t necessarily match the way we see our data.mongoDB gave us the flexibility to store data in the way that we understand it as opposed to somebody’stheoretical view.” 30 Philip Wills, Software Architect
Telco Business Evolution Handset location Mr. 100 Coffee Metres Marketing Message Proximity Calculation mongoDB 31
Problem Why MongoDB Impact A need to extract value from Built around scalability, with Priority Moments project is existing semi-structured auto-sharding features a strong success data sources (social mongoDB deployment Subsequent adoption of networks etc.) architecture prevents any mongoDB by O2 & A fast-growing customer- single point of failure Telefonica across a large base required any solution Geospatial indexing out-of- number of projects to be easily scalable the-box enables location- based service delivery“Selecting MongoDB as our database platform was a no brainer as the technology offered us the flexibilityand scalability that we knew we’d need for Priority Moments.” 32 Andrew Pattinson, Head of Online Delivery
For More Information Resource User Data Management Location MongoDB Downloads www.mongodb.org/download Free Online Training education.10gen.com Webinars and Events www.10gen.com/events White Papers www.10gen.com/white-papers Customer Case Studies www.10gen.com/customers Presentations www.10gen.com/presentations Documentation docs.mongodb.org Additional Info email@example.com 33
How We Can Help Resource 10gen PartnersTraining Getting• Public or private courses, 2 or 3 Started Professional days Services • Architecting & developing mongoDB solutionsPre-production Support • Trusted Advisor• Developer Support Development• mongoDB Health-checkmongoDB Subscriptions• Production support• SNMP Adaptor Production• Platform OS certification• Commercial License 34