Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
© 2018 Percona.
1
Peter Zaitsev, CEO
Choosing Right Open Source
Database
December 12th, 2018
All Things Open Meetup
Resear...
© 2018 Percona.
2
About Percona
Solutions for your success with MySQL,MariaDB,MongoDB and PostgreSQL
Support, Managed Serv...
© 2018 Percona.
3
Open Source Databases
You do not need
convincing to chose Open
Source Database ?
© 2018 Percona.
4
DB-Engines Ranking
© 2018 Percona.
5
Open Source vs Commercial
© 2018 Percona.
6
Stack Overflow Developers Survey
Source: https://insights.stackoverflow.com/survey/2018/
© 2018 Percona.
7
Choose Database or Databases ?
There is no perfect database for every use case
Engineering Tradeoffs Ens...
© 2018 Percona.
8
Things to Consider
Majority of applications are not Google or Facebook
Majority of companies does not ha...
© 2018 Percona.
9
Limit yourself
Start with one Database Technology
Add more technologies when
Absolutely Essential
© 2018 Percona.
10
There is
© 2018 Percona.
11
Boring is Good
Boring = Proven
Proven = Less Problems
What is Good for you ?
© 2018 Percona.
12
So ?
How Do I chose small number of
boring but popular Open Source
Databases to build my application
in...
© 2018 Percona.
13
Buzz Words
Relational
(SQL)
No-SQL NewSQL
Big Data
Multi-
Model
© 2018 Percona.
14
Popular NoSQL Categories
• RedisKey Value Store
• MongoDBDocument Store
• CassandraWide Column Store
• ...
© 2018 Percona.
15
Cross-Polynation
MySQL, PostgreSQL add Document
Storage Support
Many databases provide SQL or SQL-
like...
© 2018 Percona.
16
Relational Databases
© 2018 Percona.
17
Relational: SQL
© 2018 Percona.
18
Relational Variants
• Good for reading few data points
• Easy to modify data
• Conventional “Web” Appli...
© 2018 Percona.
19
Document Data Model Example
Source: https://www.tutorialspoint.com/mongodb/mongodb_insert_document.htm
© 2018 Percona.
20
Other Questions
“Disk” vs “Memory”
Single Node vs Distributed
© 2018 Percona.
21
Q1: Application Data Model
What Database your
application Data Model and
Operations Bests maps to ?
© 2018 Percona.
22
Not too Obvious Things to Consider
Application Life Cycle and
Development Process
© 2018 Percona.
23
Q2: Scale
© 2018 Percona.
24
Understanding Scaling
Any Technology Scales,
Just with different
efficiency and amount of
pain
© 2018 Percona.
25
Q3: It is not just about development
Technology Long Term Viability
Availability of Commercial Support
...
© 2018 Percona.
26
Open Source
Why care and how to evaluate ? Some of “Open Source Business” Practices
© 2018 Percona.
27
Many Reasons to use OpenSource
What is it for you ?
© 2018 Percona.
28
Reasons to use Open Source
Cost
Avoiding Vendor Lock-in
Innovation Possibility
Developer Community
© 2018 Percona.
29
Types of Open Source License
Copyleft
•GPL, AGPL
Permissive
•BSD, Apache,
MIT
Public Domain
•Not Really...
© 2018 Percona.
30
Open Source Governance
Community/Foundation
•Linux, Apache,
OpenStack, PostgreSQL
Corporation
•MySQL, M...
© 2018 Percona.
31
Open Source
Open Source for Real
vs
Open Source for Marketing
© 2018 Percona.
32
Open Source Compatible
Products which are NOT Open
Source but Claim Open Source
Compatibility
© 2018 Percona.
33
Free as on GitHub
Products which have source
available but which you can’t
legally
© 2018 Percona.
34
Open Source… Eventually
Business Source License
(MariaDB Components)
© 2018 Percona.
35
Open Source with Commons Clause
Tiny addition which makes license non Open
Used by Redis Labs for some ...
© 2018 Percona.
36
Open Core
Proprietary Software with Open Source Community Version
Community Version can be more or less...
© 2018 Percona.
37
Builds and Updates – “Convenience”
Open Source License
does not require you to
provide “builds” for
eve...
© 2018 Percona.
38
Warranty and Certification
Certification and
Warranty available only
with Subscription
© 2018 Percona.
39
SSPL
New License used by MongoDB
Not recognized as Open Source
License (yet?)
© 2018 Percona.
40
Practical Open Software Question
If I stop paying
subscription/license
what do I have to give up
?
© 2018 Percona.
41
Cloud and Open Source
Cloud Vendors
Commercializing Open
Source Disrupts many
conventional Open Source
...
© 2018 Percona.
42
© 2018 Percona.
43
Thank You!
Upcoming SlideShare
Loading in …5
×

Choosing the Right Open Source Database

353 views

Published on

