The latest Episode of MySQL Shorts is now available! Check out Episode 59 on the MySQL YouTube Channel to learn how to import data from a csv file into a MySQL database using MySQL Shell.
Episode #59 of MySQL Shorts in now available!
Duplicates pose an ongoing risk to the data consistency and the overall database efficiency. This article will explore the issue of duplicate records, including their origins, the effects they have on databases, and strategies for swiftly detecting and permanently removing duplicates.
The post How to Remove Duplicate Rows in MySQL appeared first on Devart Blog.
The MySQL Heatwave Service (MHS) in Oracle Cloud Infrastructure (OCI) includes a backup feature for MySQL HeatWave database systems (DB systems). However, these backups are scheduled either once in every 24 hours or can be created on-demand. If any event occurs in between to alter the data, the customer could potentially loose data worth minutes […]
Codership is pleased to announce a new Generally Available (GA) release of the multi-master Galera Cluster for MySQL 8.0, consisting of MySQL-wsrep 8.0.36 (release notes, download), with Galera replication library 4.18 (release notes, download) implementing wsrep API version 26. This release incorporates all changes to MySQL 8.0.36, adding a synchronous option for your MySQL High Availability solutions.
There have been some notable changes …
[Read more]You may have noticed that MySQL now supports creating functions (and store procedures) in Javascript using GraalVM. This new functionality is only available in MySQL Enterprise and MySQL HeatWave. As a developer, you can also get free access to MySQL Enterprise from Oracle Technology Network (OTN): MySQL Enterprise Download. I also recommend you look at […]
Let's take a look at these examples to understand how Javascript functions inside MySQL can be used.
You may have noticed that MySQL now supports creating functions (and store procedures) in Javascript using GraalVM.
This new functionality is only available in MySQL Enterprise and MySQL HeatWave.
As a developer, you can also get free access to MySQL Enterprise from Oracle Technology Network (OTN): MySQL Enterprise Download.
I also recommend you look at Øystein’s presentation during the Belgian MySQL Days: [1], [2].
Why use a JS function?
As you may know, UUIDs are increasingly popular and their usage in MySQL is limited to the UUID V1.
I already covered this in the blog post titled …
[Read more]Universally Unique Identifiers, also known as UUIDs, are designed to allow developers to generate unique IDs in a way that guarantees uniqueness without knowledge of other systems. These are especially useful in a distributed architecture, where you have a number of systems and databases responsible for creating records. You might think that using UUIDs as a primary key in a database is a great idea, but when used incorrectly, they can drastically hurt database performance. In this article, you'll learn about the downsides of using UUIDs as a primary key in your MySQL database. The many versions of UUIDs At the time of this writing, there are five official versions of UUIDs and three proposed versions. Let's take a look at each version to better understand how they work. UUIDv1 A UUID version 1 is known as a time-based UUID and can be broken down as follows:
While much of modern computing uses the UNIX epoch time (Jan 1, 1970) as its base, …
[Read more]In MySQL 8.0.12, we introduced a new algorithm for DDLs that won’t block the table when changing its definition. The first instant operation was adding a column at the end of a table, this was a contribution from Tencent Games. Then in MySQL 8.0.29 we added the possibility to add (or remove) a column anywhere […]