Ensuring the security and resilience of your data hinges on having a robust backup strategy, and Percona XtraBackup (PXB), our open source backup solution for all versions of MySQL, is designed to make backups a seamless procedure without disrupting the performance of your server in a production environment.When combined with the versatility of Docker containers, […]
During an interview or while having general discussions, I have found some funny responses that can be easily classified as “Wrong Answers,” but at times, they’re thought-provoking or involve a deep meaning within. This blog is regarding some of the usual MySQL database conversations and responses, which can appear “wrong” or “funny,” but there’s actually […]
Senior Backend Engineer Tanner Record discusses PHP, WordPress, and SQL in this developer interview for OpenLampTech.
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.
Tanner Record writes WordPress and PHP content in his Systematic WordPress Development newsletter, which I’m a recent fan of and highly recommend.
Be sure you’re subscribed to OpenLampTech to receive these posts (and more) directly I’m your inbox at publishing.
Grab your free subscription today.
…
[Read more]You may have come across numerous presentations showcasing MySQL HeatWave as a Query Accelerator for MySQL. However, if you have not yet had the opportunity to test it yourself (if you have, you already know the answer), allow us to conduct a test using actual data to determine the potential benefits of utilizing a MySQL HeatWave Cluster.
Data & Queries
The data is simple, some arduinos with a DHT22 sensor sending temperature and humidity.
So first let’s have a look at the amount of collected data:
select format_bytes(sum(data_length)) DATA,
format_bytes(sum(index_length)) INDEXES,
format_bytes(sum(data_length + index_length)) 'TOTAL SIZE'
from information_schema.TABLES order by data_length + index_length;
+-----------+-----------+------------+
| DATA | INDEXES | TOTAL SIZE |
+-----------+-----------+------------+
| 21.89 GiB | 14.06 GiB | 35.95 GiB |
+-----------+-----------+------------+
1 row …[Read more]
MySQL HeatWave enables users to process and query hundreds of terabytes of data in the object store—in a variety of file formats, such as CSV, Parquet, and Aurora/Redshift export files. This ability to store data on Object Storage and retrieve it dynamically when necessary is a notable advantage of Lakehouse when managing MySQL historical data […]
MySQL binlog | Laravel exception handling | WordPress plugin context | MySQL GUIs. OpenLampTech is a media and content source for MySQL, PHP, and the LAMP stack.
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.
Thanks for reading OpenLampTech. If you are not yet subscribed, please consider grabbing a free subscription today.
Thank you for reading this post. Please share it with someone else who would enjoy it as well.
[Read more]Freelance web developer Phil Kurth shares a fantastic developer interview with the OpenLampTech newsletter readers.
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.
Phil Kurth works with a wide range of clients and builds WordPress plugin extensions for the ever-popular Advanced Custom Fields plugin.
Phil has a lot of knowledge, insight, and experience in the web development industry so I’m very excited he agreed to share this information (and more) with the OpenLampTech newsletter readers.
And now without any further ado, on to the interview.
…[Read more]
Which is faster: LIMIT 1 or LIMIT 20?
Presumably, fetching less rows is faster than fetching more rows.
But for 16 years (since 2007) the MySQL query optimizer has had
a “bug”† that not only makes LIMIT 1 slower
than LIMIT 20 but can also make the former a table
scan, which tends to cause problems. This happened last week
where I work, and although MySQL DBAs are familiar with this bug,
I’m writing this blog post for developers to more clearly
illustrate and explain what’s going on and why because it’s
really counterintuitive.
Which is faster: LIMIT 1 or LIMIT 20?
Presumably, fetching less rows is faster than fetching more rows.
But for 16 years (since 2007) the MySQL query optimizer has had
a “bug”† that not only makes LIMIT 1 slower
than LIMIT 20 but can also make the former a table
scan, which tends to cause problems. This happened last week
where I work, and although MySQL DBAs are familiar with this bug,
I’m writing this blog post for developers to more clearly
illustrate and explain what’s going on and why because it’s
really counterintuitive.
Which is faster: LIMIT 1 or LIMIT 20?
Presumably, fetching less rows is faster than fetching more rows.
But for 16 years (since 2007) the MySQL query optimizer has had
a “bug”† that not only makes LIMIT 1 slower
than LIMIT 20 but can also make the former a table
scan, which tends to cause problems. This happened last week
where I work, and although MySQL DBAs are familiar with this bug,
I’m writing this blog post for developers to more clearly
illustrate and explain what’s going on and why because it’s
really counterintuitive.