Vitess introduces a new way to run schema migrations: non-blocking, asynchronous, scheduled online DDL. With online DDL Vitess simplifies the schema migration process by taking ownership of the operational overhead, and providing the user a simple, familiar interface: the standard ALTER TABLE statement. Let’s first give some background and explain why schema migrations are such an issue in the databases world, and then dive into implementation details The relational model and the operational overhead # The relational model is one of the longest surviving models in the software world, introduced decades ago and widely used until today.
I’ve already provided some solutions to connect to your MDS instance, using MySQL Router, SSH tunnel, … but one of the best way if you have multiple instance to manage, is to use a VPN.
This post summarize the steps on how to deploy Open VPN and configure your VCN to use it.
So, in OCI, we have already some MDS & Compute instances deployed, this is how the dashboard looks like:
OpenVPN Deployment
We can start by deploying our OpenVPN instance using OCI’s Marketplace:
And you follow the wizard by adding your administrator username and password:
An important step is to use the existing VCN and place the OpenVPN in the public subnet:
And you create the instance:
…
[Read more]
Most developers use some form of auto-incrementing integer
counter for a given database table, ensuring uniqueness
among the rows. Several of the popular SQL dialects implement
this facility. For instance, MySQL’s AUTO_INCREMENT
attribute is used to provide a unique identity for a table row.
What exactly is the behavior of AUTO_INCREMENT
? Can
you explicitly use a value of your choosing for it if you need
to? How does it count? Continue reading and know the answers to
these questions and more…
Image by Gerd Altmann from …
[Read more]MySQL 5.6.51 is the last release of the MySQL 5.6 series. Oracle will no longer provide updates or security fixes for this version.
Following Percona’s Release Lifecycle policies, the Percona Server for MySQL 5.6 series has reached End of Life (EOL) as well, and we will no longer provide public builds for bugs and security fixes.
We recommend that you upgrade to MySQL 5.7 or Percona Server for MySQL 5.7, or for the latest features, MySQL 8.0 or Percona Server for MySQL 8.0.
Suppose you have not upgraded because you have off-the-shelf applications that also must be upgraded and require 5.6, or you have other …
[Read more]In this example i will show you mysql add 1 day to timestamp step by step explain how to add days in date in mysql i explained simply about how to add 7 days to current date in mysql This tutorial will give you simple example of mysql add day to dateI will give you simple query to getting add
Now lets see article of mysql query for data between two dates you can understand a concept of mysql query for between two dates if you have question about mysql query between two dates column then i will give simple example with solution We will use mysql select between two dates timestamp So
Hybrid environments, where a part of the database infrastructure is located on-prem and some of it is located in a public cloud are not uncommon. There may be different reasons to use such setup - scalability, flexibility, high availability, disaster recovery. How to implement this setup in a proper way? This might be challenging as you have to consider several pieces of a puzzle that have to fit together. This blog is intended to give you some insights into how such a setup may look like.
Connectivity
We are not going into details here because there are many ways of setting up connectivity between your on-prem setup and the public cloud. It will depend on the infrastructure you have in place, the public cloud you want to use and many other factors. Range of options may start with BGP-enabled routers, through hardware VPN, software VPN ending up on SSH tunnels as a way to temporarily connect your network to the instances in a public …
[Read more]This blog post was first published on FoggyKitchen.com.
Hello fine gourmets, for my first dish in the FoggyKitchen.com, I decide to present you how to deploy WordPress on OCI using MySQL Database Service aka MDS.
I wrote some Terraform recipes that you can find on my GitHub repository: oci-wordpress-mds.
In this first post, I will show how easy it’s to deploy directly from OCI’s dashboard using Resource Manager’s stack. I will also share the recent additions.
The first think to do is to download the stack in releases from GitHub:
When the zip file is downloaded locally, you can login in …
[Read more]
From MySQL 5.7, we had a Multi-threaded Slave (MTS) Applier
mechanism called
LOGICAL_CLOCK
to overcome the
problems of parallel replication within a database.
To further improve the parallelisation mechanism, from MySQL 8 (5.7.22) we have write-set replication, so before going further , lets look at the difference between Logical clock (LC) and Writeset.
LOGICAL_CLOCK
Transactions that are part of the same binary log group commit on a master are applied in parallel on a slave. The dependencies between transactions are tracked based on their timestamps to provide additional parallelisation where possible.
WRITESET
Write-set
is a mechanism to track independent
transactions that can be executed in parallel in the slave.
Parallelising on write sets has potentially much more parallelism
than logical_clock
,since it does not depend …
This post was written by:
Nicolas De Rico: Oracle Cloud Solutions Engineer - MySQL
Sergio J Castro: Oracle Cloud Solutions Engineer - Networking
From RDS to MDS
When an application reaches the maximum capabilities offered by Amazon Web Services (AWS) RDS, it is often recommended to migrate to the AWS Aurora service. However, Aurora is based on an older version of MySQL. Aurora still does not support MySQL 8.0, which was released in April 2018. Therefore, it may be difficult to port applications to Aurora, and later, out of Aurora because of its proprietary aspects.
Defy conventional wisdom by upgrading from RDS to MDS and access many benefits
Instead of …
[Read more]