SlideShare une entreprise Scribd logo
1  sur  55
Télécharger pour lire hors ligne
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 1/55
1 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 2/55
2 / 552 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 3/55
 
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for information purpose 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 up in
making purchasing decisions. The development, release and timing of any features or functionality described for Oracle´s product
remains at the sole discretion of Oracle.
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
3 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 4/55
about me - http://about.me/lefred
Who am I ?
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
4 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 5/55
Frédéric Descamps
@lefred
MySQL Evangelist
Hacking MySQL since 3.23
devops believer
living in Belgium 🇧🇪
http://lefred.be
 
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
5 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 6/55
a new tool
MySQL Shell
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
6 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 7/55
MySQL Shell
The MySQL Shell is an interactive Javascript, Python, or SQL interface supporting development and administration for the MySQL
Server and is a component of the MySQL Server. You can use the MySQL Shell to perform data queries and updates as well as various
administration operations.
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
7 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 8/55
MySQL Shell (2)
The MySQL Shell provides:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
8 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 9/55
MySQL Shell (2)
The MySQL Shell provides:
Both Interactive and Batch operations
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
9 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 10/55
MySQL Shell (2)
The MySQL Shell provides:
Both Interactive and Batch operations
Document and Relational Models
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
10 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 11/55
MySQL Shell (2)
The MySQL Shell provides:
Both Interactive and Batch operations
Document and Relational Models
CRUD Document and Relational APIs via scripting
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
11 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 12/55
MySQL Shell (2)
The MySQL Shell provides:
Both Interactive and Batch operations
Document and Relational Models
CRUD Document and Relational APIs via scripting
Traditional Table, JSON, Tab Separated output results formats
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
12 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 13/55
MySQL Shell (2)
The MySQL Shell provides:
Both Interactive and Batch operations
Document and Relational Models
CRUD Document and Relational APIs via scripting
Traditional Table, JSON, Tab Separated output results formats
MySQL Standard and X Protocols
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
13 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 14/55
MySQL Shell (2)
The MySQL Shell provides:
Both Interactive and Batch operations
Document and Relational Models
CRUD Document and Relational APIs via scripting
Traditional Table, JSON, Tab Separated output results formats
MySQL Standard and X Protocols
and more...
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
14 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 15/55
MySQL Shell and Python
When using the python mode in the Shell, it's possible to use system modules (local).
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
15 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 16/55
MySQL Shell and Python (2)
Of course this can be any type of modules:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
16 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 17/55
MySQL Shell and Python (2)
Of course this can be any type of modules:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
17 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 18/55
we want more !
Extending MySQL Shell
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
18 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 19/55
Extending MySQL Shell
Since 8.0.16, you have two different ways to extend the MySQL Shell:
using the new Reporting Framework (>= 8.0.16)
create your own modules to extend MySQL Shell
8.0
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
19 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 20/55
MySQL Shell User-Defined Reports
You can create reports that can be called ( ) one time or constantly refreshed ( ).
Example for checking the :
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
20 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 21/55
MySQL Shell User-Defined Reports (2)
This is a Python file ( ) installed in :
It contains a definition and a registration:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
21 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 22/55
MySQL Shell User-Defined Reports (3)
More info:
https://lefred.be/content/using-the-new-mysql-shell-reporting-framework-to-monitor-innodb-cluster/
https://lefred.be/content/mysql-innodb-cluster-recovery-process-monitoring-with-the-mysql-shell-reporting-framework/
Sources of Examples:
https://github.com/lefred/mysql-shell-udr
Pull Requests welcome !
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
22 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 23/55
Create your own modules for MySQL Shell
For calling some long statements or group of operations or sometimes to replace a missing functionality.
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
23 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 24/55
Create your own modules for MySQL Shell
For calling some long statements or group of operations or sometimes to replace a missing functionality.
Recently, somebody pointed out that since the new DD it was not anymore possible to delete all routines for a specific schema.
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
24 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 25/55
Create your own modules for MySQL Shell
For calling some long statements or group of operations or sometimes to replace a missing functionality.
Recently, somebody pointed out that since the new DD it was not anymore possible to delete all routines for a specific schema.
Jesper explained recently how the MySQL Shell could help here see https://mysql.wisborg.dk/2018/12/02/mysql-8-drop-several-
stored-events-procedures-or-functions/
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
25 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 26/55
Extending MySQL Shell
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
26 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 27/55
Extending MySQL Shell
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
27 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 28/55
Extending MySQL Shell
Or for example, retrieve the expiration period of passwords (see https://lefred.be/content/mysql-when-will-the-password-of-my-
users-expire/):
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
28 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 29/55
Extending MySQL Shell
Another example, retrieve the tables potentially fragmented (see https://lefred.be/content/overview-of-fragmented-mysql-
innodb-tables/):
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
29 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 30/55
Extending MySQL Shell
Recently somebody complained about the complexity of knowing what are the default values of columns when expressions are
used (https://forums.mysql.com/read.php?101,670682,670682):
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
30 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 31/55
Contribute to MySQL Shell DBA Toolkit ?
Get the code from https://github.com/lefred/mysql-shell-mydba and Pull Requests are welcome !
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
31 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 32/55
we want even more !
Innotop
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
32 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 33/55
Innotop
As maintainer of Innotop, after doing so delayed maintenance, I started a poll on Twitter:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
33 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 34/55
Innotop (2)
So Innotop is not dead... but it's very complex to maintain... Perl !
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
34 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 35/55
Innotop (2)
So Innotop is not dead... but it's very complex to maintain... Perl !
This is maybe the reason there is less and less contributors...
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
35 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 36/55
Innotop (2)
So Innotop is not dead... but it's very complex to maintain... Perl !
This is maybe the reason there is less and less contributors...
... so and MySQL Shell then ?
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
36 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 37/55
Innotop in MySQL Shell
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
37 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 38/55
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
00:05
38 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 39/55
Innotop in MySQL Shell
How to use it ?
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
39 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 40/55
How to use this module in MySQL Shell ?
The module is available on github: https://github.com/lefred/mysql-shell-innotop
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
40 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 41/55
How to use this module in MySQL Shell ?
The module is available on github: https://github.com/lefred/mysql-shell-innotop
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
41 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 42/55
How to use this module in MySQL Shell ?
The module is available on github: https://github.com/lefred/mysql-shell-innotop
Add in ~/.mysqlsh/mysqlshrc.py:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
42 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 43/55
does it work everywhere ?
Limitations
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
43 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 44/55
Limitations
requires ncurses
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
44 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 45/55
Limitations
requires ncurses
works almost exclusively on Gnu/Linux
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
45 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 46/55
I want to contribute !
How to write your own extension ?
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
46 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 47/55
Creating you own extension
All extensions are a single file located in the modules folder:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
47 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 48/55
Skeleton of an extension
Every extension starts the same way and requires some mandatory modules:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
48 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 49/55
Skeleton of an extension
Every extension starts the same way and requires some mandatory modules:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
49 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 50/55
Skeleton of an extension
Every extension starts the same way and requires some mandatory modules:
Then you need to specify the shortcuts that calls the functions:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
50 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 51/55
Skeleton of an extension
Every extension starts the same way and requires some mandatory modules:
Then you need to specify the shortcuts that calls the functions:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
51 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 52/55
Skeleton of an extension
Every extension starts the same way and requires some mandatory modules:
Then you need to specify the shortcuts that calls the functions:
return: name of the module (dummy.py)
stdscr: use the same screen (and pass it to the function)
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
52 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 53/55
Skeleton of an extension - run()
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
53 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 54/55
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
54 / 55
5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ?
file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 55/55
Thank you !
Any Questions ?
share your 💕 for MySQL on social media using
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
55 / 55

Contenu connexe

Tendances

MySQL Shell - the best DBA tool ?
MySQL Shell - the best DBA tool ? MySQL Shell - the best DBA tool ?
MySQL Shell - the best DBA tool ? Frederic Descamps
 
Oracle Code Roma: NoSQL + SQL = MySQL
Oracle Code Roma:   NoSQL + SQL = MySQLOracle Code Roma:   NoSQL + SQL = MySQL
Oracle Code Roma: NoSQL + SQL = MySQLFrederic Descamps
 
Python and MySQL 8.0 Document Store
Python and MySQL 8.0 Document StorePython and MySQL 8.0 Document Store
Python and MySQL 8.0 Document StoreFrederic Descamps
 
How to operate MySQL InnoDB Cluster with MySQL Shell
How to operate MySQL InnoDB Cluster with MySQL ShellHow to operate MySQL InnoDB Cluster with MySQL Shell
How to operate MySQL InnoDB Cluster with MySQL ShellFrederic Descamps
 
MySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & OperationsMySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & OperationsFrederic Descamps
 
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...Frederic Descamps
 
State of the Dolphin 2020 - 25th Anniversary of MySQL with 8.0.20
State of the Dolphin 2020 - 25th Anniversary of MySQL with 8.0.20State of the Dolphin 2020 - 25th Anniversary of MySQL with 8.0.20
State of the Dolphin 2020 - 25th Anniversary of MySQL with 8.0.20Frederic Descamps
 
MySQL 8.0 : High Availability Solution for Everybody
MySQL 8.0 : High Availability Solution for EverybodyMySQL 8.0 : High Availability Solution for Everybody
MySQL 8.0 : High Availability Solution for EverybodyFrederic Descamps
 
Oracle Open World 2018 / Code One : MySQL 8.0 High Availability with MySQL I...
Oracle Open World 2018 / Code One  : MySQL 8.0 High Availability with MySQL I...Oracle Open World 2018 / Code One  : MySQL 8.0 High Availability with MySQL I...
Oracle Open World 2018 / Code One : MySQL 8.0 High Availability with MySQL I...Frederic Descamps
 
MySQL Shell: the best DBA tool !
MySQL Shell: the best DBA tool !MySQL Shell: the best DBA tool !
MySQL Shell: the best DBA tool !Frederic Descamps
 
MySQL InnoDB Cluster and Group Replication in a nutshell hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a nutshell  hands-on tutorialMySQL InnoDB Cluster and Group Replication in a nutshell  hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a nutshell hands-on tutorialFrederic Descamps
 
MySQL Database Service Webinar - Installing WordPress in OCI with MDS
MySQL Database Service Webinar - Installing WordPress in OCI with MDSMySQL Database Service Webinar - Installing WordPress in OCI with MDS
MySQL Database Service Webinar - Installing WordPress in OCI with MDSFrederic Descamps
 
MySQL Innovation Day Chicago - MySQL HA So Easy : That's insane !!
MySQL Innovation Day Chicago  - MySQL HA So Easy : That's insane !!MySQL Innovation Day Chicago  - MySQL HA So Easy : That's insane !!
MySQL Innovation Day Chicago - MySQL HA So Easy : That's insane !!Frederic Descamps
 
Oracle Open World 2018 / Code One : MySQL 8.0 Document Store
Oracle Open World 2018 /  Code One : MySQL 8.0 Document StoreOracle Open World 2018 /  Code One : MySQL 8.0 Document Store
Oracle Open World 2018 / Code One : MySQL 8.0 Document StoreFrederic Descamps
 
Oracle Open World Middle East - MySQL 8 a Giant Leap for SQL
Oracle Open World Middle East - MySQL 8 a Giant Leap for SQLOracle Open World Middle East - MySQL 8 a Giant Leap for SQL
Oracle Open World Middle East - MySQL 8 a Giant Leap for SQLFrederic Descamps
 
MySQL 8.0 InnoDB Cluster - Easiest Tutorial
MySQL 8.0 InnoDB Cluster - Easiest TutorialMySQL 8.0 InnoDB Cluster - Easiest Tutorial
MySQL 8.0 InnoDB Cluster - Easiest TutorialFrederic Descamps
 
MySQL Group Replication: Handling Network Glitches - Best Practices
MySQL Group Replication: Handling Network Glitches - Best PracticesMySQL Group Replication: Handling Network Glitches - Best Practices
MySQL Group Replication: Handling Network Glitches - Best PracticesFrederic Descamps
 
PHP, The X DevAPI, and the MySQL Document Store -- Benelux PHP Confernece 2019
PHP, The X DevAPI, and the MySQL Document Store -- Benelux PHP Confernece 2019PHP, The X DevAPI, and the MySQL Document Store -- Benelux PHP Confernece 2019
PHP, The X DevAPI, and the MySQL Document Store -- Benelux PHP Confernece 2019Dave Stokes
 
Another MySQL HA Solution for ProxySQL Users, Easy and All Integrated: MySQL ...
Another MySQL HA Solution for ProxySQL Users, Easy and All Integrated: MySQL ...Another MySQL HA Solution for ProxySQL Users, Easy and All Integrated: MySQL ...
Another MySQL HA Solution for ProxySQL Users, Easy and All Integrated: MySQL ...Frederic Descamps
 
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterFrederic Descamps
 

Tendances (20)

MySQL Shell - the best DBA tool ?
MySQL Shell - the best DBA tool ? MySQL Shell - the best DBA tool ?
MySQL Shell - the best DBA tool ?
 
Oracle Code Roma: NoSQL + SQL = MySQL
Oracle Code Roma:   NoSQL + SQL = MySQLOracle Code Roma:   NoSQL + SQL = MySQL
Oracle Code Roma: NoSQL + SQL = MySQL
 
Python and MySQL 8.0 Document Store
Python and MySQL 8.0 Document StorePython and MySQL 8.0 Document Store
Python and MySQL 8.0 Document Store
 
How to operate MySQL InnoDB Cluster with MySQL Shell
How to operate MySQL InnoDB Cluster with MySQL ShellHow to operate MySQL InnoDB Cluster with MySQL Shell
How to operate MySQL InnoDB Cluster with MySQL Shell
 
MySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & OperationsMySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & Operations
 
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...
 
State of the Dolphin 2020 - 25th Anniversary of MySQL with 8.0.20
State of the Dolphin 2020 - 25th Anniversary of MySQL with 8.0.20State of the Dolphin 2020 - 25th Anniversary of MySQL with 8.0.20
State of the Dolphin 2020 - 25th Anniversary of MySQL with 8.0.20
 
MySQL 8.0 : High Availability Solution for Everybody
MySQL 8.0 : High Availability Solution for EverybodyMySQL 8.0 : High Availability Solution for Everybody
MySQL 8.0 : High Availability Solution for Everybody
 
Oracle Open World 2018 / Code One : MySQL 8.0 High Availability with MySQL I...
Oracle Open World 2018 / Code One  : MySQL 8.0 High Availability with MySQL I...Oracle Open World 2018 / Code One  : MySQL 8.0 High Availability with MySQL I...
Oracle Open World 2018 / Code One : MySQL 8.0 High Availability with MySQL I...
 
MySQL Shell: the best DBA tool !
MySQL Shell: the best DBA tool !MySQL Shell: the best DBA tool !
MySQL Shell: the best DBA tool !
 
MySQL InnoDB Cluster and Group Replication in a nutshell hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a nutshell  hands-on tutorialMySQL InnoDB Cluster and Group Replication in a nutshell  hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a nutshell hands-on tutorial
 
MySQL Database Service Webinar - Installing WordPress in OCI with MDS
MySQL Database Service Webinar - Installing WordPress in OCI with MDSMySQL Database Service Webinar - Installing WordPress in OCI with MDS
MySQL Database Service Webinar - Installing WordPress in OCI with MDS
 
MySQL Innovation Day Chicago - MySQL HA So Easy : That's insane !!
MySQL Innovation Day Chicago  - MySQL HA So Easy : That's insane !!MySQL Innovation Day Chicago  - MySQL HA So Easy : That's insane !!
MySQL Innovation Day Chicago - MySQL HA So Easy : That's insane !!
 
Oracle Open World 2018 / Code One : MySQL 8.0 Document Store
Oracle Open World 2018 /  Code One : MySQL 8.0 Document StoreOracle Open World 2018 /  Code One : MySQL 8.0 Document Store
Oracle Open World 2018 / Code One : MySQL 8.0 Document Store
 
Oracle Open World Middle East - MySQL 8 a Giant Leap for SQL
Oracle Open World Middle East - MySQL 8 a Giant Leap for SQLOracle Open World Middle East - MySQL 8 a Giant Leap for SQL
Oracle Open World Middle East - MySQL 8 a Giant Leap for SQL
 
MySQL 8.0 InnoDB Cluster - Easiest Tutorial
MySQL 8.0 InnoDB Cluster - Easiest TutorialMySQL 8.0 InnoDB Cluster - Easiest Tutorial
MySQL 8.0 InnoDB Cluster - Easiest Tutorial
 
MySQL Group Replication: Handling Network Glitches - Best Practices
MySQL Group Replication: Handling Network Glitches - Best PracticesMySQL Group Replication: Handling Network Glitches - Best Practices
MySQL Group Replication: Handling Network Glitches - Best Practices
 
PHP, The X DevAPI, and the MySQL Document Store -- Benelux PHP Confernece 2019
PHP, The X DevAPI, and the MySQL Document Store -- Benelux PHP Confernece 2019PHP, The X DevAPI, and the MySQL Document Store -- Benelux PHP Confernece 2019
PHP, The X DevAPI, and the MySQL Document Store -- Benelux PHP Confernece 2019
 
Another MySQL HA Solution for ProxySQL Users, Easy and All Integrated: MySQL ...
Another MySQL HA Solution for ProxySQL Users, Easy and All Integrated: MySQL ...Another MySQL HA Solution for ProxySQL Users, Easy and All Integrated: MySQL ...
Another MySQL HA Solution for ProxySQL Users, Easy and All Integrated: MySQL ...
 
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB Cluster
 

Similaire à MySQL Shell: the best DBA tool ?

MySQL InnoDB Cluster and Group Replication in a Nutshell: hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a Nutshell:  hands-on tutorialMySQL InnoDB Cluster and Group Replication in a Nutshell:  hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a Nutshell: hands-on tutorialFrederic Descamps
 
Docker Compose Setup for MySQL InnoDB Cluster
Docker Compose Setup for MySQL InnoDB ClusterDocker Compose Setup for MySQL InnoDB Cluster
Docker Compose Setup for MySQL InnoDB ClusterBalasubramanian Kandasamy
 
MySQL Shell - the best DBA tool !
MySQL Shell - the best DBA tool !MySQL Shell - the best DBA tool !
MySQL Shell - the best DBA tool !Frederic Descamps
 
20190915_MySQL開発最新動向
20190915_MySQL開発最新動向20190915_MySQL開発最新動向
20190915_MySQL開発最新動向Machiko Ikoma
 
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL ShellMySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL ShellMiguel Araújo
 
Patching like a hero - DOAG
Patching like a hero -  DOAGPatching like a hero -  DOAG
Patching like a hero - DOAGRodrigo Mufalani
 
Confoo 202 - MySQL Group Replication and ReplicaSet
Confoo 202 - MySQL Group Replication and ReplicaSetConfoo 202 - MySQL Group Replication and ReplicaSet
Confoo 202 - MySQL Group Replication and ReplicaSetDave Stokes
 
DataOps Barcelona - MySQL HA so easy... that's insane !
DataOps Barcelona - MySQL HA so easy... that's insane !DataOps Barcelona - MySQL HA so easy... that's insane !
DataOps Barcelona - MySQL HA so easy... that's insane !Frederic Descamps
 
ITOUG 2019 - 25 years of hints and tips
ITOUG 2019 - 25 years of hints and tipsITOUG 2019 - 25 years of hints and tips
ITOUG 2019 - 25 years of hints and tipsConnor McDonald
 
20200613 my sql-ha-deployment
20200613 my sql-ha-deployment20200613 my sql-ha-deployment
20200613 my sql-ha-deploymentIvan Ma
 
the State of the Dolphin - October 2020
the State of the Dolphin - October 2020the State of the Dolphin - October 2020
the State of the Dolphin - October 2020Frederic Descamps
 
MySQL Shell/AdminAPI - MySQL Architectures Made Easy For All!
MySQL Shell/AdminAPI - MySQL Architectures Made Easy For All!MySQL Shell/AdminAPI - MySQL Architectures Made Easy For All!
MySQL Shell/AdminAPI - MySQL Architectures Made Easy For All!Miguel Araújo
 
MySQL Group Replication - HandsOn Tutorial
MySQL Group Replication - HandsOn TutorialMySQL Group Replication - HandsOn Tutorial
MySQL Group Replication - HandsOn TutorialKenny Gryp
 
MySQL InnoDB Cluster and Group Replication in a Nutshell
MySQL InnoDB Cluster and Group Replication in a NutshellMySQL InnoDB Cluster and Group Replication in a Nutshell
MySQL InnoDB Cluster and Group Replication in a NutshellFrederic Descamps
 
20190713_MySQL開発最新動向
20190713_MySQL開発最新動向20190713_MySQL開発最新動向
20190713_MySQL開発最新動向Machiko Ikoma
 
MySQL InnoDB Cluster in a Nutshell - Hands-on Lab
MySQL InnoDB Cluster in a Nutshell - Hands-on LabMySQL InnoDB Cluster in a Nutshell - Hands-on Lab
MySQL InnoDB Cluster in a Nutshell - Hands-on LabFrederic Descamps
 
A Cloud Journey - Move to the Oracle Cloud
A Cloud Journey - Move to the Oracle CloudA Cloud Journey - Move to the Oracle Cloud
A Cloud Journey - Move to the Oracle CloudMarkus Michalewicz
 
MySQL Group Replicatio in a nutshell - MySQL InnoDB Cluster
MySQL Group Replicatio  in a nutshell - MySQL InnoDB ClusterMySQL Group Replicatio  in a nutshell - MySQL InnoDB Cluster
MySQL Group Replicatio in a nutshell - MySQL InnoDB ClusterFrederic Descamps
 
MySQL 8 High Availability with InnoDB Clusters
MySQL 8 High Availability with InnoDB ClustersMySQL 8 High Availability with InnoDB Clusters
MySQL 8 High Availability with InnoDB ClustersMiguel Araújo
 

Similaire à MySQL Shell: the best DBA tool ? (20)

MySQL InnoDB Cluster and Group Replication in a Nutshell: hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a Nutshell:  hands-on tutorialMySQL InnoDB Cluster and Group Replication in a Nutshell:  hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a Nutshell: hands-on tutorial
 
Docker Compose Setup for MySQL InnoDB Cluster
Docker Compose Setup for MySQL InnoDB ClusterDocker Compose Setup for MySQL InnoDB Cluster
Docker Compose Setup for MySQL InnoDB Cluster
 
MySQL Shell - the best DBA tool !
MySQL Shell - the best DBA tool !MySQL Shell - the best DBA tool !
MySQL Shell - the best DBA tool !
 
20190915_MySQL開発最新動向
20190915_MySQL開発最新動向20190915_MySQL開発最新動向
20190915_MySQL開発最新動向
 
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL ShellMySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
 
Patching like a hero - DOAG
Patching like a hero -  DOAGPatching like a hero -  DOAG
Patching like a hero - DOAG
 
Confoo 202 - MySQL Group Replication and ReplicaSet
Confoo 202 - MySQL Group Replication and ReplicaSetConfoo 202 - MySQL Group Replication and ReplicaSet
Confoo 202 - MySQL Group Replication and ReplicaSet
 
DataOps Barcelona - MySQL HA so easy... that's insane !
DataOps Barcelona - MySQL HA so easy... that's insane !DataOps Barcelona - MySQL HA so easy... that's insane !
DataOps Barcelona - MySQL HA so easy... that's insane !
 
ITOUG 2019 - 25 years of hints and tips
ITOUG 2019 - 25 years of hints and tipsITOUG 2019 - 25 years of hints and tips
ITOUG 2019 - 25 years of hints and tips
 
20200613 my sql-ha-deployment
20200613 my sql-ha-deployment20200613 my sql-ha-deployment
20200613 my sql-ha-deployment
 
the State of the Dolphin - October 2020
the State of the Dolphin - October 2020the State of the Dolphin - October 2020
the State of the Dolphin - October 2020
 
MySQL Shell/AdminAPI - MySQL Architectures Made Easy For All!
MySQL Shell/AdminAPI - MySQL Architectures Made Easy For All!MySQL Shell/AdminAPI - MySQL Architectures Made Easy For All!
MySQL Shell/AdminAPI - MySQL Architectures Made Easy For All!
 
MySQL Group Replication - HandsOn Tutorial
MySQL Group Replication - HandsOn TutorialMySQL Group Replication - HandsOn Tutorial
MySQL Group Replication - HandsOn Tutorial
 
MySQL InnoDB Cluster and Group Replication in a Nutshell
MySQL InnoDB Cluster and Group Replication in a NutshellMySQL InnoDB Cluster and Group Replication in a Nutshell
MySQL InnoDB Cluster and Group Replication in a Nutshell
 
20190713_MySQL開発最新動向
20190713_MySQL開発最新動向20190713_MySQL開発最新動向
20190713_MySQL開発最新動向
 
MySQL InnoDB Cluster in a Nutshell - Hands-on Lab
MySQL InnoDB Cluster in a Nutshell - Hands-on LabMySQL InnoDB Cluster in a Nutshell - Hands-on Lab
MySQL InnoDB Cluster in a Nutshell - Hands-on Lab
 
A Cloud Journey - Move to the Oracle Cloud
A Cloud Journey - Move to the Oracle CloudA Cloud Journey - Move to the Oracle Cloud
A Cloud Journey - Move to the Oracle Cloud
 
MySQL Group Replicatio in a nutshell - MySQL InnoDB Cluster
MySQL Group Replicatio  in a nutshell - MySQL InnoDB ClusterMySQL Group Replicatio  in a nutshell - MySQL InnoDB Cluster
MySQL Group Replicatio in a nutshell - MySQL InnoDB Cluster
 
Sunshine php my sql 8.0 v2
Sunshine php my sql 8.0 v2Sunshine php my sql 8.0 v2
Sunshine php my sql 8.0 v2
 
MySQL 8 High Availability with InnoDB Clusters
MySQL 8 High Availability with InnoDB ClustersMySQL 8 High Availability with InnoDB Clusters
MySQL 8 High Availability with InnoDB Clusters
 

Plus de Frederic Descamps

MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...
MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...
MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...Frederic Descamps
 
MySQL Day Roma - MySQL Shell and Visual Studio Code Extension
MySQL Day Roma - MySQL Shell and Visual Studio Code ExtensionMySQL Day Roma - MySQL Shell and Visual Studio Code Extension
MySQL Day Roma - MySQL Shell and Visual Studio Code ExtensionFrederic Descamps
 
RivieraJUG - MySQL Indexes and Histograms
RivieraJUG - MySQL Indexes and HistogramsRivieraJUG - MySQL Indexes and Histograms
RivieraJUG - MySQL Indexes and HistogramsFrederic Descamps
 
RivieraJUG - MySQL 8.0 - What's new for developers.pdf
RivieraJUG - MySQL 8.0 - What's new for developers.pdfRivieraJUG - MySQL 8.0 - What's new for developers.pdf
RivieraJUG - MySQL 8.0 - What's new for developers.pdfFrederic Descamps
 
MySQL User Group NL - MySQL 8
MySQL User Group NL - MySQL 8MySQL User Group NL - MySQL 8
MySQL User Group NL - MySQL 8Frederic Descamps
 
State of the Dolphin - May 2022
State of the Dolphin - May 2022State of the Dolphin - May 2022
State of the Dolphin - May 2022Frederic Descamps
 
Percona Live 2022 - MySQL Shell for Visual Studio Code
Percona Live 2022 - MySQL Shell for Visual Studio CodePercona Live 2022 - MySQL Shell for Visual Studio Code
Percona Live 2022 - MySQL Shell for Visual Studio CodeFrederic Descamps
 
Percona Live 2022 - The Evolution of a MySQL Database System
Percona Live 2022 - The Evolution of a MySQL Database SystemPercona Live 2022 - The Evolution of a MySQL Database System
Percona Live 2022 - The Evolution of a MySQL Database SystemFrederic Descamps
 
Percona Live 2022 - MySQL Architectures
Percona Live 2022 - MySQL ArchitecturesPercona Live 2022 - MySQL Architectures
Percona Live 2022 - MySQL ArchitecturesFrederic Descamps
 
LinuxFest Northwest 2022 - The Evolution of a MySQL Database System
LinuxFest Northwest 2022 - The Evolution of a MySQL Database SystemLinuxFest Northwest 2022 - The Evolution of a MySQL Database System
LinuxFest Northwest 2022 - The Evolution of a MySQL Database SystemFrederic Descamps
 
Open Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and HistogramsOpen Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and HistogramsFrederic Descamps
 
Pi Day 2022 - from IoT to MySQL HeatWave Database Service
Pi Day 2022 -  from IoT to MySQL HeatWave Database ServicePi Day 2022 -  from IoT to MySQL HeatWave Database Service
Pi Day 2022 - from IoT to MySQL HeatWave Database ServiceFrederic Descamps
 
Confoo 2022 - le cycle d'une instance MySQL
Confoo 2022  - le cycle d'une instance MySQLConfoo 2022  - le cycle d'une instance MySQL
Confoo 2022 - le cycle d'une instance MySQLFrederic Descamps
 
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...Frederic Descamps
 
Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Frederic Descamps
 
Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Frederic Descamps
 
State of The Dolphin - May 2021
State of The Dolphin - May 2021State of The Dolphin - May 2021
State of The Dolphin - May 2021Frederic Descamps
 
Deploying Magento on OCI with MDS
Deploying Magento on OCI with MDSDeploying Magento on OCI with MDS
Deploying Magento on OCI with MDSFrederic Descamps
 

Plus de Frederic Descamps (20)

MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...
MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...
MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...
 
MySQL Day Roma - MySQL Shell and Visual Studio Code Extension
MySQL Day Roma - MySQL Shell and Visual Studio Code ExtensionMySQL Day Roma - MySQL Shell and Visual Studio Code Extension
MySQL Day Roma - MySQL Shell and Visual Studio Code Extension
 
RivieraJUG - MySQL Indexes and Histograms
RivieraJUG - MySQL Indexes and HistogramsRivieraJUG - MySQL Indexes and Histograms
RivieraJUG - MySQL Indexes and Histograms
 
RivieraJUG - MySQL 8.0 - What's new for developers.pdf
RivieraJUG - MySQL 8.0 - What's new for developers.pdfRivieraJUG - MySQL 8.0 - What's new for developers.pdf
RivieraJUG - MySQL 8.0 - What's new for developers.pdf
 
MySQL User Group NL - MySQL 8
MySQL User Group NL - MySQL 8MySQL User Group NL - MySQL 8
MySQL User Group NL - MySQL 8
 
State of the Dolphin - May 2022
State of the Dolphin - May 2022State of the Dolphin - May 2022
State of the Dolphin - May 2022
 
Percona Live 2022 - MySQL Shell for Visual Studio Code
Percona Live 2022 - MySQL Shell for Visual Studio CodePercona Live 2022 - MySQL Shell for Visual Studio Code
Percona Live 2022 - MySQL Shell for Visual Studio Code
 
Percona Live 2022 - The Evolution of a MySQL Database System
Percona Live 2022 - The Evolution of a MySQL Database SystemPercona Live 2022 - The Evolution of a MySQL Database System
Percona Live 2022 - The Evolution of a MySQL Database System
 
Percona Live 2022 - MySQL Architectures
Percona Live 2022 - MySQL ArchitecturesPercona Live 2022 - MySQL Architectures
Percona Live 2022 - MySQL Architectures
 
LinuxFest Northwest 2022 - The Evolution of a MySQL Database System
LinuxFest Northwest 2022 - The Evolution of a MySQL Database SystemLinuxFest Northwest 2022 - The Evolution of a MySQL Database System
LinuxFest Northwest 2022 - The Evolution of a MySQL Database System
 
Open Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and HistogramsOpen Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and Histograms
 
Pi Day 2022 - from IoT to MySQL HeatWave Database Service
Pi Day 2022 -  from IoT to MySQL HeatWave Database ServicePi Day 2022 -  from IoT to MySQL HeatWave Database Service
Pi Day 2022 - from IoT to MySQL HeatWave Database Service
 
Confoo 2022 - le cycle d'une instance MySQL
Confoo 2022  - le cycle d'une instance MySQLConfoo 2022  - le cycle d'une instance MySQL
Confoo 2022 - le cycle d'une instance MySQL
 
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...
 
Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0
 
Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0
 
State of The Dolphin - May 2021
State of The Dolphin - May 2021State of The Dolphin - May 2021
State of The Dolphin - May 2021
 
MySQL Shell for DBAs
MySQL Shell for DBAsMySQL Shell for DBAs
MySQL Shell for DBAs
 
Deploying Magento on OCI with MDS
Deploying Magento on OCI with MDSDeploying Magento on OCI with MDS
Deploying Magento on OCI with MDS
 
MySQL Router REST API
MySQL Router REST APIMySQL Router REST API
MySQL Router REST API
 

Dernier

[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 

Dernier (20)

[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 

MySQL Shell: the best DBA tool ?

  • 1. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 1/55 1 / 55
  • 2. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 2/55 2 / 552 / 55
  • 3. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 3/55   Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purpose 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 up in making purchasing decisions. The development, release and timing of any features or functionality described for Oracle´s product remains at the sole discretion of Oracle. Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 3 / 55
  • 4. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 4/55 about me - http://about.me/lefred Who am I ? Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 4 / 55
  • 5. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 5/55 Frédéric Descamps @lefred MySQL Evangelist Hacking MySQL since 3.23 devops believer living in Belgium 🇧🇪 http://lefred.be   Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 5 / 55
  • 6. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 6/55 a new tool MySQL Shell Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 6 / 55
  • 7. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 7/55 MySQL Shell The MySQL Shell is an interactive Javascript, Python, or SQL interface supporting development and administration for the MySQL Server and is a component of the MySQL Server. You can use the MySQL Shell to perform data queries and updates as well as various administration operations. Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 7 / 55
  • 8. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 8/55 MySQL Shell (2) The MySQL Shell provides: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 8 / 55
  • 9. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 9/55 MySQL Shell (2) The MySQL Shell provides: Both Interactive and Batch operations Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 9 / 55
  • 10. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 10/55 MySQL Shell (2) The MySQL Shell provides: Both Interactive and Batch operations Document and Relational Models Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 10 / 55
  • 11. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 11/55 MySQL Shell (2) The MySQL Shell provides: Both Interactive and Batch operations Document and Relational Models CRUD Document and Relational APIs via scripting Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 11 / 55
  • 12. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 12/55 MySQL Shell (2) The MySQL Shell provides: Both Interactive and Batch operations Document and Relational Models CRUD Document and Relational APIs via scripting Traditional Table, JSON, Tab Separated output results formats Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 12 / 55
  • 13. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 13/55 MySQL Shell (2) The MySQL Shell provides: Both Interactive and Batch operations Document and Relational Models CRUD Document and Relational APIs via scripting Traditional Table, JSON, Tab Separated output results formats MySQL Standard and X Protocols Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 13 / 55
  • 14. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 14/55 MySQL Shell (2) The MySQL Shell provides: Both Interactive and Batch operations Document and Relational Models CRUD Document and Relational APIs via scripting Traditional Table, JSON, Tab Separated output results formats MySQL Standard and X Protocols and more... Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 14 / 55
  • 15. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 15/55 MySQL Shell and Python When using the python mode in the Shell, it's possible to use system modules (local). Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 15 / 55
  • 16. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 16/55 MySQL Shell and Python (2) Of course this can be any type of modules: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 16 / 55
  • 17. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 17/55 MySQL Shell and Python (2) Of course this can be any type of modules: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 17 / 55
  • 18. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 18/55 we want more ! Extending MySQL Shell Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 18 / 55
  • 19. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 19/55 Extending MySQL Shell Since 8.0.16, you have two different ways to extend the MySQL Shell: using the new Reporting Framework (>= 8.0.16) create your own modules to extend MySQL Shell 8.0 Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 19 / 55
  • 20. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 20/55 MySQL Shell User-Defined Reports You can create reports that can be called ( ) one time or constantly refreshed ( ). Example for checking the : Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 20 / 55
  • 21. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 21/55 MySQL Shell User-Defined Reports (2) This is a Python file ( ) installed in : It contains a definition and a registration: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 21 / 55
  • 22. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 22/55 MySQL Shell User-Defined Reports (3) More info: https://lefred.be/content/using-the-new-mysql-shell-reporting-framework-to-monitor-innodb-cluster/ https://lefred.be/content/mysql-innodb-cluster-recovery-process-monitoring-with-the-mysql-shell-reporting-framework/ Sources of Examples: https://github.com/lefred/mysql-shell-udr Pull Requests welcome ! Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 22 / 55
  • 23. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 23/55 Create your own modules for MySQL Shell For calling some long statements or group of operations or sometimes to replace a missing functionality. Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 23 / 55
  • 24. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 24/55 Create your own modules for MySQL Shell For calling some long statements or group of operations or sometimes to replace a missing functionality. Recently, somebody pointed out that since the new DD it was not anymore possible to delete all routines for a specific schema. Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 24 / 55
  • 25. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 25/55 Create your own modules for MySQL Shell For calling some long statements or group of operations or sometimes to replace a missing functionality. Recently, somebody pointed out that since the new DD it was not anymore possible to delete all routines for a specific schema. Jesper explained recently how the MySQL Shell could help here see https://mysql.wisborg.dk/2018/12/02/mysql-8-drop-several- stored-events-procedures-or-functions/ Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 25 / 55
  • 26. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 26/55 Extending MySQL Shell Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 26 / 55
  • 27. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 27/55 Extending MySQL Shell Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 27 / 55
  • 28. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 28/55 Extending MySQL Shell Or for example, retrieve the expiration period of passwords (see https://lefred.be/content/mysql-when-will-the-password-of-my- users-expire/): Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 28 / 55
  • 29. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 29/55 Extending MySQL Shell Another example, retrieve the tables potentially fragmented (see https://lefred.be/content/overview-of-fragmented-mysql- innodb-tables/): Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 29 / 55
  • 30. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 30/55 Extending MySQL Shell Recently somebody complained about the complexity of knowing what are the default values of columns when expressions are used (https://forums.mysql.com/read.php?101,670682,670682): Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 30 / 55
  • 31. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 31/55 Contribute to MySQL Shell DBA Toolkit ? Get the code from https://github.com/lefred/mysql-shell-mydba and Pull Requests are welcome ! Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 31 / 55
  • 32. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 32/55 we want even more ! Innotop Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 32 / 55
  • 33. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 33/55 Innotop As maintainer of Innotop, after doing so delayed maintenance, I started a poll on Twitter: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 33 / 55
  • 34. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 34/55 Innotop (2) So Innotop is not dead... but it's very complex to maintain... Perl ! Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 34 / 55
  • 35. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 35/55 Innotop (2) So Innotop is not dead... but it's very complex to maintain... Perl ! This is maybe the reason there is less and less contributors... Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 35 / 55
  • 36. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 36/55 Innotop (2) So Innotop is not dead... but it's very complex to maintain... Perl ! This is maybe the reason there is less and less contributors... ... so and MySQL Shell then ? Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 36 / 55
  • 37. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 37/55 Innotop in MySQL Shell Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 37 / 55
  • 38. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 38/55 Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 00:05 38 / 55
  • 39. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 39/55 Innotop in MySQL Shell How to use it ? Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 39 / 55
  • 40. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 40/55 How to use this module in MySQL Shell ? The module is available on github: https://github.com/lefred/mysql-shell-innotop Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 40 / 55
  • 41. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 41/55 How to use this module in MySQL Shell ? The module is available on github: https://github.com/lefred/mysql-shell-innotop Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 41 / 55
  • 42. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 42/55 How to use this module in MySQL Shell ? The module is available on github: https://github.com/lefred/mysql-shell-innotop Add in ~/.mysqlsh/mysqlshrc.py: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 42 / 55
  • 43. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 43/55 does it work everywhere ? Limitations Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 43 / 55
  • 44. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 44/55 Limitations requires ncurses Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 44 / 55
  • 45. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 45/55 Limitations requires ncurses works almost exclusively on Gnu/Linux Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 45 / 55
  • 46. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 46/55 I want to contribute ! How to write your own extension ? Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 46 / 55
  • 47. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 47/55 Creating you own extension All extensions are a single file located in the modules folder: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 47 / 55
  • 48. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 48/55 Skeleton of an extension Every extension starts the same way and requires some mandatory modules: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 48 / 55
  • 49. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 49/55 Skeleton of an extension Every extension starts the same way and requires some mandatory modules: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 49 / 55
  • 50. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 50/55 Skeleton of an extension Every extension starts the same way and requires some mandatory modules: Then you need to specify the shortcuts that calls the functions: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 50 / 55
  • 51. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 51/55 Skeleton of an extension Every extension starts the same way and requires some mandatory modules: Then you need to specify the shortcuts that calls the functions: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 51 / 55
  • 52. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 52/55 Skeleton of an extension Every extension starts the same way and requires some mandatory modules: Then you need to specify the shortcuts that calls the functions: return: name of the module (dummy.py) stdscr: use the same screen (and pass it to the function) Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 52 / 55
  • 53. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 53/55 Skeleton of an extension - run() Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 53 / 55
  • 54. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 54/55 Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 54 / 55
  • 55. 5/30/2019 Percona Live Austin 2019 - MySQL Shell : the best DBA tool ? file:///home/fred/ownCloud/Presentations/ORACLE/PerconaLive2019/MySQL Shell - Best DBA Tool/MySQL Day - MySQL Shell.html#1 55/55 Thank you ! Any Questions ? share your 💕 for MySQL on social media using Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 55 / 55