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.
319 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.
203 views
-
DuckDB for Serverless Analytics on VPS
Guide to using DuckDB for serverless analytics on VPS, including installation, direct file querying, and Python integration.
208 views
-
MySQL Slow Query Log Analysis
Step-by-step tutorial for mysql on Ubuntu/Debian servers, with practical code examples and troubleshooting tips.
189 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.
200 views
-
MySQL Backup and Recovery Strategies
| Method | Speed | Size | Point-in-Time | Lock? |
346 views
-
MongoDB Replica Set on Multiple VPS Instances
A comprehensive guide to mongodb covering installation, configuration, and optimization for Linux VPS environments.
203 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.
544 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.
591 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.
513 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.
495 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.
974 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.
679 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.
594 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.
676 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.
748 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.
895 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.
621 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.
542 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.
670 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.
816 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.
623 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.
532 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,727 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.
537 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.
721 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.
460 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.
584 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.
646 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.
413 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.
889 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.
698 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.
196 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.
235 views
-
MySQL InnoDB Buffer Pool Tuning
A comprehensive guide to mysql covering installation, configuration, and optimization for Linux VPS environments.
194 views
-
PostgreSQL Vacuum and Autovacuum Tuning
A comprehensive guide to postgresql covering installation, configuration, and optimization for Linux VPS environments.
197 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 ...
225 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...
198 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, ...
228 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 ...
215 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...
221 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 ...
231 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,...
197 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 ...
217 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...
201 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...
224 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...
218 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...
213 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...
221 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...
214 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 ...
219 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...
202 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...
204 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 ...
213 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...
216 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, ...
223 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 ...
214 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 ...
211 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...
210 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...
214 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 ...
229 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...
211 views
-
Setting Up KeyDB as a Redis Alternative
A comprehensive guide to keydb covering installation, configuration, and optimization for Linux VPS environments.
192 views
-
SQLite: When and How to Use It on a VPS
238 views
-
How to Migrate from MySQL to MariaDB
294 views
-
MongoDB Basics: Installation and CRUD Operations
282 views
-
How to Use mysqldump for Selective Database Backups
277 views
-
How to Set Up MySQL Replication (Primary-Replica)
364 views
-
PostgreSQL Backup and Restore with pg_dump
260 views
-
MariaDB Performance Tuning for VPS Servers
313 views
-
SQLite for Lightweight Applications
217 views
-
Database Connection Pooling Explained
206 views
-
Database Replication with MySQL and MariaDB
221 views
-
Query Optimization Techniques for MySQL
216 views
-
MongoDB Basics for Developers
213 views
-
PostgreSQL Installation and Basic Administration
221 views
-
Redis Caching Fundamentals
218 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...
523 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...
556 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...
424 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-...
440 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...
339 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...
679 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...
376 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...
258 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...
542 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 ...
328 views
-
PostgreSQL Performance Tuning Guide
```bash
553 views
-
MySQL Query Optimization with EXPLAIN
Step-by-step tutorial for mysql on Ubuntu/Debian servers, with practical code examples and troubleshooting tips.
185 views
-
Database Migration with Flyway
Step-by-step tutorial for flyway on Ubuntu/Debian servers, with practical code examples and troubleshooting tips.
192 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.
187 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.
197 views
-
Redis Sentinel for Automatic Failover
Practical guide to redis featuring real-world examples, performance tuning tips, and security best practices.
208 views
-
MariaDB Galera Cluster Configuration
A comprehensive guide to mariadb covering installation, configuration, and optimization for Linux VPS environments.
187 views
-
MariaDB Replication Setup Guide
- **Read scaling** — distribute SELECT queries across replicas
280 views
-
ClickHouse for Analytics Workloads
Step-by-step tutorial for clickhouse on Ubuntu/Debian servers, with practical code examples and troubleshooting tips.
193 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.
184 views