Programster's Blog
Tutorials focusing on Linux, programming, and open-source
ZFS + HTML Demonstration Video
A video demonstrating the use of ZFS to snapshot and restore a MySQL database in seconds and why this is useful.
Zabbix - Monitor MySQL / MariaDB Database
Learn how to configure Zabbix monitoring of your MySQL/MariaDB database running on a Debian 12 host.
MySQL / PostgreSQL Table Double Buffering
A walkthrough of how you may wish to gracefully handle the need to ingest a large amount of data into your database.
MySQL - Using Barcodes As Primary Key
A tutorial on seeing how much benefit switching a barcode primary key to a BIGINT from a varchar binary representation.
MySQL - Optimize For Minimal Memory
Configure your MySQL server variables for minimal memory usage rather than performance.
MySQL - Benchmarking Varchar vs Text
Results of benchmark the difference between using the TEXT and using a large VARCHAR. The results surprised me a lot.
MySQL Performance When Using UUID For Primary Key
Benchmarking the performance of using various UUID types as the primary key on database tables instead of an auto-incrementing integer.
PHP - Using UUID Instead of Auto Increment or Sequence
Learn how to use UUIDs in MySQL for your table IDs, rather than using auto_increment.
Selecting Data From Split Tables
A couple of examples of using joins or nested queries to select and combine data from multiple tables.
MySQL - Unique Key Across Tables
Can MySQL ensure that if a value is in one table, it doesn't exist in the other?
MySQL - Foreign Keys on Foreign Keys
Can you create a foreign key that references a column in another table that itself is a foreign key that references a column in another table?