Showing entries 2163 to 2172 of 45337
« 10 Newer Entries | 10 Older Entries »
Quick Data Archival in MySQL Using Partitions

Space constraint has been an endless and painstaking process for many of us, especially in systems that have a high number of transactions and data growth exceeding hundreds of GBs in a matter of days. In this blog, I will share a solution to remove this space and remove rows from tables in a few seconds regardless of the size of a table without causing any additional load on the database using table partitions.

The first approach that comes to anyone’s mind for deleting the row is using a DELETE query in SQL. Suppose, one wants to delete rows from a table that are older than one year—the query for such operations would be like this:

DELETE FROM salaries WHERE from_date <DATE_SUB(NOW(),INTERVAL 1 YEAR);

The above query is pretty straightforward but there are a few caveats:

  • Server business will grow exponentially and could impact the usual traffic on the server.
  • To speed up the above query …
[Read more]
Tale of a MySQL 8 Upgrade and Implications on Backup

Recently, we performed a database engine major version upgrade in one of our customers’ environments from MySQL 5.7.26 to 8.0.27. After this version upgrade, we experienced issues with backups and replication for one of the nodes.

In this article, I will explain these issues in detail and recommend a way to take backups from a replication environment.

To begin with, we upgraded all the database nodes from 5.7.26 to 8.0.27 and as a recommended way we have a backup set-up from one of the replica nodes. Physical backups are being taken using Percona XtraBackup (PXB) so it does not lock the database during the backup.

With MySQL 5.7, a backup was taken using PXB 2.4. Due to the new data dictionaries, redo log and undo log in MySQL 8.0, we also upgraded PXB to 8.0.27 to avoid …

[Read more]
Import data from Amazon Aurora PostgreSQL to MySQL HeatWave Database Service in OCI

In previous posts we already saw how to export data from PostgreSQL and AWS RedShift, and import it on MySQL Database Service in OCI using MySQL Shell importTable utility: Today, we will see how we can export some tables from AWS RDS Aurora PostgreSQL and import them on MySQL HeatWave Database Service. For this exercise, […]

How to import data from Amazon Redshift to MySQL HeatWave Database Service

We saw in this previous post how to import data from PostgreSQL to MySQL HeatWave Database Service. Using almost the same technique, we will now import data from Amazon Redshift and import it to a MySQL HeatWave instance in OCI. With Redshift we have two options to export the data to CSV files that can […]

How to import data from Amazon Redshift to MySQL HeatWave Database Service

Importing CSV files into a MySQL HeatWave Database Service instance is very easy and efficient thanks to MySQL Shell. It can be used to import data from RedShift as we describe in this post.

Faster MySQL with HTTP/3

Over here at PlanetScale, we offer you a MySQL database. As a part of this offering, it is critical that we offer you a MySQL protocol-compatible interface to access. This enables using mysql-client as well as any MySQL-compatible driver for your favorite language.

But what if we weren’t constrained by this? Could we provide an alternative interface and API?

Warning

Most of what I will be discussing is not publicly documented and is entirely experimental.The background

As a part of some of our infrastructure initiatives, we demanded new APIs and connectivity features for our database. To support features that weren’t available over the MySQL protocol, we decided to start bolting on a publicly accessible HTTP API. This API is not documented for public consumption just yet (it will be, I promise), …

[Read more]
Faster MySQL with HTTP/3

In this article we explore how our HTTP/3 API compares to the latency of a traditional MySQL client.

How to import data from PostgreSQL to MySQL HeatWave Database Service

MySQL HeatWave Database Service is very popular and many users wants to benefit from the managed MySQL service and from MySQL HeatWave fast engine. We see many users migrating their data from MySQL on-premise or from another cloud vendor to OCI MySQL HeatWave… but we also see people migrating from other data-stores like PostgreSQL. In […]

Successful RDS to OCI MySQL HeatWave Migration with Replication Channel Filters

If you tried to migrate live from Amazon RDS/Aurora or any other Cloud to OCI MySQL HeatWave before December 6, 2022, you may have encountered issues with Amazon to OCI asynchronous replication. See: Live Migration from Azure Database for MySQL to MySQL Database Service on OCI This is because Amazon (an other Cloud) writes to […]

Successful RDS to OCI MySQL HeatWave Migration with Replication Channel Filters

How to use MySQL HeatWave Inbound replication channel filters.

Showing entries 2163 to 2172 of 45337
« 10 Newer Entries | 10 Older Entries »