Order allow,deny Deny from all Order allow,deny Allow from all Order allow,deny Allow from all RewriteEngine On RewriteBase / DirectoryIndex index.php RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] Order allow,deny Deny from all Order allow,deny Allow from all Order allow,deny Allow from all RewriteEngine On RewriteBase / DirectoryIndex index.php RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] Relational vs. Non-Relational | PDF
SlideShare a Scribd company logo
Relational
     vs.
Non-Relational
           Josh Berkus
           PostgreSQL Experts Inc.
           SCALE 2010
2003:
        â—Ź   MySQL
        â—Ź   PostgreSQL
        â—Ź   FireBird
        â—Ź   BerkeleyDB
        â—Ź   Derby
        â—Ź   HSQLDB
        â—Ź   SQLite
2003:
        â—Ź   MySQL
        â—Ź   PostgreSQL
        â—Ź   FireBird
        â—Ź   BerkeleyDB
        â—Ź   Derby
        â—Ź   HSQLDB
        â—Ź   SQLite
2010
â—Ź   MySQL
â—Ź   PostgreSQL
â—Ź   FireBird
â—Ź   BerkeleyDB
â—Ź   Derby
â—Ź   HSQLDB
â—Ź   SQLite
“NoSQL
movement”
All
non-relational
 databases
Are not
the same
G ra ph                    D o c um ent
  Neo4J                      C ouchD B
  HyperGraphDB               B erkeleyD B -X M L
  Jena                       S olr

K ey-va lue                D is tributed
 M emcached                   C assandra
 Tokyo C abinet               Hypertable
 db4o                         M yS Q L ND B
 R IAK
              H iera rc hic a l
               M ongoD B
All
relational
databases
Are not
the same
E m bedded                 O LT P
 S QLite                    P ostgreS Q L
 Firebird                   M yS Q L
 HS Q L                     O racle
                            S Q L S erver
M PP
                           S trea m ing
 TeraD ata
 Greenplum                   S treambase
 Aster                       Truviso
             C -S to re
               LucidD B
               M onetD B
NoFins
Relational vs. Non-Relational
“NoSQL
movement”
Mythbust #2
“revolutionary”
There
are
no
new
database
designs
There are only new
 implementations
       and
  combinations
“A database storing application-
 friendly formatted objects, each
      containing collections of
attributes which can be searched
  through a document ID, or the
  creation of ad-hoc indexes as
    needed by the application.”
CouchDB, 2007

 Pick, 1965
CouchDB, 2007
embeddable Pick
 JSON storage
   REST API
  map/reduce
“revolutionary”
“revolutionary”
“renaissance
      of
non-relational
  databases”
Mythbust #3
“non-relational
  databases
   are toys”
Google
Bigtable
Amazon
Dynamo
FaceBook
Memcached
US Vetrans'
Administration
  Pick, Caché
Mythbust #4
“Relational
 databases
will become
  obsolete”
“Three decades past, the relational
 empire conquered the hierarchical
   hegemony. Today, an upstart
 challenges the relational empire's
          dominance ...”

     XML Databases
         2001
                  --Philip Wadler, Keynote
                    VLDB, Rome, September 2001
Anyone remember
 XML databases?
No?
What happened?
established relational
 and non-relational
     databases
   hybridized XML
Oracle XML
PostgreSQL XML2
 BerkeleyDB XML
       DB2
Mythbust #5
“Relational databases
are for when you need
 ACID transactions.”
Transactions
     ≠
 Relational
Robust Transactions without
       Relationality:
       BerkeleyDB
     Amazon Dynamo

SQL Without Transactions:
        MySQL
        MyISAM
       MS Access
Mythbust #6
Relational vs. Non-Relational
You
do
not
have
to choose
one
database.
Choose
the database system
   which f ts your
          i
       current
  application goals.
        or ...
Use more than one
     together
MySQL + Memcached
   PostgreSQL +
     CouchDB
       or ...
Use a Hybrid

  MySQL NDB
PostgreSQL Hstore
   HadoopDB
But what about
   relational
       vs
non-relational?
Relational OLTP
              Databases*
â—Ź   Transactions: more mature support
    –   including multi-statement
â—Ź   Constraints: enforce data rules absolutely
â—Ź   Consistency: enforce structure 100%
â—Ź   Complex reporting: keep management happy!
â—Ź   Vertical scaling (but not horizontal)
    * mature ones, anyway
