Introduction In today's rapidly evolving technological landscape, database management has become more complex yet essential for ensuring high availability, scalability, and resilience. One of the most effective ways to manage MySQL databases in a cloud-native environment is by integrating InnoDB Cluster with Kubernetes and containers. ...
Performance Tuning As our data grows in the database, it is always important to view database insights. We’ve been using some complex queries to solve difficult problems without checking how they affect the server performance. It's always preferred to frequently visit the performance schema. USE performance_schema; Where to Begin...
Introduction In the realm of MySQL databases, fragmentation can significantly impact performance and efficiency. This blog will delve into what fragmentation is, how it occurs, how to identify it, and methods to defragment your MySQL tables. What is Fragmentation in MySQL? Fragmentation in MySQL refers to the inefficient use of...
Introduction Nowadays, MySQL is among the most popular and beloved databases for applications. But, managing and designing is a crucial and important task when selecting a database for your application. Let's dig into what are the best practices to manage the database. MySQL Best Practices: Schema Design Indexing ...
Introduction MySQL is one of the most popular open-supply relational databases. As your application’s statistics grow, MySQL’s performance may be impacted by different factors, including database design, server configuration, and query performance. In this blog, we can talk about the various components of MySQL's overall...
Java/JVM, Software development
Introduction to Common Table Expression (CTE) in MySQL? A Common Table Expression (CTE) is a temporary named result set that is defined within the scope of a single SQL query. It allows you to write complex queries in a more readable and maintainable manner, by breaking them down into smaller, logical steps. CTEs can be used in MySQL...
The conveyance of data from many sources to a storage medium where it may be accessed, utilized, and analyzed by an organization is known as data ingestion. Typically, the destination is a data warehouse, data mart, database, or document storage. Sources can include RDBMS such as MySQL, Oracle, and Postgres. The data ingestion layer...
We all have search functionality in our applications. It is one of the most core features you would find ranging from searching for users, products, companies, etc. But are you sure your search functionality is doing exactly what it is supposed to do? You might have written test cases for it as well. But still, there are things...
AWS DMS is a web service that is used to migrate the databases to and from an Amazon RDS DB instance, or a database on an Amazon EC2 instance, or on-premises. We can migrate data between homogenous or heterogeneous database engines. One of the two endpoints must always be in AWS. The source and target database may be in same VPC or in...
In my previous post, we learnt about how to launch RDS Aurora instance. The storage space of RDS Aurora is automatically scalable up to 64 TB and the read scaling can be achieved by creating up to 15 replicas in the cluster. I had migrated database into RDS Aurora to avail fault tolerance feature. Once the migration was completed I came...
Full Text Search is searching a string among multiple coulmns of a table to fetch the more relevant records. In this blog we will demostrate how to implement full text search to fetch relavent responses. There are few simple steps to implement full text search in mysql- 1. Create table with full text schema [java] Create...
It's a common practice to add fields to Grails domain's hasMany block while in database a foreign key relationship is maintained for every such entry. In other words, for each foreign key, we have a column in parent table (or domain) and a reference column in other table. I was adding a field into hasMany block recently when I got this...