MySQL is not only a relational database, but can also be used as a schemaless/NOSQL document store, or a mix of both. This is realized by the JSON datatype, and is useful for any data that is hard to fit in the ”tabular” format of a traditional table.…
In MySQL 8.0, we have now a new way of storing tables definitions: the Data Dictionary !
Thanks to the Data Dictionary, DDLs in MySQL 8.0 are now Atomic. This means tat we have some changes in the behavior of the following DDLs for engines supporting atomic DDL:
- DROP TABLES <tables> – All tables will be dropped, or none are dropped
- DROP SCHEMA – All entities in the schema will be dropped, or none are dropped
- DROP VIEW – All views are dropped, or none are dropped
- CREATE USER – All users are created, or none are created
- DROP USER – All users are dropped, or none are dropped
- GRANT – All users/roles in list are granted privileges, or none
This was detailed in …
[Read more]We are pleased to announce that MySQL Enterprise Monitor 4.0.1 is now available for download on the My Oracle Support (MOS) web site. It will also be available for download via the Oracle Software Delivery Cloud in a few days. MySQL Enterprise Monitor is the best-in-class tool for monitoring and management of your MySQL assets and is included with your MySQL Enterprise Edition and MySQL Enterprise Carrier Grade subscriptions.
You can find more information on the contents of this release in the change log.
Highlights of MySQL Enterprise Monitor 4.0 include:
- Modern look and feel: a redesigned user interface delivers a vastly improved overall user experience. The visible changes--the layout, the icons, the and the overall aesthetics--provide a more natural and intuitive experience. Views dynamically change and …
This tutorial shows how to install an Ubuntu 17.10 (Artful Aardvark) server (with Apache2, BIND, Dovecot) for the installation of ISPConfig 3.1, and how to install ISPConfig. ISPConfig 3 is a web hosting control panel that allows you to configure the following services through a web browser: Apache or nginx web server, Postfix mail server, Courier or Dovecot IMAP/POP3 server, MySQL, BIND or MyDNS nameserver, PureFTPd, SpamAssassin, ClamAV, and many more. This setup covers the installation of Apache (instead of nginx), BIND (instead of MyDNS), and Dovecot (instead of Courier).
Since its creation, Galera Cluster has established itself as the most popular high availability solution for MySQL and MariaDB users worldwide.
ClusterControl is the go-to automation and management system for Galera Cluster users.
And together, we’re going to walk you through all the different aspects that make Galera Cluster such a popular high availability solution for MySQL and MariaDB and how to best manage it with ClusterControl.
We’ll hear about the latest features of Galera Cluster directly from Codership, the creators of Galera Cluster. And we’ll look at how to automate everything from deployment, monitoring (how about ASCII-art graphs?), backups, failover, recovery, rolling upgrades and scaling using the ClusterControl CLI (for a change, we also have a GUI of course).
AGENDA
Introduction
About Codership, the makers of Galera Cluster
About Severalnines, the makers of …
Now that MySQL 8.0.3 RC1 is installed and that we saw how to verify the workload, it’s time to see if we can optimize some of the queries. As explained before, rewriting queries when using a product like WordPress is complicated but maybe we can do something for the indexes ?
So, do you remember how to check the query that was consuming most resources ? Let’s find it out again:
mysql> select t1.*, QUERY_SAMPLE_TEXT from statement_analysis as t1
join performance_schema.events_statements_summary_by_digest as t2
on t2.digest=t1.digest and t2.SCHEMA_NAME = t1.db where db = 'wp_lefred' …[Read more]
In this blog post, we’ll look at Percona Monitoring and Management’s pmm-admin list command.
The pmm-admin list command shows all monitoring services you have added using the pmm-admin add command. Starting with version 1.4.0, Percona Monitoring and Management (PMM) also lists external monitoring services when you run pmm-admin list, i.e., those services that monitor the backends not supported out of the box (such as PostgreSQL databases).
In the output, the external monitoring services appear at the bottom:
The tabular output of the pmm-admin list commandJSON Output for …
[Read more]Dear MySQL users,
MySQL Connector/Net 6.10.4 GA is the first release which
introduces
Online API reference documentation and independent configuration
of
Character set and collation in EF Core models.
To download MySQL Connector/Net 6.10.4 GA, see the
“Development
Releases” tab at http://dev.mysql.com/downloads/connector/net/
Changes in MySQL Connector/Net 6.10.4 (2017-10-25, General
Availability)
Functionality Added or Changed
* Online API reference documentation is now available for
MySQL Connector/Net. This new format replaces the files
compressed and deployed in a binary format with the extension
.CHM (Compiled HTML) that previously shipped with each connector
release.
* The deprecated UseProcedureBodies connection-string
option was removed. …[Read more]
Since its creation, Galera Cluster has established itself as the most popular high availability solution for MySQL and MariaDB users worldwide.
ClusterControl is the go-to automation and management system for Galera Cluster users.
And together, we’re going to walk you through all the different aspects that make Galera Cluster such a popular high availability solution for MySQL and MariaDB and how to best manage it with ClusterControl.
We’ll hear about the latest features of Galera Cluster directly from Codership, the creators of Galera Cluster. And we’ll look at how to automate everything from deployment, monitoring (how about ASCII-art graphs?), backups, failover, recovery, rolling upgrades and scaling using the ClusterControl CLI (for a change, we also have a GUI of course).
AGENDA
Introduction
About Codership, the makers of Galera Cluster
About Severalnines, the makers of …
Now that MySQL is upgraded to 8.0 RC1, let’s have a look on how we could check the workload and see if we can optimize something by adding indexes for example. The same technique can be used to find inefficient queries requiring rewriting.
The first thing we will check is some information regarding the
usage of the user used for lefred.be’s website:
mysql> select * from sys.user_summary where user= 'wp_lefred'\G *************************** 1. row *************************** user: wp_lefred statements: 65060 statement_latency: 2.71 m statement_avg_latency: 2.50 ms table_scans: 234 file_ios: 17151 file_io_latency: 54.83 s current_connections: 0 total_connections: 2541 unique_hosts: 1 current_memory: 52.27 MiB total_memory_allocated: 12.50 GiB
This was after the upgrade, so not much info yet but if I compare with the other sites hosted on the …
[Read more]