MySQL 8.0.24 introduces several new improvements and updates, many of which deserve their own blog post for a deep dive into the new features. The new version includes new features and bug fixes for Optimizer, GIS, InnoDB, Performance schema, Replication, Group Replication, Router, MTR Testsuite, an...
This blog post will show how to compile the Percona XtraBackup (PXB) tool for ARM. For this, we are going to use an AWS EC2 ARM instance with Ubuntu 20.04(Focal Fossa).
The motivation for this was born in my interest in the new generation of ARM processors and if this is a viable option for the future. Ideally, I do not recommend installing all the necessary packages to compile Xtrabackup in a production environment for security reasons. Still, you can have a “compiling” server for this purpose and then move the binaries around.
Machine Configuration
For this blog post, I picked a c6g.2xlarge instance. The machine has the following hardware configuration:
Multi-writer replication has been a challenge in the MySQL ecosystem for years before truly dedicated solutions were introduced – first Galera (and so Percona XtradDB Cluster (PXC)) replication (around 2011), and then Group Replication (first GA in 2016).
Now, with both multi-writer technologies available, do we still need traditional asynchronous replication, set up in active-active topology? Apparently yes, there are still valid use cases. And you may need it not only when for some reason Galera/PXC or GR are not suitable, but also when you actually use them. Of course, the most typical case is to have a second cluster in a different …
[Read more]
Programming logic is foundational in any application or piece of
software. Without it, software wouldn’t really do much of
anything. Everything happens off of choice. In the end, some
truthy or falsy value is what makes stuff work.
For IF/THEN/ELSE logic in
standard SQL, there is the CASE expression. There
are 2 variations of the CASE Expression: Simple and
Searched. In this post, I cover the Simple MySQL
CASE expression with example queries…
Image by Nika Akin from …
[Read more]
The first tutorial supplementing the MySQL Connector/NET Developer Guide
showed you how to connect and run static INSERT
statement. It was a barebones PowerShell script with the MySQL
Connector. This post shows you how to run a PowerShell script
that uses a dynamic form to gather the MySQL credentials and then
run a static query. Below is the MySQL Credentials form.
You enter the correct user name, password, hostname (or IP address), port, and database, like this:
Here’s the complete code for this staticQuery.ps1
PowerShell script:
# Add libraries for form components. …[Read more]
It was interesting to note that the MySQL Connector/NET Developer Guide doesn’t have any instructions for connecting to the MySQL database from Microsoft Powershell. I thought it would be helpful to write a couple demonstrations scripts, especially when a quick search didn’t find a set of easy to follow samples.
The connection process to MySQL with Powershell is easiest with a
non-query, so I created a db_connect table into
which I could write a row of data:
CREATE TABLE db_connect ( db_connect_id INT UNSIGNED PRIMARY KEY AUTO_INCREMENT , version VARCHAR(10) , user VARCHAR(24) , db_name VARCHAR(10));
The following insert.ps1 PowerShell script connects
to the MySQL database, and inserts one row into the
db_connect table:
# Connect to the libaray …[Read more]
Join us on Wednesday April 28th, 2021 @9:00AM PST for a live webinar that will cover how to migrate from Amazon Aurora to MySQL Database Service and HeatWave.
See how you can easily migrate your data from Amazon Aurora to MySQL Database Service and benefit from 1100x performance increase at 1/3 the cost, right away.
You will takeaway quick steps and best practices for your
database migration.
Learn more about MysQL Database Service
…
[Read more]Join us on Wednesday April 28th, 2021 @9:00AM PST for a live webinar that will cover how to migrate from Amazon Aurora to MySQL Database Service and HeatWave. See how you can easily migrate your data from Amazon Aurora to MySQL Database Service and benefit from 1100x performance increase at 1/3 the ...
Join us on Thursday April 29th, 2021 @10:00 CET (EMEA) for a live webinar that will cover the new features of MySQL Enterprise Edition.
Who's the event for?
- Your applications manage personal data: name, account numbers, passwords
- You belong to an industry or region that is subject to data protection requirements
- You use 3rd party components for authentication, auditing, & key management
- You're an ISVs and SaaS organization that manages sensitive customer data
- You're an existing MySQL Community Edition user
Learn how MySQL Enterprise Edition will save you time and give you piece of mind by increasing the protection of your critical data, the prevention of data breaches and by helping you meet regulator requirements.
MySQL …
[Read more]Join us on Thursday April 29th, 2021 @10:00 CET (EMEA) for a live webinar that will cover the new features of MySQL Enterprise Edition. Who's the event for? Your applications manage personal data: name, account numbers, passwords You belong to an industry or region that is subject to data protection...