Archived Blogs

If You Install Only One PostgreSQL Extension, Choose pg_stat_statements

For general query performance troubleshooting, pg_stat_statements is often the most useful first extension to install. It tracks planning and execution statistics for SQL statements across a database server, groups similar statements, and exposes metrics such as call counts and execution time through the pg_stat_statements view. This helps identify queries that consume the most time or…

Troubleshooting PostgreSQL Server Startup Failures

When working with PostgreSQL, one of the first problems we may encounter is a PostgreSQL server that fails to start. This article explains how to diagnose PostgreSQL startup failures by identifying the systemd service, finding its startup command and data directory, and running the same command in the foreground to expose the startup error. 1.…

Why Can’t You Connect to PostgreSQL?

By default, a newly installed PostgreSQL server accepts connections only from the local machine. To allow a remote client to connect, configure both the network listener and host-based authentication: Configure PostgreSQL to listen for remote connections. Add a pg_hba.conf rule that permits the remote client to authenticate. Configure PostgreSQL to Listen for Remote Connections In this example,…

Understanding MySQL LTS and Innovation Releases

Choosing a MySQL version is no longer a simple matter of installing the latest release. MySQL now offers two distinct paths: the stability and predictable maintenance of Long-Term Support (LTS), or rapid access to new capabilities through Innovation releases. This article explains how the two tracks differ, how their version numbers evolve, and how to…

Installing MySQL 26.7 on Red Hat Enterprise Linux 9

This hands-on installation installs MySQL Community Server from the RPM bundle, configures a custom data directory, preserves SELinux protection, initializes the server, and explains how to set the initial administrative password.

Upgrading from Oracle 19c OCP to 26ai OCP Requires Only 1Z0-183, and It Is Not Difficult

Under Oracle’s certification upgrade policy, professionals who hold the Oracle Database 19c OCP certification can earn the Oracle AI Database 26ai OCP certification by passing a single upgrade exam: 1Z0-183: Oracle AI Database Administration Professional I took this exam in March this year and found it reasonably straightforward. I scored 80 and got my 26th certification from…

I’m Yuan

Welcome to the blog of a database performance maven. Feel free to contact me to share and discuss database knowledge.

My Oracle Book

My 26 Oracle Certifications

A screenshot from certview.oracle.com

My MySQL Book

MySQL 8.0 Operations and Optimization

Let’s connect