MySQL at TaranovoConf, Bulgaria
MySQL Shell is a powerful utility for managing MySQL Instances. One feature is the ability to perform multithreaded data dumps and loads. In this post we will discuss hows to dump data to, and read data from, a Storage Bucket in Oracle Cloud Infrastructure.
MySQL HeatWave on AWS is now available in AWS Asia Pacific (Mumbai) region
The "Max Transaction Limit" feature added MySQL Thread Pool in MySQL 8.0 Enterprise Edition helps to prevent performance drops as load increases.
We are sure you’ve probably already heard that MySQL 5.7 is going to reach End of Life (EOL) by October 2023. We are here to tell you that the migration from MySQL 5.7 need not be scary — MySQL 8.0 has been Generally Available for five years, and the Galera Cluster product for it, has been hardened for over three years, so it is truly time to get ready to migrate.
In our first session of the series, we are going to cover:
* the new features of Galera Cluster with MySQL 8 that you might
benefit from, including what is available in Galera Cluster
Enterprise Edition (EE)
* how to plan a migration from MySQL 5.7 or older to 8.0
* things to test for, before migrating
* common pitfalls of said migration
* how to ensure your Galera Cluster keeps humming along with no
downtime
We also offer migration support to help you before and during your migration, after-which our regular support plan will cover …
[Read more]I am trying something new with the OpenLampTech developer newsletter here on the blog. I will start re-sharing last week’s newsletter on the following Wednesday instead of Monday. If you want it earlier than that, you should subscribe. This won’t be permanent but does help me with some content creation as I am too thin with original content at the moment for the weekly blog. Thanks for reading!
Custom WooCommerce and Shopify Solutions
Discover useful WooCommerce and Shopify custom solutions for your online store today at affordable prices!
The Newsletter for PHP and MySQL Developers
Receive a copy of my ebook, “10 MySQL Tips For Everyone”, absolutely free when you subscribe to the OpenLampTech newsletter.
…
[Read more]Last time we tried to connect to a MySQL DB instance in OCI with Cloud Shell, we needed to use the bastion service. See here.
Now, we also have the possibility to bypass the bastion host as Cloud Shell offers the possibility to change network.
As you know, in Oracle Cloud Infrastructure, a MySQL DB instance is not exposed in the public subnet and doesn’t have the possibility to get a public IP.
In the Private Subnet, we often have a security list allowing all internal IPs (from public and private subnet of the VCN) to connect to the MySQL port(s).
If the security list is present, we can click on the Cloud Shell icon and once loaded, change the network:
We need to create a new Private Network Definition:
In case you don’t have the ports open for MySQL in the …
[Read more]How to connect to a MySQL DB Instance in OCI using Cloud Shell in the browser.
When working with MySQL (or any database!), it's essential to understand how indexes work and how they can be used to improve the efficiency of queries. An index is a separate data structure that maintains a copy of part of your data, structured to allow quick data retrieval. Usually, this structure is a B+ Tree. We have an entire post on how indexes work if you want to go into greater detail. Obfuscated indexes Creating indexes is only part of the battle. You must also know how to write your queries so that you allow MySQL to use your indexes. One common mistake people make when writing queries is that they obfuscate their indexes. Obfuscating an index simply means that you're hiding the indexed value from MySQL. Let's say you have a todos table with a created_at column that records a timestamp of when the record was created.CREATE TABLE `todos` ( `id` int NOT NULL AUTO_INCREMENT, `title` varchar(255) NOT NULL, `created_at` timestamp NOT NULL …
[Read more]Using redundant conditions as a method to unlock obfuscated indexes and improve performance in MySQL.