Presented at All Things Open RTP Meetup
Presented by Peter Zaitsev with Percona
December 12th, 2018
Raleigh, NC, USA

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Choosing the Right Open Source Database

  1. 1. © 2018 Percona. 1 Peter Zaitsev, CEO Choosing Right Open Source Database December 12th, 2018 All Things Open Meetup Research Triangle,NC
  2. 2. © 2018 Percona. 2 About Percona Solutions for your success with MySQL,MariaDB,MongoDB and PostgreSQL Support, Managed Services, Consulting, Training, Software Our Software is 100% Free and Open Source Support Broad Ecosystem – MySQL, MariaDB, Amazon RDS, Google CloudSQL In Business for 12 years More than 3000 customers, including top Internet companies and enterprises
  3. 3. © 2018 Percona. 3 Open Source Databases You do not need convincing to chose Open Source Database ?
  4. 4. © 2018 Percona. 4 DB-Engines Ranking
  5. 5. © 2018 Percona. 5 Open Source vs Commercial
  6. 6. © 2018 Percona. 6 Stack Overflow Developers Survey Source: https://insights.stackoverflow.com/survey/2018/
  7. 7. © 2018 Percona. 7 Choose Database or Databases ? There is no perfect database for every use case Engineering Tradeoffs Ensure It Large Applications often built using Multiple Databases “Polyglot Persistence”
  8. 8. © 2018 Percona. 8 Things to Consider Majority of applications are not Google or Facebook Majority of companies does not have their Team and Resources Their approaches might not be Fit for You
  9. 9. © 2018 Percona. 9 Limit yourself Start with one Database Technology Add more technologies when Absolutely Essential
  10. 10. © 2018 Percona. 10 There is
  11. 11. © 2018 Percona. 11 Boring is Good Boring = Proven Proven = Less Problems What is Good for you ?
  12. 12. © 2018 Percona. 12 So ? How Do I chose small number of boring but popular Open Source Databases to build my application in non-Facebook Way ?
  13. 13. © 2018 Percona. 13 Buzz Words Relational (SQL) No-SQL NewSQL Big Data Multi- Model
  14. 14. © 2018 Percona. 14 Popular NoSQL Categories • RedisKey Value Store • MongoDBDocument Store • CassandraWide Column Store • ElasticSearch Engine • Neo4jGraph • InfluxDBTime Series
  15. 15. © 2018 Percona. 15 Cross-Polynation MySQL, PostgreSQL add Document Storage Support Many databases provide SQL or SQL- like language support
  16. 16. © 2018 Percona. 16 Relational Databases
  17. 17. © 2018 Percona. 17 Relational: SQL
  18. 18. © 2018 Percona. 18 Relational Variants • Good for reading few data points • Easy to modify data • Conventional “Web” Applications Row Store • Good for mass data analyses • Data best modified in bulks • Reporting/Analytics Column Store
  19. 19. © 2018 Percona. 19 Document Data Model Example Source: https://www.tutorialspoint.com/mongodb/mongodb_insert_document.htm
  20. 20. © 2018 Percona. 20 Other Questions “Disk” vs “Memory” Single Node vs Distributed
  21. 21. © 2018 Percona. 21 Q1: Application Data Model What Database your application Data Model and Operations Bests maps to ?
  22. 22. © 2018 Percona. 22 Not too Obvious Things to Consider Application Life Cycle and Development Process
  23. 23. © 2018 Percona. 23 Q2: Scale
  24. 24. © 2018 Percona. 24 Understanding Scaling Any Technology Scales, Just with different efficiency and amount of pain
  25. 25. © 2018 Percona. 25 Q3: It is not just about development Technology Long Term Viability Availability of Commercial Support Corporate Policies Compliance (Security, Auditing etc)
  26. 26. © 2018 Percona. 26 Open Source Why care and how to evaluate ? Some of “Open Source Business” Practices
  27. 27. © 2018 Percona. 27 Many Reasons to use OpenSource What is it for you ?
  28. 28. © 2018 Percona. 28 Reasons to use Open Source Cost Avoiding Vendor Lock-in Innovation Possibility Developer Community
  29. 29. © 2018 Percona. 29 Types of Open Source License Copyleft •GPL, AGPL Permissive •BSD, Apache, MIT Public Domain •Not Really a License
  30. 30. © 2018 Percona. 30 Open Source Governance Community/Foundation •Linux, Apache, OpenStack, PostgreSQL Corporation •MySQL, MongoDB
  31. 31. © 2018 Percona. 31 Open Source Open Source for Real vs Open Source for Marketing
  32. 32. © 2018 Percona. 32 Open Source Compatible Products which are NOT Open Source but Claim Open Source Compatibility
  33. 33. © 2018 Percona. 33 Free as on GitHub Products which have source available but which you can’t legally
  34. 34. © 2018 Percona. 34 Open Source… Eventually Business Source License (MariaDB Components)
  35. 35. © 2018 Percona. 35 Open Source with Commons Clause Tiny addition which makes license non Open Used by Redis Labs for some of extensions Redis Itself remains Open Source
  36. 36. © 2018 Percona. 36 Open Core Proprietary Software with Open Source Community Version Community Version can be more or less Crippled Percona Provides Open Source Alternatives for many Enterprise Features in MySQL and MongoDB Community Version is typically well maintained
  37. 37. © 2018 Percona. 37 Builds and Updates – “Convenience” Open Source License does not require you to provide “builds” for everyone for free
  38. 38. © 2018 Percona. 38 Warranty and Certification Certification and Warranty available only with Subscription
  39. 39. © 2018 Percona. 39 SSPL New License used by MongoDB Not recognized as Open Source License (yet?)
  40. 40. © 2018 Percona. 40 Practical Open Software Question If I stop paying subscription/license what do I have to give up ?
  41. 41. © 2018 Percona. 41 Cloud and Open Source Cloud Vendors Commercializing Open Source Disrupts many conventional Open Source Business Models
  42. 42. © 2018 Percona. 42
  43. 43. © 2018 Percona. 43 Thank You!

×