SlideShare a Scribd company logo
1 of 45
Download to read offline
No.SQL
                           Design   ✯   Store   ✯   Scale        ✯      Search


                                                                           Mariusz Gil
                                                                                -    ``
                                                     Careercon, kariera programisty, lodz 2012
piątek, 31 sierpnia 2012
piątek, 31 sierpnia 2012
                           historia
„
                           NoSql is a fast, portable, relational database
                           management system without arbitrary limits,
                           (other than memory and processor speed) that
                           runs under, and interacts with, the UNIX1
                           Operating System. It uses the "Operator-Stream
                           Paradigm" described in "Unix Review".

                           Carlo Strozzi, Marzec 1991




piątek, 31 sierpnia 2012
piątek, 31 sierpnia 2012
Klasyfikacja
piątek, 31 sierpnia 2012
HADOOP / HBASE
                            CASSANDRA
                            HYPERTABLE

        Wide Column Store   ACUMULLO
                            AMAZON SIMPLE DB
                            CLOUDATA
                            SCIDB
                            STRATOSPHERE


piątek, 31 sierpnia 2012
MONGODB
                           COUCHDB
                           RAVENDB

        Document Store     THRUDB
                           TERRASTORE
                           RAPTORDB
                           SDB
                           SCHEMA FREE DB


piątek, 31 sierpnia 2012
DYNAMODB
                             AZURE TABLE STORAGE
                             RIAK

        Key-Value / Touple   SCALARIS

        Store                TOKYO CABINET / TYRANT
                             REDIS
                             VOLDEMORT
                             MNESIA


piątek, 31 sierpnia 2012
NEO4J
                           INFINITE GRAPH
                           HYPER GRAPH DB

        Graph Database     ALLEGRO GRAPH
                           VERTEXDB
                           FLOCKDB
                           DEX
                           TRYNITY


piątek, 31 sierpnia 2012
DB4O
                           VERSTANT
                           OBJECTIVITY

        Object Database    PERST
                           MAGMA
                           STERLING
                           EYEDB
                           NINJA DATABASE PRO


piątek, 31 sierpnia 2012
MARK LOGIC SERVER
                           DOCUMENTUM XDB

        XML Database       EXIST
                           BASEX
                           QIZX
                           BERKELEY DB XML




piątek, 31 sierpnia 2012
BuzzWords
              SCHEMA FREE      DISTRIBUTED    ACID / BASE     EVENTUALLY CONSISTENT

              FAULT TOLERANT      HIGH PERFORMANCE     HIGH AVAILABILITY




piątek, 31 sierpnia 2012
case studies
piątek, 31 sierpnia 2012
C




                               A

                           B           Problem
piątek, 31 sierpnia 2012
`
                           Jak uzupełnic
                            KRAWEDZIE   W             -
                                            GRAFIE SPOLECZNYM
                                `




piątek, 31 sierpnia 2012
G
                               C

                                       E

                               B
                                               F
                           A       D

                                           Problem
