This blog post shows how to get started with MySQL HeatWave Lakehouse, create a cluster, run Autopilot to infer your schema and estimate capacity, and finally load and query data.
Making waves as an industry first, MySQL HeatWave Lakehouse enables querying data in object storage at speeds as fast as querying data inside the database while delivering record-setting performance and price-performance on a 500TB workload.
Thank you for your time and for reading OpenLampTech. Let me know what you want to see more of in the weekly publication. Enjoy issue #87.
Custom WooCommerce and Shopify Solutions
Discover useful WooCommerce and Shopify custom solutions for your online store today at affordable prices!
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.
In OpenLampTech issue #87, there are great reads covering:
- MySQL datetimes versus timestamps …
Well, “easy” if you know just a tiny bit of C++.
MySQL is well known for its ease of use, being easy to install, easy to configure, and easy to maintain. What if there is something more that you’d like MySQL to do? How would you integrate some new fancy processing library into MySQL without having to recreate the complexities in pure SQL?
MySQL Loadable Functions would be the way to go. In this blog post, you’ll learn how to set up a build environment for compiling your own MySQL plugin to be loaded into MySQL as a function. Our function will implement a ULID generator using a C++ library from ChrisBove/ulid.
Creating the build environment
The first step is downloading the …
[Read more]Introducing MySQL Innovation and Long-Term Support (LTS) versions.
This blog was originally published in January 2022 and was updated in July 2023.
Working with hundreds of different customers, I often face similar problems around running queries. One very common problem when trying to optimize a database environment is index usage. A query that cannot use an index is usually a long-running one, consuming more memory or triggering more disk iops.
A very common case is when a query uses a filter condition against a column that is involved in some kind of functional expression. An index on that column can not be used.
Starting from MySQL 8.0.13, functional indexes are supported. In this article, I will first explain an overview of indexes in MySQL and cover the MySQL CREATE INDEX before diving into showing what functional indexes are and how they work.
Introduction to MySQL Indexes
…[Read more]Working with my students to create an Ubuntu virtual environment for Python development with the MySQL database. After completing the general provisioning covered in this older post, I’d recommend you create a python symbolic link before installing the MySQL-Python driver.
sudo ln -s /usr/bin/python3 /usr/bin/python
You install the Python development driver with the following:
sudo apt-get -y install python3-mysql.connector
Create a python_connect.py file to test your Python deployment’s ability to connect to the MySQL database:
#!/usr/bin/python # Import the library. import mysql.connector from mysql.connector import errorcode try: # Open connection. cnx = mysql.connector.connect(user='student', password='student', host='localhost', …[Read more]
MySQL HeatWave on AWS is now available in AWS Europe London and Frankfurt regions
In the world of modern web applications, it is increasingly important to support a diverse range of languages and character sets. With the rise of globalization, the need to store and process multilingual data has become essential. MySQL, one of the most popular relational database management systems, recognizes this need and has introduced utf8mb4 in its 8.0 version as a game-changer. In this blog post, we will explore utf8mb4 and its advantages in MySQL 8.0, backed by practical examples.
Understanding utf8mb4
Before diving into the benefits, let’s clarify what utf8mb4 represents. In MySQL, “utf8” refers to a character encoding that supports the Unicode character set using a maximum of three bytes per character. However, the original utf8 implementation in MySQL does not cover all Unicode characters. utf8mb4, on the other hand, is a modified version of utf8 that supports the complete Unicode character set, including emojis …
[Read more]Using MySQL Autopilot to improve price performance for OLTP workloads