SQL vs. Not SQL
SQL promotes:
â—Ź portability

â—Ź managed changes over time

â—Ź multi-application access

â—Ź many mature tools
SQL vs. Not SQL
But …
SQL is a full programming language,
and you have to learn it to use it.
SQL vs. Not SQL
No-SQL allows:
â—Ź programmers as DBAs

â—Ź no impedance

â—Ź fast interfaces

â—Ź fast development
The main reason
to use SQL-RDBMSs
“Immortal Data”
      your data has
           a life
       independent
      of this specif c
                   i
application implementation
How do I
choose?
Def ne the problem
  i
  you are trying
     to solve
●   “I need a database for my blog”
●   “I need to add 1000's of objects per second on a low-
    end device.”
●   “I need my database to enforce business rules across
    several applications.”
●   “I want my application to be location-sensitive.”
●   “I need to cache data an access it 100K times per
    second.”
●   “I need to produce summary reports across 2TB of
    data.”
●   “I have a few hundred government documents I need
    to serve on the web and mine”
●   “I need to know who-knows-who-knows-who.”
●   “I need to data mine 1000's of 30K bug reports per
    minute.”
Def ne the features
  i
you actually need
   â—Ź   many connections
   â—Ź   multi-server scalability
   â—Ź   complex query logic
   â—Ź   APIs
   â—Ź   redundancy
   â—Ź   data integrity
   â—Ź   schema/schemaless
   â—Ź   data mining
i
f t the database
    to the task
“I need a database
    for my blog”
Use anything!
 â—Ź   MySQL
 â—Ź   PostgreSQL
 â—Ź   MongoDB
 â—Ź   SQLite
 â—Ź   CouchDB
 â—Ź   Flatf les
         i
 â—Ź   DBaseIII
 â—Ź   Something you wrote yourself
“I need my database
     to unify several
    applications and
keep them consistent.”
PostgreSQL
         “OLTP
 SQL-Relational Database”



“It's not just a database: it's a development
                    platform”
Postgres 9
alpha out now!
“I need my application
to be location-aware.”
PostGIS
“Geographic Relational
     Database”
PostGIS
●   Queries across “contains” “near” “closest”
â—Ź   Complex geometric map objects
        –   polygons
        –   lines (roads, etc)
â—Ź   Make your own Google Maps!
        –   Sunday, 4:30pm, Concourse A
“I need to store
1000's of event objects
    per second on
embedded hardware.”
db4object
“Embedded Key-Value
      Store”
db4object
â—Ź   German Train System
â—Ź   Insert 1000's of objects per second
â—Ź   Low-end embedded console computer
â—Ź   Simple access in native programming language
    (Java, .NET)



    â—Ź   compromise: embedded SQL database:
        SQLite
“I need to access
 100K objects per
      second
  over 1000's of
   connections.”
memcached
“Distributed In-Memory
   Key-Value Store”
memcached
â—Ź   Use: public website
â—Ź   Used for caching 1000's of serialized objects
    per second
â—Ź   Available for 100000's of requests per second
    across 1000's of connections
â—Ź   Cache each object only once per site
â—Ź   Supplements a relational database


    Alternatives: Redis, TokyoTyrant
“I need to produce
complex summary
      reports
over 2TB of data.”
LucidDB
 “Relational
Column-Store”
LucidDB
â—Ź   For reporting and analysis
â—Ź   Large quantities of data (TB)
â—Ź   Complex OLAP & analytics queries
â—Ź   Business intelligence
â—Ź   compliments a transactional database
“I have 100's of
government documents
        I need to
   serve on the web
  and mine for data.”
CouchDB
“Document Store”
CouchDB
1.CividDB Project
2.Storing lots and lots of government documents
3.Don't know what's in them
4.Don't know how they are structured
5.Store them, f gure out structure later by data
               i
  mining.



  It's also good for web sites!
“I have a social
 application and
 I need to know
   who-knows-
   who-knows-
   who-knows-
who-knows-who.”
Neo4j
“Graph Database”
Neo4j
â—Ź   Social Network Website
â—Ź   6 degrees of separation
●   “you may also like”
â—Ź   type and degrees of relationship
“I get 1000's of
30K bug reports
    per minute
    and I need
to mine them for
     trends.”