piątek, 31 sierpnia 2012
Które połaczenie
                                ,
                           JEST NAJLEPSZE            `
                                            LUB NAJTANSZE




piątek, 31 sierpnia 2012
Neo4j
         Grafowa baza danych
                                    .
         Algorytm najkrótszych sciezek
                                  .
         Algorytm wszystkich sciezek
                                          .
         Algorytm wszystkich prostych sciezek
         Algorytm Dijksty
         Algorytm A*



         http://neo4j.org/
piątek, 31 sierpnia 2012
Neo4j
         Przyklad
              -

          firstNode	
  =	
  graphDb.createNode();
          firstNode.setProperty("message",	
  "Hello,	
  ");
          secondNode	
  =	
  graphDb.createNode();
          secondNode.setProperty("message",	
  "World!");
          	
  
          relationship	
  =	
  firstNode.createRelationshipTo(secondNode,	
  RelTypes.KNOWS);
          relationship.setProperty("message",	
  "brave	
  Neo4j	
  ");

          firstNode.getSingleRelationship(RelTypes.KNOWS,	
  Direction.OUTGOING).delete();
          firstNode.delete();
          secondNode.delete();




piątek, 31 sierpnia 2012
A



                               Problem
piątek, 31 sierpnia 2012
``
                           Jak znalezc
                                ZNAJOMYCH   ONLINE




piątek, 31 sierpnia 2012
Problem
piątek, 31 sierpnia 2012
Redis
         Serwer struktury danych

         Key value storage z trwałoscia danych
                                      ,
         Obsługa łancuchów tekstowych
         Obsługa hashy
         Obsługa list
         Obsługa zbiorów
         Obsługa zbiorów sortowanych
         Protokół Publish / Subscribe

         http://redis.io/
piątek, 31 sierpnia 2012
Redis
         Przyklad
              -

          redis>	
  SADD	
  myset	
  "Hello"   redis>	
  LPUSH	
  mylist	
  "world"      redis>	
  ZADD	
  myzset	
  1	
  "one"
          (integer)	
  1                       (integer)	
  1                            (integer)	
  1
          redis>	
  SADD	
  myset	
  "World"   redis>	
  LPUSH	
  mylist	
  "hello"      redis>	
  ZADD	
  myzset	
  2	
  "two"
          (integer)	
  1                       (integer)	
  2                            (integer)	
  1
          redis>	
  SADD	
  myset	
  "World"   redis>	
  LRANGE	
  mylist	
  0	
  -­‐1   redis>	
  ZADD	
  myzset	
  3	
  "three"
          (integer)	
  0                       1)	
  "hello"                             (integer)	
  1
          redis>	
  SMEMBERS	
  myset          2)	
  "world"                             redis>	
  ZRANGEBYSCORE	
  myzset	
  -­‐inf	
  +inf
          1)	
  "World"                        redis>	
                                  1)	
  "one"
          2)	
  "Hello"                                                                  2)	
  "two"
          redis>	
                                                                       3)	
  "three"
                                                                                         redis>	
  ZRANGEBYSCORE	
  myzset	
  1	
  2
                                                                                         1)	
  "one"
                                                                                         2)	
  "two"
                                                                                         redis>



piątek, 31 sierpnia 2012
Problem


                      Cena          Cena        Cena        Cena
                      Producent     Producent   Wykonawca   Producent
                      Matryca       Monitor     Utwory             `
                                                            Szybkosc`
                      Typ pamieci
                              ,     Dysk HDD                Kolor




                                                                    Problem
piątek, 31 sierpnia 2012
Jak efektywnie
                                  `
                             OPISAC   PRODUKTY    `
                                                    .
                                                 ROZNEGO RODZAJU




piątek, 31 sierpnia 2012
MongoDB
         Dokumentowa baza danych

                  `
         Dowolnosc` schematu danych
         Indeksy
         MapReduce
         Skalowalnosc horyzontalna
                     ``
         Replikacja danych



         http://mongodb.org/
piątek, 31 sierpnia 2012
MongoDB
         Przyklad
              -

          {	
                                                                      doc	
  =	
  {
          	
  	
  author:	
  'joe',                                                        author	
  :	
  'joe',	
  
          	
  	
  created	
  :	
  new	
  Date('03/28/2009'),                               created	
  :	
  new	
  Date('03/28/2009'),	
  
          	
  	
  title	
  :	
  'Yet	
  another	
  blog	
  post',                          title:	
  'Sample	
  title',
          	
  	
  text	
  :	
  'Here	
  is	
  the	
  text...',                             tags:	
  [	
  "moon",	
  "apollo",	
  "spaceflight"	
  ],
          	
  	
  tags	
  :	
  [	
  'example',	
  'joe'	
  ],                              ...	
  
          	
  	
  comments	
  :	
  [                                               };
                     {	
  author:	
  'jim',	
  comment:	
  'I	
  disagree'	
  },
                     {	
  author:	
  'nancy',	
  comment:	
  'Good	
  post'	
  }   db.posts.insert(doc);
          	
  	
  ]                                                                db.posts.find(	
  {	
  "comments.author"	
  :	
  "jim"	
  }	
  )
          }                                                                        db.posts.ensureIndex(	
  {	
  tags:	
  1	
  }	
  );
                                                                                   db.posts.findOne(	
  {	
  tags:	
  "apollo"	
  }	
  ).title;




piątek, 31 sierpnia 2012
piątek, 31 sierpnia 2012
                           alternative.to
Czy na pewno
                             POTRZEBUJE   ROZWIAZANIA NOSQL
                                      `         `




piątek, 31 sierpnia 2012
APLIKACJE TYPU FACEBOOK
                              `
        NIE KORZYSTAJA Z JOIN-OW  `




piątek, 31 sierpnia 2012
.
        A TAKZE NIE WYKORZYSTUJA
                               `
        INDEKSOW KLUCZY OBCYCH



