NoSQL Databases

727 views

Published on

During recent years it has appeared a new concept of databases more flexible and dynamic. They are called NoSQL. That kind of databases coexist with classical relational databases, but: What do they provide us? Why have they appeared ? Which is the wide variety we can choose? We will learn from MongoDB their use and functionalities.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
727
On SlideShare
0
From Embeds
0
Number of Embeds
25
Actions
Shares
0
Downloads
8
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

NoSQL Databases

  1. 1. NoSQL DATABASES Cristina Gómez Alonso #womentechmakers
  2. 2. Digital World
  3. 3. Where everything will be connected... Link
  4. 4. Web 2.0: BigData & Data in real-time
  5. 5. Importance of BigData Gartner Agost 2013
  6. 6. Link
  7. 7. BigDatais hard to move… … because it is BIG !
  8. 8. And we have to achieve … SPEED!
  9. 9. BigData Tools: NoSQL Movement
  10. 10. New tools for new problems   NoSQL DB Properties Scalability Adaptability Data Persistence Cost reductions Simplified problems
  11. 11. NoSQL “Fantastic” Types   Graph Document Wide-Column Key-Value Redis,  Memcached   MongoDB,   CouchDB   Hbase,     Cassandra   Neo4j  
  12. 12. Database Trends
  13. 13. by 10gen
  14. 14. “MongoDB   is   a   tool   of   the   devil   coming   from   the   underworld   to   torment  me  for  my  sins.  Their  arms   are   map/reduce   and   mongodump.   It   poke   me   with   them   day   and   night,  and  I  still  have  nightmares  of   misunderstanding…   NO!!! MongoDB is not that!
  15. 15. Features s •  Structure:  db  à  col  à  doc  à  key/value     •  Relationships:  Array&Documents   •  Flexible  Data  Model   •  Desployment:  replicated  servers     •  Examples:  foursquare,  craigslist     •  Free  courses  of  6  weeks  (10h/week)   university.mongodb.com   •  Online  tool:  try.mongodb.org  
  16. 16. JSON to BJSON
  17. 17. Operations Connection: •  getDB   •  connect   Readings: •  find   •  findone     Operations on collections: •  count   •  createIndex   •  drop   •  sort   Access Control: •  addUser   •  changeUserPassword   •  getLastError   •  help   Replication: •  conf   •  help   •  add   •  remove   Sharding: •  addShard   •  enableSharding   •  status   Writings: •  insert   •  update   •  save   •  findAndModify   •  remove  
  18. 18. More examples update ensureIndex count remove  
  19. 19. OPERATIONAL ONLINE DATA REAL-TIME, LOW LATENCY, HIGH AVAILABILITY •  M2M  Apps   •  Mobile/Social  Apps   •  Product  Catalog   •  360  degree-­‐view  of  a  user   •  Comment  Storage   •  Voting  Systems  
  20. 20. 5th in the Ranking(db-engines.com)
  21. 21. Job Trends(451research.com i indeed.com)
  22. 22. Questions?
  23. 23. 1.  In  order  to  get  their  attention,  you  have  to   turn  them  on.   2.  They   have   a   lot   of   data,   but   are   still   clueless.     3.  They   are   supposed   to   help   you   solve   problems,   but   half   the   time   they   are   the   problem.     4.  As  soon  as  you  commit  to  one,  you  realize   that,  if  you  had  waited  a  little  longer  you   could  have  had  a  better  model.   Similarities
  24. 24. 1.  No   one   but   the   creator   understands   their   internal  logic.   2.  The   native   language   they   use   to   communicate   with   other   computers   is   incomprehensible  to  everyone  else.   3.  Even  your  smallest  mistakes  are  stored  in   long-­‐term  memory  for  later  retrieval.   4.  As   soon   as   you   make   a   commitment   to   one,   you   find   yourself   spending   half   your   paycheck  on  accessories  for  it.   Similarities
  25. 25. THANK YOUfor your attention
  26. 26. Cristina Gómez Alonso @crisgomal

×