MariaDB
-
MariaDB Vector Edition: Designed for AI
As a solutions architect with over two decades of experience in relational database systems, I recently started exploring MariaDB’s new Vector Edition to see if it could address some of the AI data challenges we’re facing. A quick look seemed pretty convincing, especially with how it could bring AI magic right into a regular database setup. However, I wanted to test it with a simple use case to see how it performs in practice. In this article, I will share…
-
Monitoring Redis Droplets Using Redis Exporter Service
Introduction Effective monitoring of Redis databases is essential for maintaining optimal performance, identifying potential bottlenecks, and ensuring overall system reliability. Redis Exporter Service is a robust utility designed to monitor Redis databases using Prometheus. This tutorial will guide you through the complete setup and configuration of Redis Exporter Service, ensuring you establish a monitoring solution seamlessly. By following this tutorial, you’ll achieve a fully operational monitoring setup to effectively monitor the performance metrics of your Redis database. Note: The approximate…
-
Shift-Left Monitoring Approach for Cloud Apps in Containers
Shift-left is an approach to software development and operations that emphasizes testing, monitoring, and automation earlier in the software development lifecycle. The goal of the shift-left approach is to prevent problems before they arise by catching them early and addressing them quickly. When you identify a scalability issue or a bug early, it is quicker and more cost-effective to resolve it. Moving inefficient code to cloud containers can be costly, as it may activate auto-scaling and increase your monthly bill.…
-
WordPress Deployment: Docker, Nginx, Apache, and SSL
Simplify the deployment of your WordPress website with our easy-to-follow guide. Use Docker Compose, Nginx, Apache, and SSL for a seamless installation process. We will also create volumes so the changes or updates will be preserved while the container restarts. This setup is tested on Google cloud with an instance running Ubuntu 22.04 OS. You can also make this setup in any cloud services like AWS or, Azure or, DigitalOcean, or any dedicated or VPS servers. Prerequisites Install Docker on…
-
Mixing SQL and NoSQL With MariaDB and MongoDB
Let’s say you have an application developed in Node.js (or any other platform). This application connects to a MongoDB database (NoSQL) to store ratings on books (number of stars given and a comment). Let’s also say that you have another application developed in Java (or Python, C#, TypeScript… anything). This application connects to a MariaDB database (SQL, relational) to manage a catalog of books (title, year of publishing, number of pages). You are asked to create a report that shows…
-
Using the PostgreSQL Pager With MariaDB Xpand
I’m not an anti-GUI person. In fact, I wrote three books about web GUI development with Java. However, I also like the command-line interface (CLI), especially text-based UIs. After a year of exploring MariaDB and the DevOps world, I got to discover and play with many text-based CLI tools that I didn’t know even existed. These tools are especially useful when connecting to remote servers that don’t have a GUI. One special CLI tool that I frequently use is the…
-
Distributed SQL: An Alternative to Database Sharding
Database sharding is the process of dividing data into smaller pieces called “shards.” Sharding is typically introduced when there’s a need to scale writes. During the lifespan of a successful application, the database server will hit the maximum number of writes it can perform either at the processing or capacity level. Slicing the data into multiple shards—each one on its own database server—reduces the stress on each individual node, effectively increasing the write capacity of the overall database. This is…
-
How To Install MariaDB on Ubuntu 22.04
Introduction MariaDB is an open-source relational database management system, commonly used as an alternative for MySQL as the database portion of the popular LAMP (Linux, Apache, MySQL, PHP/Python/Perl) stack. It is intended to be a drop-in replacement for MySQL. The short version of this installation guide consists of these three steps: Update your package index using apt Install the mariadb-server package using apt. The package also pulls in related tools to interact with MariaDB Run the included mysql_secure_installation security script…
-
High Availability and Resiliency in Databases With MaxScale
Mission-critical applications require high availability. The goal of high availability is to provide users with consistent access to services or resources, minimizing the chances of interruption. Automatic failover is a specific mechanism used to achieve high availability. It involves automatically detecting the failure of a system component (like a server, network, or database) and immediately switching operations to a standby component without human intervention. This increases resiliency. MariaDB MaxScale is a database proxy that includes features for high availability. In…