piątek, 31 sierpnia 2012
A SKALOWANIE BAZY DANYCH ZACZYNA SIE
                                           `
        NA POZIOMIE SCHEMATU DANYCH



piątek, 31 sierpnia 2012
cket
                                             rSo ps

                                     0
                                         ndle q

                                   0
                                    A Ha

                                .0
                              DeN

                           7 5 0

piątek, 31 sierpnia 2012
watek na polaczenie

                                 3306
                                        Akceptacja protokolu
                                        Parsowanie SQL
                 MySQL .API             Optymalizacja SQL
                                        Otwarcie tabel
                 dla złozonych          Query Plan
                 zapytan `              Query Cache
                                        Dostep do danych
                                        Zamkniecie tabel                       Storage
                                        Zwrócenie wyników                      Engine
                                                                               InnoDB
                                                                               MyISAM
                HandlerSocket                                                  ...
                dla zapytan`            Akceptacja protokołu
                                        Dostep do danych
                                            ,
                szybkich lub            Zwrócenie wyników
                index scan
                                 9998    9999

                                                               watek workera




piątek, 31 sierpnia 2012
MySQL Cluster
         high performance database

         Auto-sharding
                    `
         Skalowalnosc` horyzontalna online
         Real-time performance
         Dostep do danych SQL i NoSQL
              ,
         ACID



         http://www.mysql.com/products/cluster
piątek, 31 sierpnia 2012
piątek, 31 sierpnia 2012
                           big bang theory
PROUDLY SPONSORED BY CASSANDRA*


                                                        *oraz   developerow


piątek, 31 sierpnia 2012
PROUDLY SPONSORED BY MONGODB*




                                                           *oraz developerów


piątek, 31 sierpnia 2012
dobre praktyki
piątek, 31 sierpnia 2012
R.T.F.M.
                                .
                           powaznie, rtfm



piątek, 31 sierpnia 2012
DOBOR TECHNOLOGII
                           uzasadniony potrzebami



piątek, 31 sierpnia 2012
plan backupu
                                -`
                            dzialajacy w praktyce



