Session
FOSDEM 2021 Schedule
MySQL

Passing query attributes through the MySQL protocol

Extension to the wire format to allow data/metadata
D.mysql
Joro Kodinov
I'll explain the newest addition to the MySQL wire format that allows client applications to pass data in the COM_QUERY command that then can be processed by the server and components in various ways. I'll demonstrate how an audit plugin and the SQL query itself can take advantage of the data passed by the client.
COM_QUERY can now take named binary values parameters. And the server can serve the values of these to components and plugins. As well as the SQL query itself. Let's learn how to prepare these values using the C API and how to process them inside the server.

Additional information

Type devroom

More sessions

2/7/21
MySQL
Dave Stokes
D.mysql
MySQL has now been arounds for over a quarter of a century. So what has really changed since 3.21 has become available? So how did a little programming project become the ubiquitous database? This session is a look at the many changes in the product, the company, and the people involved in MySQL.
2/7/21
MySQL
Shlomi Noach
D.mysql
This session reveals four experimental Vitess developments that automate away complex database operations. With these developments Vitess is able to run its own database infrastructure, transparently to the user, and take control of risky and elaborate situations and operations. We will briefly explain the Vitess architecture and how it supports said control, and discuss the following developments: Throttling: pushback for massive writes. Table life cycle: safe and lazy DROP TABLE operations. ...
2/7/21
MySQL
Frédéric Descamps
D.mysql
During this session, I will show how we can start from a single instance to MySQL InnoDB Cluster, the automated HA solution for MySQL, passing by the following architecture: Single MySQL Source / Asynchronous Replica InnoDB ReplicaSet InnoDB Cluster I will cover the limitations of each options and how to migrate from one to the next one with minimal downtime.
2/7/21
MySQL
Aníbal Pinto
D.mysql
Group replication is a mature and feature rich solution for data replication and automation of fail-over. To be able to operate without human intervention, it relies on group-based coordination protocols and as such require constant interaction between servers over the network. As such, adjusting the configuration to deal with network instability is something that should be done to get the most of the replication deployment. This session showcases the best practices that allow you to deploy ...
2/7/21
MySQL
Marco Tusa (the Grinch)
D.mysql
Containers, kubernetes and virtualizations are, as never before, the shining objects of our times. While we are used to implementing them in case of stateless situations, it becomes more difficult to see them serve properly in case of stateful solutions like RDBMS. But after I have won some personal reluctance, I started to experiment with the Percona Operator for MySQL. With this presentation, I will bring you a short journey as a result of my experience as DBA in the usage of the Percona ...
2/7/21
MySQL
Frédéric Descamps
D.mysql
MySQL Router is part of MySQL InnoDB Cluster and MySQL InnoDB ReplicaSet, but not only. This piece of software is still unknown by many users but improved a lot during the last year. In this session, the audience will learn about MySQL Router's REST API. How to enable it and how to use it. We will also see how this API can be integrated into a monitoring solution and I will share my journey dealing with its authentication: I will share my thoughts and best practices.
2/7/21
MySQL
Dave Stokes
D.mysql
MySQL has added many new features to make user account management easier. The server can now generate random passwords that follow the rules you manage. If you have too many 'Dave's or 'Fred's in your organization, you can store GCOS like information in the mysql.user.User_attributes column to directly identify who you are referencing. And you can now have dual passwords on an account. These additions can make account management much easier but only if you know about them!