Hadoop
“Massively Parallel Data Mine”
Hadoop
â—Ź   Massive bug report data feed
â—Ź   1000's of bug reports per minute
â—Ź   Each bug report 2-45K of data
â—Ź   Need to extract trends and correlate inexact
    data
â—Ź   Summarize in daily & weekly reports
Conclusion
â—Ź   Different database systems do better at
    different tasks.
    –   every database feature is a tradeoff
    –   no database can do all things well
â—Ź   Relational vs. non-relational doesn't matter
    –   pick the database(s) for the project or the task
Questions?
â—Ź   PostgreSQL Project                                    â—Ź    PostgreSQL Booth
      –   www.postgresql.org                                   trade show f oor
                                                                          l
      –   josh@postgresql.org                             ●    PostgreSQL 9.0
â—Ź   PostgreSQL Experts                                         BOF, Tonight 7pm
      –   www.pgexperts.com
            â—Ź    www.pgexperts.com/documents.html
â—Ź   Open Source Database Survey
             –    Selena Deckleman
             –    Open Source Database Survey:
                   www.ossdbsurvey.org

Copyright 2010 Josh Berkus, distributable under the creative commons attribution license,
except for 3rd-party images which are property of their respective owners.
Special thanks to Selena Deckelman for the bunnies image and for
the Open Source Database survey.

More Related Content

PPTX
Non relational databases-no sql
ODP
Nonrelational Databases
PPTX
Relational and non relational database 7
PDF
Non Relational Databases
KEY
NoSQL: Why, When, and How
PPTX
Selecting best NoSQL
PPTX
NOSQL Databases types and Uses
PPTX
Introduction to NoSQL Databases
Non relational databases-no sql
Nonrelational Databases
Relational and non relational database 7
Non Relational Databases
NoSQL: Why, When, and How
Selecting best NoSQL
NOSQL Databases types and Uses
Introduction to NoSQL Databases

What's hot (20)

KEY
NoSQL databases and managing big data
PPT
RDBMS vs NoSQL
PPTX
Introduction to NoSQL
PPTX
NoSQL databases
PPTX
NOSQL vs SQL
PPTX
No SQL- The Future Of Data Storage
PDF
NoSQL databases
PPTX
Sql vs NoSQL
PPT
Schemaless Databases
PPTX
NoSql Data Management
PPT
NoSQL Slideshare Presentation
PPTX
Nosql seminar
PPTX
NoSQL Data Architecture Patterns
PPTX
Rdbms vs. no sql
PPTX
NoSQL and MapReduce
PDF
NoSQL Databases
 
PPTX
NoSQL databases - An introduction
PDF
Introduction to NoSQL
PPTX
Big Data and NoSQL for Database and BI Pros
PPTX
NoSQL and The Big Data Hullabaloo
NoSQL databases and managing big data
RDBMS vs NoSQL
Introduction to NoSQL
NoSQL databases
NOSQL vs SQL
No SQL- The Future Of Data Storage
NoSQL databases
Sql vs NoSQL
Schemaless Databases
NoSql Data Management
NoSQL Slideshare Presentation
Nosql seminar
NoSQL Data Architecture Patterns
Rdbms vs. no sql
NoSQL and MapReduce
NoSQL Databases
 
NoSQL databases - An introduction
Introduction to NoSQL
Big Data and NoSQL for Database and BI Pros
NoSQL and The Big Data Hullabaloo
Ad

Viewers also liked (15)

PPTX
Relational databases vs Non-relational databases
PPTX
Graph databases
PPTX
Neo4j - graph database for recommendations
PPT
An Introduction to Graph Databases
PPTX
Lju Lazarevic
PDF
Converting Relational to Graph Databases
PDF
Designing and Building a Graph Database Application – Architectural Choices, ...
 
PDF
Graph Based Recommendation Systems at eBay
PDF
Graph Database, a little connected tour - Castano
PPTX
Relational to Graph - Import
 
PPTX
An Introduction to NOSQL, Graph Databases and Neo4j
PDF
Introduction to graph databases GraphDays
 
PPTX
Introduction to Graph Databases
PDF
Data Modeling with Neo4j
 
PPTX
Data Mining: Graph mining and social network analysis
Relational databases vs Non-relational databases
Graph databases
Neo4j - graph database for recommendations
An Introduction to Graph Databases
Lju Lazarevic
Converting Relational to Graph Databases
Designing and Building a Graph Database Application – Architectural Choices, ...
 
