Databases
MySQL, MariaDB, PostgreSQL, MongoDB setup and management.
97 articles
-
PostgreSQL Connection Pooling with PgBouncer
A comprehensive guide to postgresql covering installation, configuration, and optimization for Linux VPS environments.
331 views
-
Setting Up TimescaleDB for Time-Series Data
Step-by-step tutorial for timescaledb on Ubuntu/Debian servers, with practical code examples and troubleshooting tips.
208 views
-
DuckDB for Serverless Analytics on VPS
Guide to using DuckDB for serverless analytics on VPS, including installation, direct file querying, and Python integration.
216 views
-
MySQL Slow Query Log Analysis
Step-by-step tutorial for mysql on Ubuntu/Debian servers, with practical code examples and troubleshooting tips.
196 views
-
MySQL 8 Performance Schema Monitoring
Everything you need to know about mysql for your VPS, from initial setup to production-ready configuration with performance-schema.
205 views
-
MySQL Backup and Recovery Strategies
| Method | Speed | Size | Point-in-Time | Lock? |
357 views
-
MongoDB Replica Set on Multiple VPS Instances
A comprehensive guide to mongodb covering installation, configuration, and optimization for Linux VPS environments.
208 views
-
MySQL Event Scheduler for Automated Tasks
Guide to MySQL Event Scheduler for automating database maintenance, data aggregation, partition management, and cleanup tasks with practical examples.
549 views
-
Setting Up Citus for Distributed PostgreSQL
Guide to setting up Citus for distributed PostgreSQL, covering multi-tenant sharding, reference tables, columnar storage, rebalancing, and production deployment.
597 views
-
Database Migrations with Flyway and Liquibase
Comparison guide to Flyway and Liquibase for database schema migration management, covering setup, changelog formats, CI/CD integration, and migration best practices.
522 views
-
Setting Up Percona Monitoring and Management
Guide to deploying Percona Monitoring and Management (PMM) for MySQL, PostgreSQL, and MongoDB with query analytics, dashboards, and alerting.
502 views
-
Optimizing MongoDB Indexes for Performance
Complete guide to MongoDB index optimization covering index types, the ESR rule for compound indexes, query analysis with explain(), and removing unused indexes.
983 views
-
MySQL Shell Administration Guide
Guide to MySQL Shell (mysqlsh) for database administration, covering SQL/JS/Python modes, parallel data import/export, InnoDB Cluster management, and diagnostics.
687 views
-
S3-Compatible Database Backups with WAL-G
Guide to using WAL-G for PostgreSQL and MySQL backups to S3-compatible storage, with delta backups, point-in-time recovery, encryption, and automated retention.
599 views
-
Migrating from MongoDB to PostgreSQL
Step-by-step guide to migrating from MongoDB to PostgreSQL, covering schema design, data transformation, query migration, JSONB usage, and validation procedures.
681 views
-
Setting Up Database Read Replicas for Scaling
Guide to setting up MySQL and PostgreSQL read replicas for horizontal read scaling, with application-level routing patterns and replication lag monitoring.
754 views
-
DBeaver for Multi-Database Management
Complete guide to DBeaver for managing MySQL, PostgreSQL, MongoDB, and other databases from a single interface, covering connections, SQL editing, data transfer, and ER diagrams.
908 views
-
Back Up and Restore MongoDB with mongodump and mongorestore
Complete guide to MongoDB backup and restore using mongodump and mongorestore, with automation scripts, compression, S3 upload, and replica set backup strategies.
625 views
-
Scaling MySQL with Vitess: A Practical Guide
Practical guide to horizontal MySQL scaling with Vitess, covering deployment, sharding with VSchema, resharding, online DDL, and production monitoring.
550 views
-
Managing PostgreSQL with pgAdmin: Complete Guide
Comprehensive guide to using pgAdmin for PostgreSQL administration, covering installation, query analysis, server monitoring, backup/restore, and security configuration.
679 views
-
Tuning PostgreSQL for Maximum Write Performance
Guide to tuning PostgreSQL for maximum write throughput, covering WAL configuration, checkpoint optimization, bulk loading, partitioning, and benchmarking techniques.
821 views
-
Deploying a CockroachDB Multi-Node Cluster
Step-by-step guide to deploying a CockroachDB multi-node cluster with TLS certificates, multi-region support, automatic failover, and production monitoring.
630 views
-
Using Redis Streams for Event-Driven Architectures
Guide to building event-driven architectures with Redis Streams, covering consumer groups, message acknowledgment, dead-letter handling, and production monitoring.
542 views
-
Building a Redis Job Queue with BullMQ
Complete guide to building production job queues with BullMQ and Redis, covering delayed jobs, priorities, cron scheduling, job flows, dashboards, and retry strategies.
1,740 views
-
Setting Up MongoDB Sharding for Horizontal Scaling
Guide to deploying MongoDB sharding for horizontal scaling, covering shard key selection, cluster deployment, chunk management, and production operations.
544 views
-
Implementing PostgreSQL Full-Text Search
Comprehensive guide to implementing full-text search in PostgreSQL with tsvector, GIN indexes, ranking, highlighting, phrase search, and performance tuning.
730 views
-
Setting Up MariaDB MaxScale for Load Balancing and Failover
Guide to deploying MariaDB MaxScale for transparent read-write splitting, automatic failover, and database load balancing with production configuration.
467 views
-
How to Set Up MySQL InnoDB Cluster for High Availability
Complete guide to setting up MySQL InnoDB Cluster with Group Replication, MySQL Router, and MySQL Shell for automatic failover and high availability.
592 views
-
Using pg_stat_statements to Find and Fix Slow Queries
Learn how to use PostgreSQL pg_stat_statements extension to identify slow queries, analyze performance bottlenecks, and optimize database workloads with practical examples.
653 views
-
Setting Up PostgreSQL Logical Replication
Step-by-step guide to setting up PostgreSQL logical replication for selective table replication, cross-version support, and zero-downtime database upgrades.
419 views
-
How to Migrate from MySQL to PostgreSQL
Comprehensive guide to migrating from MySQL to PostgreSQL, covering schema conversion, data type mapping, pgloader usage, SQL syntax differences, and post-migration validation.
898 views
-
Setting Up a MongoDB Replica Set for High Availability
Complete guide to deploying a MongoDB replica set with authentication, automatic failover, read scaling, monitoring, and production best practices.
705 views
-
Redis Cluster Setup for High Availability
Learn how to set up and configure redis on your VPS with step-by-step instructions, including cluster and best practices for production environments.
202 views
-
PostgreSQL Logical Replication Setup
Learn how to set up and configure postgresql on your VPS with step-by-step instructions, including logical-replication and best practices for production environments.
243 views
-
MySQL InnoDB Buffer Pool Tuning
A comprehensive guide to mysql covering installation, configuration, and optimization for Linux VPS environments.
201 views
-
PostgreSQL Vacuum and Autovacuum Tuning
A comprehensive guide to postgresql covering installation, configuration, and optimization for Linux VPS environments.
204 views
-
How to Set Up MySQL Group Replication
How to Set Up MySQL Group Replication MySQL Group Replication provides a fault-tolerant, highly available database layer by replicating data across multiple ...
231 views
-
How to Install and Configure CockroachDB
How to Install and Configure CockroachDB CockroachDB is a distributed SQL database that provides horizontal scalability, strong consistency, and survivabilit...
207 views
-
How to Set Up TimescaleDB for Time-Series Data
How to Set Up TimescaleDB for Time-Series Data TimescaleDB is a PostgreSQL extension purpose-built for time-series data. It provides automatic partitioning, ...
235 views
-
How to Configure PostgreSQL Connection Pooling with PgBouncer
How to Configure PostgreSQL Connection Pooling with PgBouncer PgBouncer is a lightweight connection pooler for PostgreSQL that sits between your application ...
225 views
-
How to Set Up MariaDB Galera Cluster
How to Set Up MariaDB Galera Cluster MariaDB Galera Cluster provides synchronous multi-master replication, meaning every node can accept both reads and write...
227 views
-
How to Optimize MySQL Slow Queries
How to Optimize MySQL Slow Queries Slow queries are one of the most common performance bottlenecks for applications running on Breeze instances. Identifying ...
237 views
-
How to Set Up Database Monitoring with PMM
How to Set Up Database Monitoring with PMM Percona Monitoring and Management (PMM) is a free, open-source platform for monitoring MySQL, PostgreSQL, MariaDB,...
203 views
-
How to Configure PostgreSQL Streaming Replication
How to Configure PostgreSQL Streaming Replication PostgreSQL streaming replication continuously ships write-ahead log (WAL) records from a primary server to ...
223 views
-
How to Use pg_dump and pg_restore for Backups
How to Use pg_dump and pg_restore for Backups Regular database backups are essential for any application running on a Breeze instance. PostgreSQL provides pg...
208 views
-
How to Set Up SQLite for Lightweight Applications
How to Set Up SQLite for Lightweight Applications SQLite is a self-contained, serverless, zero-configuration SQL database engine. It stores the entire databa...
232 views
-
How to Install and Configure Cassandra
How to Install and Configure Cassandra Apache Cassandra is a distributed NoSQL database designed for handling massive amounts of data across many Breeze inst...
225 views
-
How to Set Up Elasticsearch for Full-Text Search
How to Set Up Elasticsearch for Full-Text Search Elasticsearch is a distributed search and analytics engine built on Apache Lucene. It provides powerful full...
219 views
-
How to Configure MySQL Binary Logging
How to Configure MySQL Binary Logging MySQL binary logging records all data-modifying statements and events in a binary format. Binary logs are essential for...
231 views
-
How to Set Up Database Connection Pooling with ProxySQL
How to Set Up Database Connection Pooling with ProxySQL ProxySQL is a high-performance MySQL protocol-aware proxy that provides connection pooling, query rou...
221 views
-
How to Set Up MariaDB Galera Cluster for High Availability
How to Set Up MariaDB Galera Cluster for High Availability Galera Cluster provides synchronous multi-master replication for MariaDB. Set up a cluster across ...
224 views
-
How to Install and Use ClickHouse for Analytics
How to Install and Use ClickHouse for Analytics ClickHouse is a column-oriented database optimized for real-time analytical queries. Install it on your Breez...
208 views
-
Database Index Optimization Strategies for MySQL and PostgreSQL
Database Index Optimization Strategies for MySQL and PostgreSQL Proper indexing is one of the most impactful optimizations for database performance on your B...
212 views
-
How to Set Up Percona XtraBackup for MySQL Hot Backups
How to Set Up Percona XtraBackup for MySQL Hot Backups Percona XtraBackup performs non-blocking backups of MySQL and MariaDB databases. Unlike mysqldump, it ...
217 views
-
How to Install and Use CockroachDB on a VPS
How to Install and Use CockroachDB on a VPS CockroachDB is a distributed SQL database designed for cloud-native resilience. You can run a single-node instanc...
225 views
-
How to Install and Use TimescaleDB for Time-Series Data
How to Install and Use TimescaleDB for Time-Series Data TimescaleDB is a PostgreSQL extension optimized for time-series workloads such as metrics, IoT data, ...
230 views
-
How to Set Up InfluxDB for Metrics and Monitoring
How to Set Up InfluxDB for Metrics and Monitoring InfluxDB is a purpose-built time-series database ideal for storing metrics, monitoring data, and real-time ...
220 views
-
How to Install Elasticsearch on a VPS
How to Install Elasticsearch on a VPS Elasticsearch is a distributed search and analytics engine that enables fast full-text search and log analysis on your ...
215 views
-
How to Set Up the ELK Stack on Linux
How to Set Up the ELK Stack on Linux The ELK Stack (Elasticsearch, Logstash, Kibana) provides centralized log management and visualization for your Breeze in...
216 views
-
How to Set Up Redis Sentinel for High Availability
How to Set Up Redis Sentinel for High Availability Redis Sentinel provides automatic failover and monitoring so your Breeze applications maintain Redis avail...
221 views
-
How to Set Up Redis Cluster Mode
How to Set Up Redis Cluster Mode Redis Cluster distributes data across multiple nodes using hash slots, providing horizontal scalability and fault tolerance ...
236 views
-
How to Use pgBouncer for PostgreSQL Connection Pooling
How to Use pgBouncer for PostgreSQL Connection Pooling pgBouncer is a lightweight connection pooler for PostgreSQL that reduces connection overhead and impro...
216 views
-
Setting Up KeyDB as a Redis Alternative
A comprehensive guide to keydb covering installation, configuration, and optimization for Linux VPS environments.
202 views
-
SQLite: When and How to Use It on a VPS
245 views
-
How to Migrate from MySQL to MariaDB
297 views
-
MongoDB Basics: Installation and CRUD Operations
288 views
-
How to Use mysqldump for Selective Database Backups
283 views
-
How to Set Up MySQL Replication (Primary-Replica)
369 views
-
PostgreSQL Backup and Restore with pg_dump
266 views
-
MariaDB Performance Tuning for VPS Servers
320 views
-
SQLite for Lightweight Applications
225 views
-
Database Connection Pooling Explained
211 views
-
Database Replication with MySQL and MariaDB
225 views
-
Query Optimization Techniques for MySQL
222 views
-
MongoDB Basics for Developers
223 views
-
PostgreSQL Installation and Basic Administration
229 views
-
Redis Caching Fundamentals
223 views
-
How to Enable Remote MySQL Access
By default, MySQL only accepts connections from localhost. Here's how to enable remote access securely.1. Configure MySQLEdit /etc/mysql/mysql.conf.d/mysqld.cnf...
527 views
-
How to Set Up MySQL Replication
MySQL replication creates a copy of your database on another server for redundancy.On the Primary ServerEdit /etc/mysql/mysql.conf.d/mysqld.cnf:server-id = 1\nl...
560 views
-
How to Install MySQL on Ubuntu
MySQL is the world's most popular open-source relational database.Installapt update apt install mysql-server -ySecure Installationmysql_secure_installationFollo...
428 views
-
How to Install MariaDB on Ubuntu
MariaDB is a community-developed fork of MySQL with enhanced features and performance.Installapt update apt install mariadb-server -ySecure Installationmariadb-...
447 views
-
How to Install PostgreSQL on Ubuntu
PostgreSQL is a powerful, enterprise-grade relational database with advanced features.Installapt update apt install postgresql postgresql-contrib -yAccess Postg...
344 views
-
How to Install MongoDB on Ubuntu
MongoDB is a NoSQL document database for flexible, JSON-like data storage.Install# Import MongoDB GPG key curl -fsSL https://www.mongodb.org/static/pgp/server-7...
681 views
-
How to Install Redis on Ubuntu
Redis is an in-memory data store used for caching, sessions, and message queues.Installapt update apt install redis-server -yConfigureEdit /etc/redis/redis.conf...
382 views
-
How to Back Up a MySQL Database
Regular database backups protect against data loss.Backup a Single Databasemysqldump -u root -p myapp > myapp_backup.sqlBackup All Databasesmysqldump -u root -p...
262 views
-
How to Back Up a PostgreSQL Database
PostgreSQL provides powerful backup tools for data protection.Backup with pg_dumpsudo -u postgres pg_dump myapp > myapp_backup.sqlCompressed Backupsudo -u postg...
548 views
-
How to Optimize MySQL Performance
Tuning MySQL configuration can dramatically improve database performance.Key SettingsEdit /etc/mysql/mysql.conf.d/mysqld.cnf:[mysqld] # InnoDB buffer pool (set ...
336 views
-
PostgreSQL Performance Tuning Guide
```bash
560 views
-
MySQL Query Optimization with EXPLAIN
Step-by-step tutorial for mysql on Ubuntu/Debian servers, with practical code examples and troubleshooting tips.
193 views
-
Database Migration with Flyway
Step-by-step tutorial for flyway on Ubuntu/Debian servers, with practical code examples and troubleshooting tips.
201 views
-
SQLite Performance Optimization for Web Apps
Learn how to set up and configure sqlite on your VPS with step-by-step instructions, including performance and best practices for production environments.
194 views
-
CockroachDB Single-Node Development Setup
Learn how to set up and configure cockroachdb on your VPS with step-by-step instructions, including single-node and best practices for production environments.
203 views
-
Redis Sentinel for Automatic Failover
Practical guide to redis featuring real-world examples, performance tuning tips, and security best practices.
214 views
-
MariaDB Galera Cluster Configuration
A comprehensive guide to mariadb covering installation, configuration, and optimization for Linux VPS environments.
195 views
-
MariaDB Replication Setup Guide
- **Read scaling** — distribute SELECT queries across replicas
288 views
-
ClickHouse for Analytics Workloads
Step-by-step tutorial for clickhouse on Ubuntu/Debian servers, with practical code examples and troubleshooting tips.
198 views
-
Percona XtraBackup for Hot MySQL Backups
Learn how to set up and configure percona on your VPS with step-by-step instructions, including xtrabackup and best practices for production environments.
190 views