I recently stumbled upon a very interesting post by Lukas Eder, where he describes 10 query transformations which do not depend on the database’s cost model. He posted it a couple of years ago, though when I read it, I assumed some portions of it may still be relevant today. In the original post, several… Continue reading Re-evaluating MySQL 8 Query Transformations Capabilities
In today's tech companies, engineers are expected to know and care more about the database and the performance of their application. To effectively face these challenging requirements, DBA, engineering and DevOps teams need the right tools to monitor, diagnose and resolve performance issues. In this post, I'll demonstrate how one can track down slow SQL… Continue reading Optimize Slow Queries with RDS Performance Insights & EverSQL
An exciting feature-full new version of MySQL (v8.x) was released on April 2018. Along with those exciting features, there were many changes and enhancements done in MySQL's internal optimizer. Naturally, we at EverSQL keep an eye on major changes in MySQL's optimizer, to make sure we are familiar with them and co-exist with them. So… Continue reading MySQL 8.x Adoption Rate – Survey Results
I personally believe that the best way to deliver a complicated message to an audience, is by using a simple example. So in this post, I chose to demonstrate how to obtain insights from MySQL's EXPLAIN output, by using a simple SQL query which fetches data from StackOverflow's publicly available dataset. The EXPLAIN command provides… Continue reading MySQL Explain Example – Explaining MySQL EXPLAIN using StackOverflow data
Knowing the bits and bytes of an SQL query's order of operations can be very valuable, as it can ease the process of writing new queries, while also being very beneficial when trying to optimize an SQL query. If you're looking for the short version, this is the logical order of operations, also known as… Continue reading SQL Order of Operations – In Which Order MySQL Executes Queries?
Introduction The goal of this article is to evaluate and highlight the main similarities and differences between the MySQL Server Database and the MariaDB Server Database. We’ll look into performance aspects, security, main features, and list all aspects which need to be considered before choosing the right database for your requirements. Who is using MySQL… Continue reading MariaDB vs MySQL – Key Differences – Comparing MySQL 8.0 with MariaDB 10.5
In many cases, developers, DBAs and data analysts struggle with bad application performance and are feeling quite frustrated when their SQL queries are extremely slow, which can cause the entire database to perform poorly. Luckily, there is a solution to this problem! In this article, we will briefly cover a few ways you can use… Continue reading Top 5 Ways To Improve Your Database Performance
Imagine how spider-man's life would look like if he had never find out that he can shoot webs from his wrist... Not a good starting point, isn't it? Sometimes one can learn to write SQL queries but miss critical functionalities and important features, which can change their day-to-day life and save them significant amount of… Continue reading Top 7 ways to learn to write better and faster SQL queries?
The survey results from StackOverflow's developers survey are already here, and we can now declare the most popular databases for 2018. Without further ado, let's look into the results: So what can we learn from these results? The most popular database is MySQL, and not by far comes SQL Server. This wasn't very surprising, as… Continue reading Most popular databases in 2018 according to StackOverflow survey
Migrating a MySQL database usually requires only few simple steps, but can take quite some time, depending on the amount of data you would like to migrate. The following steps will guide through how to export the MySQL database from the old server, secure it, copy it to the new server, import it successfully and… Continue reading How to Transfer a MySQL Database Between Two Servers?