MySQL is the most popular open-source database and developers use it for building applications in various domains. MySQL HeatWave is a fully managed service for the MySQL database from Oracle and has built in support for machine learning (HeatWave ML). The user can use familiar SQL interfaces to invoke all the machine learning capabilities. In this article, we show you how to use HeatWave ML to build a ML model based on Census dataset to predict if an individual makes greater than 50k per year.
When we run a SELECT in a replica server and it returns a different result to the one we would have obtained had we queried the source server instead, due to changes in the dataset that have not yet been replicated or synchronized to the replica, we get what is known as a stale read. My colleague Marcelo has blogged about Stale Reads and How to Fix Them before.
The need to avoid stale reads is a constraint that leads people into migrating to Percona XtraDB Cluster (PXC) / Galera Cluster or, more recently, Group Replication. I am focusing on PXC and Galera in this short blog post, which, similar to Group Replication, implements not exactly a synchronous replication model but what is commonly referred to as a …
[Read more]In this blog, I explain how to recover from a replication failure caused by a corrupted relay log file.
MySQL replica stores data received from its source binary log in the relay log file. This file could be corrupted due to various reasons, mostly hardware failures. If this happens, replication will stop working, and the error log on the replica will have entries similar to:
2022-05-12T12:32:07.282374Z 2 [ERROR] Error in Log_event::read_log_event(): 'Event too small', data_len: 0, event_type: 0 2022-05-12T12:32:07.282386Z 2 [ERROR] Error reading relay log event for channel '': slave SQL thread aborted because of I/O ... 2022-05-12T12:32:07.282396Z 2 [ERROR] Slave SQL for channel '': Relay log read failure: Could not parse relay log event entry. The possible reasons are: the master's binary log is corrupted (you can check this by running 'mysqlbinlog' on the binary log), the slave's relay log is corrupted (you can check this by running …[Read more]
Introduction This is the fourth in a series of blogs that detail how to setup and use a LAMP Stack that makes use of MySQL HeatWave in the Oracle Cloud. Predicates for completing the tasks in this blog You will need to have completed Parts 2 and 3 of this series of blogs. You […]
Introduction This is the third in a series of blogs that detail how to setup and use a LAMP Stack that makes use of MySQL HeatWave in the Oracle Cloud. Predicates for completing the tasks in this blog You will need to have completed Part 2 of this series of blogs and gathered the […]
Introduction This is the second in a series of blogs that detail how to setup and use a LAMP Stack that makes use of MySQL HeatWave in the Oracle Cloud. This blog will start to implement the architectural vision discussed in part 1 by detailing the steps necessary to build the infrastructure. Using […]
Usually, I receive a lot of emails, and sometimes I read them on my phone and then… I forgot about them.. (shame on me).
On my Linux desktop, I used to use Get Things Gnome for a long time, due to the declining appeal of the project and the end of the extension for Thunderbird, I found it less and less useful.
I was then looking for a solution to have my todolist accessible from everywhere and that I could manage it myself, not hosted somewhere.
I found a very nice, fast and practical project that was easy to deploy and was using MySQL as backend: myTinyTodo.
However, I was missing the possibility to easily create a new task from an email (and especially on my phone).
This is why I decided to write a script that would perform exactly what I was looking for and integrated …
[Read more]Oracle’s MySQL 8.0.29 release extended the support for ALTER TABLE … ALGORITHM=INSTANT to 1) allow users to instantly add columns in any position of the table, and 2) instantly drop columns. As part of this work, the InnoDB redo log format has changed for all DML operations on the server. This new redo log format introduced a design flaw that can cause data corruption for tables with INSTANT ADD/DROP COLUMNS.
The corruption happens when InnoDB crash recovery takes place. InnoDB applies redo logs at startup. Percona XtraBackup copies the redo log during backup and applies it as part of the –prepare step to bring the backup to a consistent state.
Percona fixed the corruption issue and several other issues with the INSTANT ADD/DROP column …
[Read more]Introduction This is the first in a series of blogs that detail how to setup and use a LAMP Stack that makes use of MySQL HeatWave in the Oracle Cloud. Part 1 (this part) will set the scene by detailing what a LAMP stack is and what deployment options are available in the Oracle Cloud. […]
Do you know what time it is? It’s time for your weekly media resource on all things MySQL, PHP, and LAMP stack! Like I always say, I hope you enjoy this issue of OpenLampTech as much as I did! Thank you for reading and please share the OpenLampTech publication with others!
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.
This week in OpenLampTech issue #35, we are looking at articles covering:
- MySQL Joins
- PHP logical operators
- Linux sudo vs su
- A nice Laravel dev environment …