Summer School 2012Databases      Yuriy Guts     R&D Engineer  yuriy.guts@eleks.com
Summer School 2012Why do we need databases?   Try answering this question: Why do we need computers?            ??      ?
Summer School 2012Why do we need databases?     Computer Science          Is it a science?    Is it about computers?  “Dat...
Summer School 2012Navigational databases (1960-s)
Summer School 2012Relational databases (1970-s)
Summer School 2012Relational Algebra 101   Set Union                         Natural JoinSet Intersection                 ...
Summer School 2012 Entity Relationship & (De)NormalizationAssociation Cardinality  • One-to-one  • One-to-many  • Many-to-...
Summer School 2012Structured Query Language (SQL)
Summer School 2012Storage: B-Tree, Indexing
Summer School 2012Database as a Concurrent Storage             Transaction Properties (“ACID”)                    A      A...
Summer School 2012Relational DBMS Products
Object-Relational Mapping (ORM)
Object-Relational Mapping (ORM)
ORM: Example (Entity Framework)
ORM: Design Approaches       Database First        Model First         Code First
Does life exist beyond RDBMS?
Multidimensional Data
Business Intelligence•   Data Analysis•   Performance Measurement•   Enterprise Reporting•   Knowledge Management•   Data ...
Summer School 2012                  NoSQL DatabasesKey-Value Store        Document Store     Multivalue Store Graph Store ...
Summer School 2012Brewer Theorem (“CAP Theorem”)       A distributed computer system   cannot provide all three of the fol...
Summer School 2012NoSQL Database Products
Summer School 2012      Some More DB Types    Active           Embedded         Knowledge    Cloud            Federated   ...
Summer School 2012   ??      ?  Q&Ayuriy.guts@eleks.com
Summer School 2012Thank you!
Upcoming SlideShare
Loading in …5
×

ELEKS Summer School 2012: .NET 09 - Databases

407 views

Published on

"Databases" lecture @ ELEKS Summer School 2012 (Jul 2012)

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

  • Be the first to like this

No Downloads
Views
Total views
407
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

ELEKS Summer School 2012: .NET 09 - Databases

  1. 1. Summer School 2012Databases Yuriy Guts R&D Engineer yuriy.guts@eleks.com
  2. 2. Summer School 2012Why do we need databases? Try answering this question: Why do we need computers? ?? ?
  3. 3. Summer School 2012Why do we need databases? Computer Science Is it a science? Is it about computers? “Datalogy” — Peter Naur, 1961
  4. 4. Summer School 2012Navigational databases (1960-s)
  5. 5. Summer School 2012Relational databases (1970-s)
  6. 6. Summer School 2012Relational Algebra 101 Set Union Natural JoinSet Intersection Equi-JoinCartesian Product Semi-Join Projection Anti-Join Selection Division Rename Outer Join
  7. 7. Summer School 2012 Entity Relationship & (De)NormalizationAssociation Cardinality • One-to-one • One-to-many • Many-to-manyNormal Forms • 1NF • 4NF • 2NF • 5NF • 3NF • DKNF • BCNF • 6NF
  8. 8. Summer School 2012Structured Query Language (SQL)
  9. 9. Summer School 2012Storage: B-Tree, Indexing
  10. 10. Summer School 2012Database as a Concurrent Storage Transaction Properties (“ACID”) A Atomicity C Consistency I Isolation D Durability Although transactions can have different isolation levels!Lower levels can improve performance, but with a price (side effects)
  11. 11. Summer School 2012Relational DBMS Products
  12. 12. Object-Relational Mapping (ORM)
  13. 13. Object-Relational Mapping (ORM)
  14. 14. ORM: Example (Entity Framework)
  15. 15. ORM: Design Approaches Database First Model First Code First
  16. 16. Does life exist beyond RDBMS?
  17. 17. Multidimensional Data
  18. 18. Business Intelligence• Data Analysis• Performance Measurement• Enterprise Reporting• Knowledge Management• Data Mining
  19. 19. Summer School 2012 NoSQL DatabasesKey-Value Store Document Store Multivalue Store Graph Store Object Database RDF Database
  20. 20. Summer School 2012Brewer Theorem (“CAP Theorem”) A distributed computer system cannot provide all three of the following: C Consistency A Availability P Partition Tolerance Common case: “Eventual Consistency” databases
  21. 21. Summer School 2012NoSQL Database Products
  22. 22. Summer School 2012 Some More DB Types Active Embedded Knowledge Cloud Federated ParallelData Warehouse Hypermedia Real-time Distributed Hypertext Spatial Document In-memory Temporal
  23. 23. Summer School 2012 ?? ? Q&Ayuriy.guts@eleks.com
  24. 24. Summer School 2012Thank you!

×