In MySQL 8.0.16 the optimizer has improved again! Comparisons of columns of numeric types with constant values are checked and folded or removed for invalid or out-of-rage values. The goal is to speed up query execution.
The PingCAP team has always been a strong supporter of Percona and the wider open source database community. As the people who work day in and day out on TiDB, an open source NewSQL database with MySQL compatibility, open source database is what gets us in the morning, and there’s no better place to share that passion than Percona Live.
At this year’s Percona Live Open Source Database Conference in Austin, Texas, we are particularly excited to bring you a full track of talks and demo on the latest development in TiDB during Day 1 of the conference.
Who would benefit from the TiDB track
The TiDB track is designed to share with developers, DBAs, and practitioners in general technical know-hows, reproducible benchmarks (no benchmark-eting), and best practices on how TiDB can solve their problems. …
[Read more]HI again! It’s been some time since I wrote and shared some of our updates with you. My intention back then was to give you an update with every release — if only all my plans worked out! However we’ve now had 3 releases since last I shared an update with you so it’s time that I updated everyone on what we’ve been working on.
All of our connectors (well except for ODBC) implement our new X DevAPI and so I’ll briefly go over these features and then break out some of the major connector specific features included.
X DevAPI
Handling of default schema
We had some inconsistencies regarding how a default schema given on a connection string was handled by some of our connectors. If a user gives a schema on the connection string — such as this – it was expected that myschema would be the default schema set on the session. This would mean that any SQL issued against that …
[Read more]This is my second post on the topic of reliable MySQL8 cluster. Hopefully the last one as things look much brighter now. In my previous post about MySQL8 and building an InnoDB cluster, I’ve described the overall design of the KeyChest backend. This has been running well for a couple of weeks till a network
The post MySQL8 Cluster and Networking Problems appeared first on Magic of Security.
A quick one in case anyone else hits the same problem as I encountered. The documentation for authentication_ldap_sasl_log_status and authentication_ldap_simple_log_status states these variables can be set to a value between 1 and 5 to control the types of messages logged.
If you set them and still find nothing is logged then sett log_error_verbosity to it’s maximum value of 3 and you should find the messages are output to the error log as expected.
Thats all! …
[Read more]We are pleased to announce the launch of PMM 2.0.0-alpha2, Percona’s second Alpha release of our long-awaited PMM 2 project! In this release, you’ll find support for MongoDB Metrics and Query Analytics – watch for sharp edges as we expect to find a lot of bugs! We’ve also expanded our existing support of MySQL from our first Alpha to now include MySQL Slow Log as a data source for Query Analytics, which enhances the Query Detail section to include richer query metadata.
- MongoDB Metrics – You can now launch PMM 2 against MongoDB and gather metrics and query data!
- MongoDB Query Analytics – Data source from MongoDB Profiler is here!
-
MySQL Query Analytics
- Queries source – MySQL Slow Log is here!
- Sorting and more …
Conglomeration, Collaboration and Celebration of Database Administrators
Founders of Mydbops envisioned contributing knowledge back to the community. This vision is shaping up in its 3rd edition of the Meetup held on Saturday the 27th of April, 2019. This meetup edition had drawn a good amount of members from the Open Source Database Administrative Community, to the venue. The core agenda was set on “High Availability concepts in ProxySQL and Maxscale”. There were also presentations in MongoDB Internals along with MySQL Orchestrator and its implementation excellence at Ola (ANI Technologies Pvt. Ltd.)
The participants from various organisations like MariaDB, TeleDNA, CTS, OLA, Infosys, …
[Read more]It’s been a year since MySQL 8.0 became GA and 8.0.16 has just been released. A good time to look at what happened with MySQL Connector/Python over the last few years.
pypi presence
When we created our connector we knew hat providing it via PyPI was important and we used PyPI as distribution channel. Later PEP 470 was published, which changed how packages are hosted and we introduced the C Extension, which required re-working the packaging. It took us a bit time to get all things right, but for a while we are now back on PyPI and you can get it not only from or downloads page, but also with a simple install using the pip tool:
$ pip install mysql-connector-python Collecting …[Read more]
I mentioned in my previous blog entry that had I encountered an issue with this plugin, and I think now that it has been fixed in the latest MySQL versions (released on 2019-04-25) it’s reasonable to share my findings.
The following tests are with MySQL Version 8.0.13. I start by installing the plugin, pointing it at my Windows Domain Controller and creating a user associated with the DN of my Windows account.
mysql> INSTALL PLUGIN authentication_ldap_simple SONAME 'authentication_ldap_simple.so';
Query OK, 0 rows affected (0.05 sec)
mysql> SET GLOBAL authentication_ldap_simple_server_host='win-dc.windows.domain';
Query OK, 0 rows affected (0.00 sec)
mysql> CREATE USER 'patrick'@'%'
-> IDENTIFIED WITH authentication_ldap_simple
-> BY …[Read more]
With MySQL Shell 8.0.16, a new very interesting feature was released: the Reporting Framework.
Jesper already blogged about it and I recommend you to read his articles if you are interested in writing your own report:
- https://mysql.wisborg.dk/2019/04/26/mysql-shell-8-0-16-built-in-reports/
- https://mysql.wisborg.dk/2019/04/27/mysql-shell-8-0-16-user-defined-reports/
I this post, I will show you one user-defined report that can be used to monitor your MySQL InnoDB Cluster / Group Replication.
Preparation
Before being able to use the report, you need to download 2 files. The first one is the …
[Read more]