Introduction to MySQL high availability technology: InnoDB Cluster. How to set up a cluster in minutes which will be automatically handling failover and conflicts. 際際滷s in Russian
MySQL Document Store (Oracle Code Warsaw 2018)Vittorio Cioe
油
Utilizing MySQL as a document store and storing data in NO SQL fashion it is not only possible, but it also brings the advantages of NO SQL operations together with the power of a relational database. Combining this two aspects it is possible to get fast access to data for applications which want to benefit of the simplicity of NO SQL, but also it is possible to benefit of the granularity of SQL operations for analytics and insights. In the end, using MySQL as a document store, NO SQL take the meaning of Not Only SQL!
Security landscape has been a constantly and rapidly changing scenario in the last decades. Threats have evolved from targeting services' availability to targeting data and data integrity. Therefore, now more than ever, data protection becomes critical and needs an in-depth approach which starts from the databes. Learn more about what MySQL has to offer to help you put in place security best practices to start protecting your data straight from the database!
MySQL InnoDB Cluster: High Availability Made Easy!Vittorio Cioe
油
InnoDB Cluster represents the present and the future of High-Availability technologies for MySQL! It has been developed to remove from the discussion all the "BUT" which used to arised when we were speaking about high-availability with MySQL. Now, with quasi-automated deployment, fully automated failover and conflict resolution, designing, implementing and maintaing your highly-available MySQL infrastructure is a really no-stress operation!
Introduction to new technologies present in MySQL which enable developing next gen applications. Technologies like JSON and document store, or microservices. 際際滷s in Russian
1. Copyright 息 2015, Oracle and/or its affiliates. All rights reserved. |
MySQL 8.0
Vittorio Cioe
MySQL Sr. Sales Consultant
vittorio.cioe@oracle.com
2. Copyright 息 2015, 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 Oracles products remains at the sole discretion of Oracle.
2
3. Copyright 息 2015, Oracle and/or its affiliates. All rights reserved. |
MySQL 8.0.11 亠仗亠 亟仂仗亠仆!
2 亞仂亟舒 于 舒亰舒弍仂从亠
400+ 舒弍仂亳 亢仆舒仍仂于
5000+ 亳仗舒于仍亠仆 仂亳弍从亳
500 仆仂于 亠仂于
3
4. Copyright 息 2015, Oracle and/or its affiliates. All rights reserved. |
Transactional (InnoDB) Data Dictionary
Persistent runtime configuration changes (SET PERSIST)
INVISIBLE indexes
Common Table Expressions
Windows Functions
New default: utf8mb4 (UTF 9)
Expanded GIS Support
Expanded Query Hints Support
Improved Scan Query Performance
Improved BLOB Storage
Improved InnoDB Memcached Interface
Descending indexes
Scalability Improvements
Parser Refactoring
New! Document Store
Improvements to Temporary Tables
C++11 and Toolchain Improvements
Replication Applier Thread Progress Reports
GTID_PURGED always settable
Auto-increment counter value will now persist across
server restarts!
Indexing of PS tables
SQL roles (collection of privileges)
MySQL privilege tables are now InnoDB
4
MySQL 8.0: 亠 仂 亳 仄仆仂亞仂亠 亟亞仂亠 ....
5. Copyright 息 2015, Oracle and/or its affiliates. All rights reserved. |
丱仂仂亳亠 仆仂于仂亳
亟仍 舒亟仄亳仆亳舒仂仂于
Copyright 息 2015, Oracle and/or its affiliates. All rights reserved.
8. Copyright 息 2015, Oracle and/or its affiliates. All rights reserved. |
MySQL 8.0 vs MySQL 5.7 utf8mb4
8
0
45000
90000
135000
180000
8 16 64 128 512 1024
SELECT DISTINCT_RANGES
0
10000
20000
30000
40000
8 16 64 128 512 1024
OLTP RO
0
7500
15000
22500
30000
8 16 64 128 512 1024
OLTP RW
+300-350% in OLTP RO
+176-233% in OLTP RW
+1500-1800% in SELECT DISTINCT_RANGES
9. Copyright 息 2015, Oracle and/or its affiliates. All rights reserved. |
仂于亠仆仆舒 仆舒亟亠亢仆仂
仂仂亠仆仂 仆舒 InnoDB
亠 舒亶仍仂于 FRM
亠 舒亶仍仂于DB.OPT
亠 舒亶仍仂于 TRG
亠 舒亶仍仂于 TRN
亠 舒亶仍仂于 PAR
MyISAM 亢亠 仆亠 亠弍亠
仂仄仆亶 DDL
舒 亠仗仍亳从舒亳
丐舒仆亰舒从亳仂仆仆仂c
DML 亟仍 于仆亠仆亳 从仍ム亠亶
API 亟仍 亞亳弍从亳 仄亠舒亟舒仆仆
仂仂亶 仗 从 亟仂弍舒于仍亠仆亳 仆仂于
仆从亳亶
丕仍亠仆仆亶 从仂-
仗仍舒仂仄亠仆仆亶 仂仗
亳从舒从亳 亰舒于亳亳仄仂亠亶 仂 亠仄舒仆亳从亳
舒亶仍仂于仂亶 亳亠仄
9
MySQL 8.0: 仂亠仆仆亶 仍仂于舒 亟舒仆仆
10. Copyright 息 2015, Oracle and/or its affiliates. All rights reserved. | 10
MySQL 8.0: 仂仄舒仆仂 于 仗亳于亳仍亠亞亳
丐舒弍仍亳 仗亳于亳仍亠亞亳亶 亠仗亠 100% 仆舒 InnoDB
仂仄仆亠 DDL 亟仍 仗舒于仍亠仆亳 仗仂仍亰仂于舒亠仍礆亳
CREATE USER
ALTER USER
RENAME USER
DROP USER
GRANT
REVOKE
15. Copyright 息 2015, Oracle and/or its affiliates. All rights reserved. |
丱仂仂亳亠 仆仂于仂亳
亟仍 舒亰舒弍仂亳从仂于
Copyright 息 2015, Oracle and/or its affiliates. All rights reserved.
16. Copyright 息 2015, Oracle and/or its affiliates. All rights reserved. |
MySQL 8.0: 亠从亳于仆亶 CTE
16
Feature Request
from Developers
17. Copyright 息 2015, Oracle and/or its affiliates. All rights reserved. |
MySQL 8.0: 个仆从亳亳 仂从仆舒
17
Feature Request
from Developers
仗仂仍亰亶亠 仂弍仆亠 舒亞亠亞舒仆亠 仆从亳亳 亳仍亳 ...
RANK(), DENSE_RANK(), PERCENT_RANK()
CUME_DIST()
NTILE()
ROW_NUMBER()
FIRST_VALUE(), LAST_VALUE(), NTH_VALUE()
LEAD(), LAG()