Featured Articles
WordPress
Query all WordPress posts in MySQL not having a Yoast SEO meta description
Query all posts in WordPress not having a Yoast SEO meta description yet. You can run this on your MySQL prompt or in phpMyAdmin
Welcome to the database administration and performance tuning hub on saotn.org. In modern web architectures, the database is often the ultimate bottleneck. Ensuring high availability, rapid query execution, and bulletproof data integrity requires a deep understanding of server-side configuration, storage engines, and indexing strategies.
This section delivers practical, hands-on guides for managing MySQL and MariaDB databases in production environments. Whether you are optimizing low-level configuration files (my.cnf), automating routine server backups, upgrading database schemas, or troubleshooting slow-query bottlenecks within content management systems like WordPress, these articles provide verified, real-world blueprints.
To help you maintain a fast and reliable database layer, our technical MySQL documentation is grouped by operational focus:
Browse the chronological archive below for deep-dives into SQL syntax execution, database engine conversions, and expert-level server-side troubleshooting.
WordPress
Query all posts in WordPress not having a Yoast SEO meta description yet. You can run this on your MySQL prompt or in phpMyAdmin
Codebase
Last updated:
Whenever you need to test your ASP.NET connection to your MySQL database, using ODBC, you can use the following C# test script. Currently it uses MySQL ODBC 8.0 Unicode Driver, but you can easily change the version used
Web applications
Last updated:
Connect securely to your MySQL database using PHP Data Objects (PDO); Here is how to connect to MySQL with PHP PDO using SSL.
GNU/Linux
Last updated:
Learn how to restore a single table from a full MySQL mysqldump backup file using Bash shell in Linux
WordPress
Last updated:
9+ Practical tips to optimize WordPress hosting – or for any other PHP web application for that matter. Learn optimizing your WordPress hosting
GNU/Linux
Last updated:
Are you running into MySQL load problems? InnoDB Buffer Pool optimization is an important step in tuning MySQL servers for heavy InnoDB workloads. Configuring innodb_buffer_pool_instances and increase read/write I/O threads. Dividing the InnoDB buffer pool into multiple instances can improve Disk I/O. And by doing so, you run your database & server more efficiently and faster. Here is a little help for you.
WordPress
Last updated:
Schedule WordPress database optimization with WP-Cron.
GNU/Linux
Last updated:
Learn how to turn off swap in Bash, because when a swap partition is enabled Linux starts swapping, which may degrade (MySQL) system performance
WordPress
Last updated:
With thousands spam reactions, disabling (and removing) WordPress comments is often the only way to go. Here is how to disable WordPress comments in both the WordPress Dashboard interface and in your MySQL / MariaDB database.
Web applications
Last updated:
Learn how to speed-up Joomla performance on Windows Server IIS using these 8 simple, but important, tips. Add caching, gzip compression, set your sessions & optimize MySQL database functions.
GNU/Linux
Last updated:
MySQL indexes (indices) are important. Why? Because they speed up the process for MySQL to find requested information.
GNU/Linux
Last updated:
Converting MyISAM tables to InnoDB for more database performance, because: 1) MyISAM is old and no longer developed, and 2) InnoDB is much faster.
WordPress
Last updated:
The autoload feature loads and caches all autoloaded options, if available, or all options. The default option is to autoload, and over time when the wp_options table grows, this degrades performance. Today I noticed a slow MySQL query coming from a WordPress database (WordPress wp_options table). This made me investigate and to optimize the WordPress wp_options table “autoload” feature.
Useful
Last updated:
MySQL’s mysqlcheck is a command line table maintenance program: it checks, repairs, optimizes, or analyzes tables. Very handy for automated performance optimizations of MySQL databases and tables.
Web applications
Last updated:
PHP script to make your MySQL database smaller, leaner and faster by optimizing all tables with mysqli multi_query().
WordPress
Last updated:
Delete WordPress spam comments and meta data in your database, easily with phpMyAdmin or mysql cli. Keep your WordPress database lean & mean!
Codebase
Last updated:
Check the connectivity of multiple MySQL servers, and connect to the servers in a loop. Here are two example code snippets
Codebase
Last updated:
MySql.Data.MySqlClient ASP.NET test script
Codebase
Last updated:
PHP MySQLi extension supports multiple queries which are concatenated by a semicolon. We can use this to optimize all MySQL tables in one single multi_query statement.
WordPress
Last updated:
The less spammers hit your WordPress blog, the better your blog performs, is one of my opinions. A second is, the less unnecessary plugins you use on your WordPress blog, the better. So, a little while ago I decided to remove plugins like Stop Spammer Registration Plugin and do its work myself.