The Ultimate Guide to Choosing WordPress Pros and Cons
Scale Db Preso For Boston My Sql Meetup (9/2009)
1. ScaleDB The cloud database Dial 712-338-7116 Access Code: 789-140-794
2. The Problem The cloud enables you to provision storage and compute power, but not database services…until now. ScaleDB “cloud-enables” open source databases, making them dramatically easier to provision, manage, scale and maintain in the cloud.
3. The Cloud is Disrupting Databases Shared Nothing Shared Disk 200-400 MB/s each 1.25 MB/s each 64 MB/s 1.25 MB/s each 1.25 MB/s each 1.25 MB/s each 8 Gbits+ 10Mbits 10Mbits 10Mbits 10Mbits 64 MB/s (Shared) Cloud Computing and Virtualization are two of Gartner’s Top 10 Disruptive Technologies 2008-2012 1.25 MB/s each
5. Extending Open Source Databases Shared-Disk Clustered DBMS Single Instance DBMS Centralized Lock Manager
6. Shared-Disk Clustered DBMS Shared-Disk Advantages * High-availability / fail-over * Cluster-level load balancing * No partitioning or slaves * Data consistency Centralized Lock Manager
7. The Virtualized Cloud Database VM VM VM VM VM My SQL Server Server 1 Server 2 OSS DBMS OSS DBMS OSS DBMS OSS DBMS OSS DBMS OSS DBMS ScaleDB ScaleDB ScaleDB ScaleDB ScaleDB Storage Engine Local Disk Shared Storage
8. ScaleDB’s Internal Architecture Applications Direct Each Node Central Cluster Manager ScaleDB API Transaction Manager Index Manager Data Manager Global Buffer Manager Lock Manager Local Lock Manager Buffer Manager Global Lock Manager Global Lock Coordinator Log Manager Global Recovery Manager Recovery Manager Storage Manager Operating System Interface Storage Devices Storage Devices
9. ScaleDB: Multi-Table Indexing B-tree: Only indexes the data in tables Index #1 Index #2 Index #3 Index #4 Index #5 #2 #1 #2 #3 #4 #5 #1 #3 #4 #5 ScaleDB: Indexes the data and relationships ScaleDB Index …so what?
10. Conventional Databases & Joins Colleges Index(s) Students Index(s) Enrollment Index(s) Col_ID# Col_Name Col_Budget Col_Description Student_ID# College_ID# Student_Name Student_Desc Coll_ID# Coll_Name Coll_Budget Coll_Description College_ID# Dept_ID# Student_ID# Grade Colleges Students Enrollment Join Join 001 Agriculture $1,234,567 Nice place to visit 002 Arts $5,432,567 Sports not so good 003 Business $9,999,666 Cool logo 004 Education $3,234,567 Ugh Worcester 005 Engineering $8,238,568 Serious work 006 Law $7,237,767 Jumpy students 007 Liberal Arts $9,898,777 Pretty campus 008 Medicine $5,987,004 In Texas 56-8033 008 Mike Hogan Caucasian 56-8045 008 Moshe Smith Caucasian 56-8044 008 Sally Shadmon Native American 56-8055 008 Billy Fleegle African American 56-8037 008 Saul Goode African American 56-8122 008 Tim Collins Polynesian 56-8233 008 Sam Gee Asian 56-8334 008 Rod Paulino Asian 008 4455 56-8037 B+ 008 4455 56-8033 C 008 4455 56-8045 B+ 008 4456 56-8044 A- 008 4456 56-8122 B- 008 4454 56-8233 C 008 4455 56-8334 F 008 4454 56-8055 D Query Result: 4455 B+ | 56-8037 Saul Goode African American | 008 Medicine $5,987,004 In Texas |
11. Col_ID# Col_Name Col_Budget Col_Description Student_ID# College_ID# Student_Name Student_Desc Coll_ID# Coll_Name Coll_Budget Coll_Description College_ID# Dept_ID# Student_ID# Grade Colleges Students Enrollment 001 Agriculture $1,234,567 Nice place to visit 002 Arts $5,432,567 Sports not so good 003 Business $9,999,666 Cool logo 004 Education $3,234,567 Ugh Worcester 005 Engineering $8,238,568 Serious work 006 Law $7,237,767 Jumpy students 007 Liberal Arts $9,898,777 Pretty campus 008 Medicine $5,987,004 In Texas 56-8033 008 Mike Hogan Caucasian 56-8045 008 Moshe Smith Caucasian 56-8044 008 Sally Shadmon Native American 56-8055 008 Billy Fleegle African American 56-8037 008 Saul Goode African American 56-8122 008 Tim Collins Polynesian 56-8233 008 Sam Gee Asian 56-8334 008 Rod Paulino Asian 008 4455 56-8037 B+ 008 4455 56-8033 C 008 4455 56-8045 B+ 008 4456 56-8044 A- 008 4456 56-8122 B- 008 4454 56-8233 C 008 4455 56-8334 F 008 4454 56-8055 D ScaleDB & Joins ScaleDB’s multi-table index is relationship-aware ScaleDB Index College A SingleIndexLookup Students Departments Enrollment Courses Enrollment Query Result: 008 Medicine $5,987,004 In Texas | 56-8037 Saul Goode African American | 4455 B+ |
12. 12 Time vs. Query complexity 8 7 6 5 4 3 2 1 0 ScaleDB index Time per query (seconds) DB/2 (B-tree) 0 2 4 6 8 10 Number of attribute/value pairs Early Results 35-Times faster than IBM DB2 (6 attribute pairs)
13. Customer Value Proposition Runs on low-cost cloud infrastructures (e.g. Amazon) High-availability Dramatically easier set-up & maintenance No partitioning/repartitioning No slave and replication headaches Simplified tuning Scales up/down without interrupting your application Data consistency Lower TCO
14. Cloud Vendor Value Proposition Supports Service Level Agreements High-availability (less downtime, faster recovery) Shifts relationship from dedicated hardware to SLA = profits Compatible with Virtualization (separates data/computing) More portable across computing infrastructure Enables dynamic allocation of computing and storage Reduces Management Overhead Reduced tuning and partitioning support No manual slave promotion or replication DBMS request routing is dynamic not fixed
15. Join Our Beta Program Ideal for: Large data sets/transaction volume Indexing on long keys (e.g URLs) Joins (the more complex the better) How to Join Our Beta: Go to www.scaledb.com and click “Try it Now!” http://scaledb.com/Try-it-Now.html
Notas del editor
Indexes are how databases find information. B-Tree is the index used by databases and it hasn’t changed in 25 years. It indexes the data in each table. <click> ScaleDB provides a quantum leap in indexing with a multi-table index that indexes the data in each table AND the relationships between the tables. <click> so what? In addition to user much less memory (15% - 25%) it is much faster and it enables more complexity in the Node