Date post: | 22-Feb-2017 |
Category: |
Technology |
Upload: | mario-beck |
View: | 681 times |
Download: | 1 times |
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
MySQL For SaaS Raise Customer Satisfaction, Lower Costs and Risk with MySQL
Mario Beck, Principal Sales Consultant Claudiu Moldovan , MySQL Account Manager
15-Februar-2016
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Das MySQL Team Tomica Mozina- MySQL Field Manager Germany, Central & Eastern Europe [email protected] Tel.: +43 6648103111
Ana Ignat, MySQL Account Manager Germany [email protected] Tel: +49 8914301640
Claudiu Moldovan, MySQL Account Manager Germany [email protected] Tel:+49 6103397030
Mario Beck, Principal Sales Consultant [email protected] Tel:+493312007334
Mihai Chertes, MySQL Account Manager Austria [email protected] Tel:+40 213679398
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Program
1. SaaS is HOT! 2. MySQL and SaaS
- New features in MySQL that are useful for SaaS
3. How to meet SLAs with MySQL 4. How to comply with security and privacy
regulations and standards
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
SaaS or Hosting?
• SaaS looks like “hosting” but is subtly different… • Traditional hosting:
– Perpetual license with additional support and hosting fees (Capex / Opex) – Usually 1 hosted installation per license
• SaaS: – Typically subscription-based and not license ownership (Opex only) – Easy procurement with pay-as-you-go options often available – Often configured for multi-tenancy to maximize the use of infrastructure – Quickly becoming a favorite for many vendors and customers
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
• SaaS was $49 bn in 2014 and will more than double within 5 years to $113 bn in 2019, with a CAGR of 18.3%.
• SaaS is growing over ten times faster than traditional on-premise software. • Nearly 19% of the overall applications market was SaaS in 2014. • By 2019, SaaS will be 29% of application market. • 23 of the top 25 ISVs are also among the top 100 SaaS vendors. • Salesforce.com, a SaaS pure-play, is one of the 10 largest software vendors. Source: IDC 8/2015
SaaS is Hot
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
• Meeting customers SaaS criteria... – Vendor Experience and Reliability – Data Security, Protection and and Service Levels – Performance and Scalability – Manageability, Flexibility – Cost-effectiveness
The Biggest Challenge For SaaS Vendors
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
• ... when applied to a service – Comprised of application AND software and hardware platforms, IT
services and operations, security, databases, etc. – Most components outside the software vendors’ core competencies – Customers hold SaaS vendors accountable for all - with long, complex
SLAs
The Biggest Challenge For SaaS Vendors
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Never Feel Alone With MySQL
• Largest Ever Team of MySQL Experts • Backed by MySQL Developers • Forward Compatible Hot Fixes • 24/7/365 in 29 languages • Unlimited Incidents • Knowledge Base • MySQL Consultative Support
Rely on the experts!
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Far From Alone When Using MySQL MySQL: Most popular Open Source database in the Cloud
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Need MySQL Delivers
Customers’ demands
• High performance and scalability • High availability – up to five nines • Highly reliable and fault-tolerant • Data protection and security
Low TCO
• Low cost (licensing, hardware, etc.) • Low or zero admin • Performance & scalability on commodity hardware • Flexibility – Multi-Platform & Language, • No DB migration: Basic Æ Enterprise Editions; On-premise Æ SaaS
MySQL Delivers For SaaS
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
MySQL @ Oracle
• 2x more Engineering staff • 3x more QA staff • 2x more Support staff • Releases delivered:
– MySQL 5.5, 5.6, 5.7 – MySQL Cluster 7.1, 7.2, 7.3, 7.4 – MySQL Fabric
• Commitment to Open Source: – InnoDB since 2005 – MySQL – Oracle Linux – Java – VirtualBox – Xen – Many more...
Oracle is a top Open Source player
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
MySQL Optimized For SaaS
Hybrid Database Best of both worlds: RDMBS and NoSQL
Save Time, Efforts & Costs Improved manageability
Scalable Foundation for Your Business Faster database server and horizontal scaling
Enhanced Security New features and secure defaults
MySQL
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Did You Know MySQL Can Do These Things?
• GIS Support with spatial indexes • Native JSON data type with Indexing support • Generated columns (a.k.a. functional columns) • Full-Text Search fully supported • Native NoSQL memcached API • Many changes done online
5.7
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Got SLA’s?
• Maximize single instance performance: – Faster queries – Improve database layout – Optimize server settings
• Increase total database horse-power by adding new servers • Constant monitoring to:
– Be alerted immediately of any problem… or prevent them in the first place – Investigate and correct performance dips
• Fast low-impact backup and restore
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
With Thread Pool
Without Thread Pool
MySQL 5.6.11 Oracle Linux 6.3, Unbreakable Kernel 2.6.32 4 sockets, 24 cores, 48 Threads Intel(R) Xeon® E7540 2GHz CPUs 512GB DDR RAM
0
2000
4000
6000
8000
10000
12000
1 4 16 32 64 128 256 512 1024 2048 4096 8192
Tran
sact
ions
Per
Sec
ond
Simultaneous Database Connections
MySQL 5.6 Sysbench OLTP Read/Write
Enable Thread Pool To Sustain Peak Performance
Maximize the utilization of a machine before adding another
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
0
200.000
400.000
600.000
800.000
1.000.000
1.200.000
8 16 32 64 128 256 512 1.024
Que
ries p
er S
econ
d
Connections
Sysbench OLTP Read Only
MySQL 5.7
MySQL 5.6
MySQL 5.5
1,000,000 Queries/Sec MySQL Performance By Version
Intel(R) Xeon(R) CPU E7-8890 v3 4 sockets x 18 cores-HT (144 CPU threads) 2.5 Ghz, 512GB RAM Linux kernel 3.16
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Replication: Scale Performance With More Servers
• One of the most widely used feature of MySQL • Duplicates database from one master to one or more slaves • Great way to improve READ performance by scaling out • Foundation for High-Availability and Data Security • Can be part of a backup strategy
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Replication Used By the Biggest Names
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Global Data Shard 1 Shard 2
MySQL Fabric controller
MySQL Router Server/Shard State & Mapping
Global Group HA Group
Coordination and Control
HA Group
MySQL Fabric: Scaling The Data Center
• High-Availability and automatic Failover • Sharding management (can also be used to manage data locality) • Load-balancing
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Easy Deployment: A Traditional MySQL Strength
• Easy to procure and install – Installation steps are simplified in MySQL 5.7
• Bare metal: – Commodity hardware – High-end machines (scales very well with high CPU counts for 1M+ QPS)
• Integrates with virtualized environments: – Public clouds – Private clouds (ex. OpenStack) – VM machines and clusters
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Provisioning New MySQL Instances
• Docker containers maintained by MySQL • Recipes available for Chef and Puppet • Automatic registration to MySQL Enterprise Monitor • Automated addition to MySQL Fabric HA groups • Pre-created database accounts
– Authenticate externally to manage accounts centrally – Use Proxy accounts
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Native Support For OpenStack
• OpenStack is the foundation of many clouds, public and private • MySQL is well integrated with OpenStack:
– It is the database behind Keystone – It is available as a DBaaS with Trove
• MySQL Fabric can launch new Trove MySQL instances and add them to HA groups
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
• Online Backup – Low impact on the database
• Full and incremental to enable backup strategies – Point-in-time recovery option available
• Partial backup and restore – Multi-tenancy: restore a single customer live without affecting the others
• Scale MySQL by adding servers provisioned with a recent backup On-premise use: compatible with OSB, Tivoli™, NetBackup™ Cloud use: stream to Amazon S/3 and OpenStack Swift
MySQL Enterprise Backup
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
MySQL Enterprise Monitor • Complete view of the MySQL environment • Monitoring and sending alerts • Replication monitoring • Backup monitoring • Integration with Oracle Support • Also available as an Oracle EM plugin • Cloud compatible
Necessary for meeting SLAs
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Integrated Query Analyzer • Shows possible problem
queries and provides advice • Drill down into query
explain plans • Faster queries can help
meet SLAs • Optimize to prevent
performance dips
“Pack” more queries per server
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
How MySQL helps to comply with security standards and regulations
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
47% of companies have experienced a data breach in the past year. Source: Ponemon Institute, 2015
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
• Regulations – PCI – DSS: Payment Card Data – HIPAA: Privacy of Health Data – Sarbanes Oxley: Accuracy of Financial Data – EU Data Protection Directive: Protection of Personal Data – Data Protection Act (UK): Protection of Personal Data
• Requirements – Continuous Monitoring (Users, Schema, Backups, etc) – Data Protection (Encryption, Privilege Management, etc.) – Data Retention (Backups, User Activity, etc.) – Data Auditing (User activity, etc.)
May be required for doing business!
Regulatory Compliance
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Enable The Audit Plugin For Compliance
• Helps meet regulatory compliance – Auditing often a HUGE requirement for
compliance
• Granular configuration • Format compatible with audit tools:
– Oracle Audit Vault
• Log custom session attributes – For example, the end-user’s IP address to
link the real user to the database activity
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Centralize Data And Application Logs
• Multiple servers can be replicated to a central one – Partial replication supported – Keep some data local, replicate rest – …especially for data locality policies
• A great way to centralize application logs
• Run reports on the central server • Backup the most sensitive data
Perfect for MySQL Fabric!
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
TLS Open
All Communications Secured
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Turn On Database Firewall
• Prevent SQL injection attacks • Detect unwanted application code changes • SQL database firewall:
– Filter by query – Allowed queries can be entered or recorded – Configurable per user
• Events are logged in Audit Log • Events are tracked in MySQL Enterprise Monitor
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Keep Your Customers’ Data Safe
• 256-bit hashing (SHA256) • Strong data-at-rest encryption
– Symmetric encryption AES256 – Public-key / asymmetric cryptography
• Key management: – Generate public and private keys – Key exchange methods: RSA, DSA, DH
• Single-pass encrypted backup – Remember: a stolen backup is a stolen database!
Key management is the cornerstone of data security
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
In Conclusion, MySQL Great For SaaS!
• Low risk with Oracle behind MySQL – Oracle has a long term strategy for MySQL
• A One-stop shop database availability and security: – Performance and scalability – Monitoring – Backup – Security and privacy features (encryption, firewall, and more) – Support and help available with unlimited incidents
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Keep Costs Low With MySQL
• Very competitive pricing model – Includes all functionality, no extras or add-on fees needed
• Works perfectly on commodity machines, physical or virtual • Maximize server utilization before adding more servers • Integrate MySQL with existing infrastructure investments:
– Centralize authentication – Backup to cloud or existing backup solution – Use audit logs with popular tools
Lowering costs is a main driver for going SaaS!
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Sharecat Company Overview Provides supply chain management solutions to oil and gas operators. Application Software-as-a-Service (SaaS) based solutions with Web interface, storing and delivering fast access to a large amount of information necessary for the construction and the maintenance of oil rigs. Why MySQL Enterprise Edition? "MySQL allowed us to build a professional solution to serve our global clients at low cost. It fulfilled our requirements extremely well. MySQL just works, it's a very stable, high performance and cost-effective database. In addition, we get great service from Oracle." Tom-Kenneth Fossheim, Chief Technology Officer Sharecat