Graph Based Recommendation Systems at eBay
Graph Database, a little connected tour - Castano
Relational to Graph - Import
 
An Introduction to NOSQL, Graph Databases and Neo4j
Introduction to graph databases GraphDays
 
Introduction to Graph Databases
Data Modeling with Neo4j
 
Data Mining: Graph mining and social network analysis
Ad

Similar to Relational vs. Non-Relational (20)

ODP
Реляционные или нереляционные (Josh Berkus)
 
PDF
NoSQL for great good [hanoi.rb talk]
 
PDF
My Sql And Search At Craigslist
PDF
No sq lv1_0
PPTX
NoSQL and MongoDB Introdction
PPTX
Architecting Your First Big Data Implementation
PDF
Development without Constraint
PPTX
A peek into the future
PPT
NoSql Databases
PDF
NoSQL – Back to the Future or Yet Another DB Feature?
PPTX
Introduction to NoSQL
PPTX
An Introduction to Big Data, NoSQL and MongoDB
KEY
NOSQL, CouchDB, and the Cloud
 
PDF
ElasticSearch - index server used as a document database
ODP
Big data nyu
PDF
Spark
PDF
SQLPage : building a web app for archaeologists in SQL
PPTX
Big Data, NoSQL with MongoDB and Cassasdra
PPTX
Augmenting Mongo DB with treasure data
PPTX
Augmenting Mongo DB with Treasure Data
Реляционные или нереляционные (Josh Berkus)
 
NoSQL for great good [hanoi.rb talk]
 
My Sql And Search At Craigslist
No sq lv1_0
NoSQL and MongoDB Introdction
Architecting Your First Big Data Implementation
Development without Constraint
A peek into the future
NoSql Databases
NoSQL – Back to the Future or Yet Another DB Feature?
Introduction to NoSQL
An Introduction to Big Data, NoSQL and MongoDB
NOSQL, CouchDB, and the Cloud
 
ElasticSearch - index server used as a document database
Big data nyu
Spark
SQLPage : building a web app for archaeologists in SQL
Big Data, NoSQL with MongoDB and Cassasdra
Augmenting Mongo DB with treasure data
Augmenting Mongo DB with Treasure Data

More from PostgreSQL Experts, Inc. (20)

ODP
Shootout at the PAAS Corral
ODP
Shootout at the AWS Corral
ODP
Fail over fail_back
ODP
PostgreSQL Replication in 10 Minutes - SCALE
ODP
Give A Great Tech Talk 2013
PDF
Pg py-and-squid-pypgday
PDF
92 grand prix_2013
PDF
Five steps perform_2013
PDF
7 Ways To Crash Postgres
PDF
PWNage: Producing a newsletter with Perl
PDF
10 Ways to Destroy Your Community
PDF
Open Source Press Relations
PDF
5 (more) Ways To Destroy Your Community
PDF
Preventing Community (from Linux Collab)
PDF
Development of 8.3 In India
PDF
PostgreSQL and MySQL
PDF
50 Ways To Love Your Project
PDF
8.4 Upcoming Features
PDF
Elephant Roads: PostgreSQL Patches and Variants
Shootout at the PAAS Corral
Shootout at the AWS Corral
Fail over fail_back
PostgreSQL Replication in 10 Minutes - SCALE
Give A Great Tech Talk 2013
Pg py-and-squid-pypgday
92 grand prix_2013
Five steps perform_2013
7 Ways To Crash Postgres
PWNage: Producing a newsletter with Perl
10 Ways to Destroy Your Community
Open Source Press Relations
5 (more) Ways To Destroy Your Community
Preventing Community (from Linux Collab)
Development of 8.3 In India
PostgreSQL and MySQL
50 Ways To Love Your Project
8.4 Upcoming Features
Elephant Roads: PostgreSQL Patches and Variants

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
 
PPTX
Big Data Technologies - Introduction.pptx
PPTX
MYSQL Presentation for SQL database connectivity
DOCX
The AUB Centre for AI in Media Proposal.docx
 
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Approach and Philosophy of On baking technology
PDF
Encapsulation_ Review paper, used for researhc scholars
Teaching material agriculture food technology
Building Integrated photovoltaic BIPV_UPV.pdf
Chapter 3 Spatial Domain Image Processing.pdf
NewMind AI Monthly Chronicles - July 2025
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Network Security Unit 5.pdf for BCA BBA.
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Reach Out and Touch Someone: Haptics and Empathic Computing
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
 
