Simulating and Analyzing Java Metaspace OutOfMemoryError
Metaspace OverviewThe Metaspace replaces the legacy Permanent Generation (PermGen) in HotSpot JVMs as the storage location for class metadata. Unlike the Java heap, this area allocates memory from native address space. It holds critical data such as loaded class structures, method bytecodes, static variables, and runtime constant pools. Since i ...
Posted on Sun, 16 Aug 2026 16:33:32 +0000 by codygoodman
MySQL Table and Column Name Completion Feature
When connecting to the database, a message appears:
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| backup_operation |
| information_schema |
| operation |
+--------------------+
3 rows in set (0.09 sec)
mysql> use operation;
Reading table information for completion of table and co ...
Posted on Sun, 16 Aug 2026 16:22:55 +0000 by PromaneX
Comprehensive Guide to MySQL Performance Schema
Introduction to Performance Schema
MySQL Performance Schema is designed to monitor MySQL server operations at a low level, tracking resource consumption and wait states.
Key characteristics include:
Provides real-time inspection of server internal execution during database operation. Tables in the performance_schema database use the Performan ...
Posted on Sat, 08 Aug 2026 16:39:11 +0000 by rodrigocaldeira
Managing CPU Frequency Scaling via Sysfs in Linux
The cpufreq infrastructure in Linux allows for dynamic adjustment of processor clock speeds to balance performance and power consumption. This subsystem exports its configuration through the sysfs interface, usually found at /sys/devices/system/cpu/cpu[N]/cpufreq/. By modifying specific files in this directory, users can control how the kernel ...
Posted on Wed, 05 Aug 2026 16:37:27 +0000 by northernmonkey
Deep Dive into Oracle 11g AWR Report Metrics and Optimization
Report Overview and Core Metrics
An Automatic Workload Repository (AWR) report requires a minimum of two snapshots to generate meaningful delta statistics. These snapshots must belong to the same database instance without an intermediate restart. The report calculates metrics by comparing the end snapshot values against the start snapshot value ...
Posted on Thu, 23 Jul 2026 16:05:27 +0000 by coolfool
Optimizing Book Ranking Systems with Redis and MySQL
MySQL Optimization Strategies
For existing MySQL implementations, index optimization provides the highest return with minimal investment. A typical ranking query might look like:
SELECT
book_name, sales_count
FROM
books_sales
WHERE
category = 'Fantasy'
AND date = 'specific_date'
ORDER BY
sales_count DESC
LIMIT 10;
Com ...
Posted on Mon, 20 Jul 2026 17:34:34 +0000 by dub
Comprehensive Guide to Redis Configuration Parameters
Memory Units and General SettingsRedis configuration supports standard memory units. Units are case-insensitive, meaning 1GB, 1Gb, and 1gb are equivalent.1kb = 1024 bytes1k = 1000 bytes1mb = 1024*1024 bytes1m = 1000000 bytesBy default, Redis runs in the foreground. To run as a background daemon, modify the daemonize setting.daemonize yes
pidfil ...
Posted on Tue, 14 Jul 2026 17:14:02 +0000 by hhheng
Oracle 10046 Event: Comprehensive Usage Guide for SQL Tracing and Performance Analysis
Overview
The Oracle 10046 event serves as an enhanced extension to the standard SQL Trace functionality. This debugging event provides detailed diagnostic information that proves invaluable during performance troubleshooting sessions. Although not officially documented as a customer-facing tool in Oracle's documentation, it remains one of the m ...
Posted on Fri, 10 Jul 2026 17:52:41 +0000 by Vebut
Resolving MySQL Index Selection Failures in High-Volume Tables
A significant production incident recent occurred involving a database table containing over 80 million records. During peak traffic, slow query logs spiked to 140,000 requests per minute, causing connection exhaustion and system-wide latency. The offending SQL statement followed this pattern:
SELECT
*
FROM
user_activity_logs
WHERE
r ...
Posted on Wed, 08 Jul 2026 16:54:42 +0000 by jamiet757
MySQL Performance Optimization: EXPLAIN Analysis and Index Design Strategies
EXPLAIN Execution Plan Analysis
The EXPLAIN command is the primary tool for diagnosing database performance issues. It reveals how MySQL executes a query, helping identify suboptimal index usage and potential bottlenecks.
EXPLAIN SELECT * FROM users WHERE status = 'active';
Key Output Columns
id: Query identifier showing execution order
select ...
Posted on Thu, 02 Jul 2026 16:02:05 +0000 by dwest