The Stroz

Using OCI Alarms to Detect When a MySQL Instance Is Unavailable
Using OCI Alarms to Detect When a MySQL Instance Is Unavailable

MySQL Database Service (MDS) is a fully-managed Oracle Cloud Infrastructure (OCI) service that allows you to harness the ease and power of MySQL in the cloud. Since MDS is deployed to OCI, we can take advantage of OCI Alarms to send notifications when a MySQL instance enters a state that is, shall we say, less than favorable. In this post, we will show how to set up an MDS instance and configure an alarm to send an email when the server becomes unavailable.

Mar 15, 2023
5 minutes
Connecting to a MySQL HeatWave Database Instance Using an OCI Network Load Balancer
Connecting to a MySQL HeatWave Database Instance Using an OCI Network Load Balancer

MySQL HeatWave Database is a fully managed service on Oracle Cloud Infrastructure (OCI) that is developed, managed, and supported by the MySQL team at Oracle. When you provision a new MySQL instance under OCI, you can only connect to the database from inside the OCI network. While this is a great security feature for production services hosted in OCI, it is more challenging to share a development database among different developers. In this post, we will show how you can create a Network Load Balancer to allow access to a MySQL HeatWave Database instance over the internet.

Feb 06, 2023
9 minutes
MySQL Document Store - Peeking Under the Covers
MySQL Document Store - Peeking Under the Covers

MySQL Document Store is a ‘NoSQL’ solution built on top of MySQL. Last month, I gave a talk at THAT Conference about using MySQL Document Store with Node.js. During that talk, one of the attendees asked if it was possible to see the underlying queries executed when we use the CRUD API in Document Store.

Feb 02, 2023
8 minutes
Functional Indexes in MySQL
Functional Indexes in MySQL

Database indexes are used to help query performance. Database indexes typically contain information about data in a specific column of the database table. With the introduction of functional indexes in MySQL 8.0.13, we can now create indexes based on the result of an expression or function.

Jan 12, 2023
3 minutes
Indexing JSON Data in MySQL
Indexing JSON Data in MySQL

Storing JSON in a relational database is something developers have done for quite some time. There are a variety of reasons why you would want to store JSON in a database table - user preferences and configuration data are two good examples. The JSON Data Type was introduced to MySQL in version 5.7.8. This data type allows us to store valid JSON in a database column and run queries based on the values in the JSON.

Jan 10, 2023
7 minutes
Creating Aliases In MySQL Shell
Creating Aliases In MySQL Shell

MySQL Shell is a powerful way to connect to and manage MySQL instances. Connections can even be made to servers that are behind an SSH connection. In this post, we will discuss how to extend and customize MySQL Shell so that it is easier to initiate those connections.

Oct 17, 2022
7 minutes
Indexing Data in MySQL Document Store
Indexing Data in MySQL Document Store

MySQL Document Store is a JSON document storage solution built on top of MySQL. One feature of MySQL Document Store that can help speed up searches is the ability to create indexes of data contained within our JSON documents. In this post, we will demonstrate creating an index and look at the changes made to our collection after we create the index.

Oct 07, 2022
6 minutes
Sep 22, 2022
9 minutes
Connecting MySQL Shell Over SSH
Connecting MySQL Shell Over SSH

As I mentioned in my last post, I am a big fan of MySQL Shell. Until recently, I have only used MySQL Shell to connect to a local instance of MySQL running on my development machine.

Sep 12, 2022
3 minutes
MySQL Shell Alias For PowerShell
MySQL Shell Alias For PowerShell

Yesterday, my colleague, Fred (AKA LeFred), shared a blog post that discusses setting up aliases that allow us to run MySQL Shell when we enter mysql at a command prompt.

Sep 09, 2022
2 minutes