1. Trang chủ
  2. » Công Nghệ Thông Tin

MySQL introduction for Noobs

49 293 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 49
Dung lượng 3,79 MB

Nội dung

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.

MySQL Introduction Ivan Ma ivan-cs.ma@oracle.com Copyright © 2014 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 © 2015 Oracle and/or its affiliates All rights reserved | Next Generation Financial Services Copyright © 2015 Oracle and/or its affiliates All rights reserved | facebook Application Facebook is a social networking site that connects people with friends and others who work, study and live around them Key Business Benefit MySQL has enabled facebook to grow to 1+ Billion users Why MySQL? “We are one of the largest MySQL web sites in production MySQL has been a revolution for young entrepreneurs.” Facebook Copyright © 2015 Oracle and/or its affiliates All rights reserved | eBay Application Real-time personalization platform to display advertising to more relevant buyers and conduct more effective merchandizing Key Business Benefits Highly scalable and cost-effective system that handles all of eBay’s personalization and session data needs Manages billion requests per day of 50/50 read/write operations Why MySQL Enterprise? • Cost-effective • Performance: 13,000 TPS on Sun Fire x4100 • Scalability: Designed for 10x future growth • Monitoring: MySQL Enterprise Monitor Chris Kasten, Kernel Framework Group, eBay Copyright © 2015 Oracle and/or its affiliates All rights reserved | PayPal Application Distributed global Fraud Detection application with 99.999% availability Key Business Benefit MySQL Cluster provides real-time analysis of user transaction history PayPal manages 40TB of data and achieved 3x higher performance than the original design goal Why MySQL? Scalability & Lower Costs “Technologies such as MySQL Cluster enables users to get the best of both world’s…the agility of NoSQL systems with the trust, maturity and reliability of the SQL model." Daniel Austin Chief Architect, PayPal Copyright © 2015 Oracle and/or its affiliates All rights reserved | MySQL 5.6: A Better MySQL • Performance and Scalability • Optimizer for better query execution times, diagnostics • Performance Schema for better instrumentation • InnoDB for better transactional throughput • NoSQL API for better flexibility • Replication largest set of enhancements ever released! • Fabric for sharding and High Availability Copyright © 2015 Oracle and/or its affiliates All rights reserved | MySQL 5.6 SysBench Benchmarks 3x Faster than MySQL 5.5 Transactions per Second MySQL 5.6 vs 5.5 - Read Only (Linux) 18,000 16,000 14,000 12,000 10,000 8,000 6,000 4,000 2,000 MySQL 5.6.10 MySQL 5.5.29 32 64 128 Connections 256 512 Oracle Linux Intel(R) Xeon(R) E7540 x86_64 MySQL leveraging: - 48 of 96 available CPU threads - GHz, 512GB RAM Copyright © 2015 Oracle and/or its affiliates All rights reserved | MySQL 5.7 Release Candidate Available! RC Performance & Scalability Manageability X Faster than MySQL 5.6 Performance Schema Improvements Enhanced InnoDB: faster online & bulk load operations MySQL SYS Schema Replication Improvements (incl multisource, multi-threaded slaves ) Improved Security: safer initialization, setup & management New Optimizer Cost Model: greater user control & better query performance NEW! JSON Support (now in labs) And many more new features and enhancements… Copyright © 2015 Oracle and/or its affiliates All rights reserved | 10 MySQL Enterprise Authentication • PAM (Pluggable Authentication Modules) – Access external authentication methods – Standard interface (Unix, LDAP, Kerberos, others) – Proxied and non-proxied users • Windows – Access native Windows services – Authenticate users already logged into Windows (Windows Active Directory) • Pluggable Authentication API Integrates MySQL with existing security infrastructures and SOPs Copyright © 2015 Oracle and/or its affiliates All rights reserved | 35 MySQL Enterprise Encryption • MySQL encryption libraries – Symmetric encryption AES256 – Public-key / asymmetric cryptography • Key management – Generate public and private keys – Key exchange methods: RSA, DSA, DH • Sign and verify data – Cryptographic hashing for digital signing, verification, & validation Copyright © 2015 Oracle and/or its affiliates All rights reserved | 36 MySQL Enterprise Audit Joe’s connection & query logged DBA enables Audit plugin User Joe connects and runs a query Copyright © 2015 Oracle and/or its affiliates All rights reserved | 37 MySQL Enterprise Firewall • Real Time Protection – Queries analyzed and matched against White List • Blocks SQL Injection Attacks – Positive Security Model • Block Suspicious Traffic MySQL Enterprise Firewall monitoring – Out of Policy Transactions detected & blocked • Learns White List – Automated creation of approved list of SQL command patterns on a per user basis • Transparent – No changes to application required Copyright © 2015 Oracle and/or its affiliates All rights reserved | 38 MySQL Enterprise Firewall • SQL Injection Protection with Positive Security Model ✔ Allow & Log Select *.* from employee where id=22 Select *.* from employee where id=22 or 1=1 Applications White List ✖ Block & Log • Out of policy database transactions detected and blocked • Logging & Analysis Copyright © 2015 Oracle and/or its affiliates All rights reserved | 39 MySQL Enterprise Audit • Out-of-the-box logging of connections, logins, and query • User defined policies for filtering, and log rotation • Dynamically enabled, disabled: no server restart • XML-based audit stream per Oracle Audit Vault spec Adds regulatory compliance to MySQL applications (HIPAA, Sarbanes-Oxley, PCI, etc.) Copyright © 2015 Oracle and/or its affiliates All rights reserved | 40 MySQL Enterprise High Availability • HA with MySQL Fabric (recommended) • Oracle VM Templates for MySQL • HA with DRBD and Linux Clustering • HA with Solaris Clustering • HA with Windows Failover Clustering • HA with Oracle Clusterware Plugin Range of options to make your MySQL application deployments Highly Available Copyright © 2015 Oracle and/or its affiliates All rights reserved | 41 MySQL Enterprise HA : MySQL Fabric • High Availability features Application Application Connector Connector SQL MySQL Fabric – Server monitoring – Auto-promotion – Transparent application failover – Dynamically scale up and down • Fabric-aware connectors rather than a proxy Read-slaves Read-slaves HA group HA group – Python, Java, and PHP – Lower latency, bottleneck-free • Optional sharding features Copyright © 2015 Oracle and/or its affiliates All rights reserved | 42 MySQL Enterprise HA : Shared Nothing • DRBD + Clustering – Based on distributed storage, not a SAN – Synchronous replication eliminates risk of data loss • Open source, mature, & proven • Certified and fully supported by Oracle – DRBD integrated into Oracle Linux Unbreakable Enterprise Kernel R2 – Pacemaker and Corosync for clustering / failover – Updates to stack via ULN channel Copyright © 2015 Oracle and/or its affiliates All rights reserved | 43 MySQL Enterprise HA : Shared Storage Virtual IP Clients • Stricter data durability, integrity constraints – Shared storage persists commits across instances – Clustering software manages data access – Auto-failover of applications and database – Deploy with MySQL Fabric for scale-out • MySQL certified & supported solutions – Oracle Clusterware – Windows Failover Clustering – Oracle Solaris Cluster Copyright © 2015 Oracle and/or its affiliates All rights reserved | 44 MySQL Enterprise HA : Oracle VM Templates • Oracle Linux Oracle VM Automatic Fault Detection & Recovery Oracle VM • Oracle VM • Oracle VM Manager Secure Live Migration (SSL) Oracle VM Manager Oracle VM Server Pool Oracle VM Servers ocfs2 SAN / iSCSI • Oracle Cluster File System (OCFS2) • MySQL Database (Enterprise Edition) • Pre-installed & pre-configured • Full integration & QA testing • Single point of support Copyright © 2015 Oracle and/or its affiliates All rights reserved | 45 MySQL Enterprise Support • Largest MySQL engineering and support organization • Backed by the MySQL developers • World-class support, in 29 languages • Hot fixes & maintenance releases • 24x7x365 • Unlimited incidents • Consultative support • Global scale and reach Get immediate help for any MySQL issue, plus expert advice Copyright © 2015 Oracle and/or its affiliates All rights reserved | 46 MySQL Enterprise Oracle Certifications • Oracle Enterprise Manager for MySQL • Oracle Linux (w/DRBD stack) • Oracle VM • Oracle Solaris • Oracle Solaris Clustering • Oracle Clusterware • My Oracle Support • Oracle Fusion Middleware • Oracle GoldenGate • Oracle Audit Vault • Oracle Database Firewall • Oracle Secure Backup MySQL integrates into your Oracle environment Copyright © 2015 Oracle and/or its affiliates All rights reserved | 47 MySQL Consultative Support Make the Most of your Deployments • Remote troubleshooting • Replication review • Partitioning review • Schema review • Query review • Performance tuning • and more Copyright © 2015 Oracle and/or its affiliates All rights reserved | 48 ... reserved | MySQL 5.6: A Better MySQL • Performance and Scalability • Optimizer for better query execution times, diagnostics • Performance Schema for better instrumentation • InnoDB for better... than MySQL 5.6 3x Faster than MySQL 5.5 645,000 QPS MySQL 5.7: Sysbench Read Only (Point Select) 700,000 MySQL 5.7 Queries per Second 600,000 500,000 400,000 MySQL 5.6 300,000 200,000 100,000 MySQL. .. | MySQL 5.6 SysBench Benchmarks 3x Faster than MySQL 5.5 Transactions per Second MySQL 5.6 vs 5.5 - Read Only (Linux) 18,000 16,000 14,000 12,000 10,000 8,000 6,000 4,000 2,000 MySQL 5.6.10 MySQL

Ngày đăng: 18/05/2017, 22:50

TỪ KHÓA LIÊN QUAN

w