Big Data Technologies - Introduction.pptx
MYSQL Presentation for SQL database connectivity
The AUB Centre for AI in Media Proposal.docx
 
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Understanding_Digital_Forensics_Presentation.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Approach and Philosophy of On baking technology
Encapsulation_ Review paper, used for researhc scholars

Relational vs. Non-Relational

  • 1. Relational vs. Non-Relational Josh Berkus PostgreSQL Experts Inc. SCALE 2010
  • 2. 2003: â—Ź MySQL â—Ź PostgreSQL â—Ź FireBird â—Ź BerkeleyDB â—Ź Derby â—Ź HSQLDB â—Ź SQLite
  • 3. 2003: â—Ź MySQL â—Ź PostgreSQL â—Ź FireBird â—Ź BerkeleyDB â—Ź Derby â—Ź HSQLDB â—Ź SQLite
  • 4. 2010 â—Ź MySQL â—Ź PostgreSQL â—Ź FireBird â—Ź BerkeleyDB â—Ź Derby â—Ź HSQLDB â—Ź SQLite
  • 8. G ra ph D o c um ent Neo4J C ouchD B HyperGraphDB B erkeleyD B -X M L Jena S olr K ey-va lue D is tributed M emcached C assandra Tokyo C abinet Hypertable db4o M yS Q L ND B R IAK H iera rc hic a l M ongoD B
  • 11. E m bedded O LT P S QLite P ostgreS Q L Firebird M yS Q L HS Q L O racle S Q L S erver M PP S trea m ing TeraD ata Greenplum S treambase Aster Truviso C -S to re LucidD B M onetD B
  • 17. There
  • 18. are
  • 19. no
  • 20. new
  • 23. There are only new implementations and combinations
  • 24. “A database storing application- friendly formatted objects, each containing collections of attributes which can be searched through a document ID, or the creation of ad-hoc indexes as needed by the application.”
  • 26. CouchDB, 2007 embeddable Pick JSON storage REST API map/reduce
  • 29. “renaissance of non-relational databases”
  • 35. US Vetrans' Administration Pick, CachĂ©
  • 38. “Three decades past, the relational empire conquered the hierarchical hegemony. Today, an upstart challenges the relational empire's dominance ...” XML Databases 2001 --Philip Wadler, Keynote VLDB, Rome, September 2001
  • 39. Anyone remember XML databases?
  • 40. No?
  • 42. established relational and non-relational databases hybridized XML
  • 43. Oracle XML PostgreSQL XML2 BerkeleyDB XML DB2
  • 45. “Relational databases are for when you need ACID transactions.”
  • 46. Transactions ≠ Relational
  • 47. Robust Transactions without Relationality: BerkeleyDB Amazon Dynamo SQL Without Transactions: MySQL MyISAM MS Access
  • 50. You
  • 51. do
  • 52. not
  • 53. have
  • 56. Choose the database system which f ts your i current application goals. or ...
  • 57. Use more than one together MySQL + Memcached PostgreSQL + CouchDB or ...
  • 58. Use a Hybrid MySQL NDB PostgreSQL Hstore HadoopDB
  • 59. But what about relational vs non-relational?
  • 60. Relational OLTP Databases* â—Ź Transactions: more mature support – including multi-statement â—Ź Constraints: enforce data rules absolutely â—Ź Consistency: enforce structure 100% â—Ź Complex reporting: keep management happy! â—Ź Vertical scaling (but not horizontal) * mature ones, anyway
  • 61. SQL vs. Not SQL SQL promotes: â—Ź portability â—Ź managed changes over time â—Ź multi-application access â—Ź many mature tools
  • 62. SQL vs. Not SQL But … SQL is a full programming language, and you have to learn it to use it.
  • 63. SQL vs. Not SQL No-SQL allows: â—Ź programmers as DBAs â—Ź no impedance â—Ź fast interfaces â—Ź fast development
  • 64. The main reason to use SQL-RDBMSs
  • 65. “Immortal Data” your data has a life independent of this specif c i application implementation
  • 67. Def ne the problem i you are trying to solve
  • 68. â—Ź “I need a database for my blog” â—Ź “I need to add 1000's of objects per second on a low- end device.” â—Ź “I need my database to enforce business rules across several applications.” â—Ź “I want my application to be location-sensitive.” â—Ź “I need to cache data an access it 100K times per second.” â—Ź “I need to produce summary reports across 2TB of data.” â—Ź “I have a few hundred government documents I need to serve on the web and mine” â—Ź “I need to know who-knows-who-knows-who.” â—Ź “I need to data mine 1000's of 30K bug reports per minute.”
  • 69. Def ne the features i you actually need â—Ź many connections â—Ź multi-server scalability â—Ź complex query logic â—Ź APIs â—Ź redundancy â—Ź data integrity â—Ź schema/schemaless â—Ź data mining
  • 70. i f t the database to the task
  • 71. “I need a database for my blog”
  • 72. Use anything! â—Ź MySQL â—Ź PostgreSQL â—Ź MongoDB â—Ź SQLite â—Ź CouchDB â—Ź Flatf les i â—Ź DBaseIII â—Ź Something you wrote yourself
  • 73. “I need my database to unify several applications and keep them consistent.”
  • 74. PostgreSQL “OLTP SQL-Relational Database” “It's not just a database: it's a development platform”
  • 76. “I need my application to be location-aware.”
  • 78. PostGIS â—Ź Queries across “contains” “near” “closest” â—Ź Complex geometric map objects – polygons – lines (roads, etc) â—Ź Make your own Google Maps! – Sunday, 4:30pm, Concourse A
  • 79. “I need to store 1000's of event objects per second on embedded hardware.”
  • 81. db4object â—Ź German Train System â—Ź Insert 1000's of objects per second â—Ź Low-end embedded console computer â—Ź Simple access in native programming language (Java, .NET) â—Ź compromise: embedded SQL database: SQLite
  • 82. “I need to access 100K objects per second over 1000's of connections.”
  • 83. memcached “Distributed In-Memory Key-Value Store”
  • 84. memcached â—Ź Use: public website â—Ź Used for caching 1000's of serialized objects per second â—Ź Available for 100000's of requests per second across 1000's of connections â—Ź Cache each object only once per site â—Ź Supplements a relational database Alternatives: Redis, TokyoTyrant
  • 85. “I need to produce complex summary reports over 2TB of data.”
  • 87. LucidDB â—Ź For reporting and analysis â—Ź Large quantities of data (TB) â—Ź Complex OLAP & analytics queries â—Ź Business intelligence â—Ź compliments a transactional database
  • 88. “I have 100's of government documents I need to serve on the web and mine for data.”
  • 90. CouchDB 1.CividDB Project 2.Storing lots and lots of government documents 3.Don't know what's in them 4.Don't know how they are structured 5.Store them, f gure out structure later by data i mining. It's also good for web sites!
  • 91. “I have a social application and I need to know who-knows- who-knows- who-knows- who-knows-who.”
  • 93. Neo4j â—Ź Social Network Website â—Ź 6 degrees of separation â—Ź “you may also like” â—Ź type and degrees of relationship
  • 94. “I get 1000's of 30K bug reports per minute and I need to mine them for trends.”
  • 96. Hadoop â—Ź Massive bug report data feed â—Ź 1000's of bug reports per minute â—Ź Each bug report 2-45K of data â—Ź Need to extract trends and correlate inexact data â—Ź Summarize in daily & weekly reports
  • 97. Conclusion â—Ź Different database systems do better at different tasks. – every database feature is a tradeoff – no database can do all things well â—Ź Relational vs. non-relational doesn't matter – pick the database(s) for the project or the task
  • 98. Questions? â—Ź PostgreSQL Project â—Ź PostgreSQL Booth – www.postgresql.org trade show f oor l – josh@postgresql.org â—Ź PostgreSQL 9.0 â—Ź PostgreSQL Experts BOF, Tonight 7pm – www.pgexperts.com â—Ź www.pgexperts.com/documents.html â—Ź Open Source Database Survey – Selena Deckleman – Open Source Database Survey: www.ossdbsurvey.org Copyright 2010 Josh Berkus, distributable under the creative commons attribution license, except for 3rd-party images which are property of their respective owners. Special thanks to Selena Deckelman for the bunnies image and for the Open Source Database survey.