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
Understanding Automatic Memory Management via Garbage Collection in Java
Java automates memory handling through its garbage collection (GC) subsystem, wich identifies and reclaims memory occupied by objects no longer reachable, mitigating leaks and stability issues.
Core Principles of GC
The mechanism hinges on tracing object reference graphs to separate live instances from abandoned ones. Reachable objects remain i ...
Posted on Thu, 18 Jun 2026 16:57:46 +0000 by misslilbit02
Configuring Strict Mode in Apache Hive
Apache Hive previously used the global parameter hive.mapred.mode to enable or disable strict mode. Setting this parameter to strict would enforce rules like requiring partition filters for queries on partitioned tables.
In Hive 3.1.3, this coarse-grained parameter is deprecated. The new approach uses specific, granular parameters for different ...
Posted on Tue, 16 Jun 2026 17:14:46 +0000 by martinstan
Dynamic ThreadPoolExecutor Parameter Configuration in Java
ThreadPoolExecutor provides seven core parameters that control thread pool behavior:
Core Parameters
corePoolSize: The number of threads to keep in the pool even when idle, unless allowCoreThreadTimeOut is enabled
maximumPoolSize: The maximum number of threads allowed in the pool
keepAliveTime: The maximum time excess threads (beyond corePoolS ...
Posted on Tue, 16 Jun 2026 16:56:07 +0000 by thessoro