piątek, 31 sierpnia 2012
monitoring
                                              ``
                           zanim bedzie zbyt pozno
                                  `


piątek, 31 sierpnia 2012
Pytania?
                           Email: mariusz@mariuszgil.pl   ✯   Twitter: @mariuszgil




piątek, 31 sierpnia 2012

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

No sql mariusz g-il

  • 1. No.SQL Design ✯ Store ✯ Scale ✯ Search Mariusz Gil - `` Careercon, kariera programisty, lodz 2012 piątek, 31 sierpnia 2012
  • 2. piątek, 31 sierpnia 2012 historia
  • 3. NoSql is a fast, portable, relational database management system without arbitrary limits, (other than memory and processor speed) that runs under, and interacts with, the UNIX1 Operating System. It uses the "Operator-Stream Paradigm" described in "Unix Review". Carlo Strozzi, Marzec 1991 piątek, 31 sierpnia 2012
  • 6. HADOOP / HBASE CASSANDRA HYPERTABLE Wide Column Store ACUMULLO AMAZON SIMPLE DB CLOUDATA SCIDB STRATOSPHERE piątek, 31 sierpnia 2012
  • 7. MONGODB COUCHDB RAVENDB Document Store THRUDB TERRASTORE RAPTORDB SDB SCHEMA FREE DB piątek, 31 sierpnia 2012
  • 8. DYNAMODB AZURE TABLE STORAGE RIAK Key-Value / Touple SCALARIS Store TOKYO CABINET / TYRANT REDIS VOLDEMORT MNESIA piątek, 31 sierpnia 2012
  • 9. NEO4J INFINITE GRAPH HYPER GRAPH DB Graph Database ALLEGRO GRAPH VERTEXDB FLOCKDB DEX TRYNITY piątek, 31 sierpnia 2012
  • 10. DB4O VERSTANT OBJECTIVITY Object Database PERST MAGMA STERLING EYEDB NINJA DATABASE PRO piątek, 31 sierpnia 2012
  • 11. MARK LOGIC SERVER DOCUMENTUM XDB XML Database EXIST BASEX QIZX BERKELEY DB XML piątek, 31 sierpnia 2012
  • 12. BuzzWords SCHEMA FREE DISTRIBUTED ACID / BASE EVENTUALLY CONSISTENT FAULT TOLERANT HIGH PERFORMANCE HIGH AVAILABILITY piątek, 31 sierpnia 2012
  • 13. case studies piątek, 31 sierpnia 2012
  • 14. C A B Problem piątek, 31 sierpnia 2012
  • 15. ` Jak uzupełnic KRAWEDZIE W - GRAFIE SPOLECZNYM ` piątek, 31 sierpnia 2012
  • 16. G C E B F A D Problem piątek, 31 sierpnia 2012
  • 17. Które połaczenie , JEST NAJLEPSZE ` LUB NAJTANSZE piątek, 31 sierpnia 2012
  • 18. Neo4j Grafowa baza danych . Algorytm najkrótszych sciezek . Algorytm wszystkich sciezek . Algorytm wszystkich prostych sciezek Algorytm Dijksty Algorytm A* http://neo4j.org/ piątek, 31 sierpnia 2012
  • 19. Neo4j Przyklad - firstNode  =  graphDb.createNode(); firstNode.setProperty("message",  "Hello,  "); secondNode  =  graphDb.createNode(); secondNode.setProperty("message",  "World!");   relationship  =  firstNode.createRelationshipTo(secondNode,  RelTypes.KNOWS); relationship.setProperty("message",  "brave  Neo4j  "); firstNode.getSingleRelationship(RelTypes.KNOWS,  Direction.OUTGOING).delete(); firstNode.delete(); secondNode.delete(); piątek, 31 sierpnia 2012
  • 20. A Problem piątek, 31 sierpnia 2012
  • 21. `` Jak znalezc ZNAJOMYCH ONLINE piątek, 31 sierpnia 2012
  • 23. Redis Serwer struktury danych Key value storage z trwałoscia danych , Obsługa łancuchów tekstowych Obsługa hashy Obsługa list Obsługa zbiorów Obsługa zbiorów sortowanych Protokół Publish / Subscribe http://redis.io/ piątek, 31 sierpnia 2012
  • 24. Redis Przyklad - redis>  SADD  myset  "Hello" redis>  LPUSH  mylist  "world" redis>  ZADD  myzset  1  "one" (integer)  1 (integer)  1 (integer)  1 redis>  SADD  myset  "World" redis>  LPUSH  mylist  "hello" redis>  ZADD  myzset  2  "two" (integer)  1 (integer)  2 (integer)  1 redis>  SADD  myset  "World" redis>  LRANGE  mylist  0  -­‐1 redis>  ZADD  myzset  3  "three" (integer)  0 1)  "hello" (integer)  1 redis>  SMEMBERS  myset 2)  "world" redis>  ZRANGEBYSCORE  myzset  -­‐inf  +inf 1)  "World" redis>   1)  "one" 2)  "Hello" 2)  "two" redis>   3)  "three" redis>  ZRANGEBYSCORE  myzset  1  2 1)  "one" 2)  "two" redis> piątek, 31 sierpnia 2012
  • 25. Problem Cena Cena Cena Cena Producent Producent Wykonawca Producent Matryca Monitor Utwory ` Szybkosc` Typ pamieci , Dysk HDD Kolor Problem piątek, 31 sierpnia 2012
  • 26. Jak efektywnie ` OPISAC PRODUKTY ` . ROZNEGO RODZAJU piątek, 31 sierpnia 2012
  • 27. MongoDB Dokumentowa baza danych ` Dowolnosc` schematu danych Indeksy MapReduce Skalowalnosc horyzontalna `` Replikacja danych http://mongodb.org/ piątek, 31 sierpnia 2012
  • 28. MongoDB Przyklad - {   doc  =  {    author:  'joe', author  :  'joe',      created  :  new  Date('03/28/2009'), created  :  new  Date('03/28/2009'),      title  :  'Yet  another  blog  post', title:  'Sample  title',    text  :  'Here  is  the  text...', tags:  [  "moon",  "apollo",  "spaceflight"  ],    tags  :  [  'example',  'joe'  ], ...      comments  :  [ }; {  author:  'jim',  comment:  'I  disagree'  }, {  author:  'nancy',  comment:  'Good  post'  } db.posts.insert(doc);    ] db.posts.find(  {  "comments.author"  :  "jim"  }  ) } db.posts.ensureIndex(  {  tags:  1  }  ); db.posts.findOne(  {  tags:  "apollo"  }  ).title; piątek, 31 sierpnia 2012
  • 29. piątek, 31 sierpnia 2012 alternative.to
  • 30. Czy na pewno POTRZEBUJE ROZWIAZANIA NOSQL ` ` piątek, 31 sierpnia 2012
  • 31. APLIKACJE TYPU FACEBOOK ` NIE KORZYSTAJA Z JOIN-OW ` piątek, 31 sierpnia 2012
  • 32. . A TAKZE NIE WYKORZYSTUJA ` INDEKSOW KLUCZY OBCYCH piątek, 31 sierpnia 2012
  • 33. A SKALOWANIE BAZY DANYCH ZACZYNA SIE ` NA POZIOMIE SCHEMATU DANYCH piątek, 31 sierpnia 2012
  • 34. cket rSo ps 0 ndle q 0 A Ha .0 DeN 7 5 0 piątek, 31 sierpnia 2012
  • 35. watek na polaczenie 3306 Akceptacja protokolu Parsowanie SQL MySQL .API Optymalizacja SQL Otwarcie tabel dla złozonych Query Plan zapytan ` Query Cache Dostep do danych Zamkniecie tabel Storage Zwrócenie wyników Engine InnoDB MyISAM HandlerSocket ... dla zapytan` Akceptacja protokołu Dostep do danych , szybkich lub Zwrócenie wyników index scan 9998 9999 watek workera piątek, 31 sierpnia 2012
  • 36. MySQL Cluster high performance database Auto-sharding ` Skalowalnosc` horyzontalna online Real-time performance Dostep do danych SQL i NoSQL , ACID http://www.mysql.com/products/cluster piątek, 31 sierpnia 2012
  • 37. piątek, 31 sierpnia 2012 big bang theory
  • 38. PROUDLY SPONSORED BY CASSANDRA* *oraz developerow piątek, 31 sierpnia 2012
  • 39. PROUDLY SPONSORED BY MONGODB* *oraz developerów piątek, 31 sierpnia 2012
  • 40. dobre praktyki piątek, 31 sierpnia 2012
  • 41. R.T.F.M. . powaznie, rtfm piątek, 31 sierpnia 2012
  • 42. DOBOR TECHNOLOGII uzasadniony potrzebami piątek, 31 sierpnia 2012
  • 43. plan backupu -` dzialajacy w praktyce piątek, 31 sierpnia 2012
  • 44. monitoring `` zanim bedzie zbyt pozno ` piątek, 31 sierpnia 2012
  • 45. Pytania? Email: mariusz@mariuszgil.pl ✯ Twitter: @mariuszgil piątek, 31 sierpnia 2012