Percona Toolkit Practical Usage Guide
Percona Toolkit Operations Guide
Table of Contents
pt-online-schema-change
Adding Columns Online
Creating Indexes Online
Modifying Table Columns Online
Foreign Key Handling
pt-archiver
Data Cleanup
Data Archiving
Parameter Reference
Known Bug Resolution
Usage Examples
pt-query-digest - Slow Query Analysis
pt-heartbeat - Replication Lag M ...
Posted on Sun, 06 Sep 2026 16:39:16 +0000 by kaspari22
Managing Oracle Database Sessions and Connections
Monitoring Active Oracle Sessions
Oracle database sessions can be monitored through system views to track user activity, resource consumption, and connection status. This guide covers essential queries for session management and troubleshooting.
Identifying Active User Connections
The following query provides a comprehensive view of active sess ...
Posted on Sun, 23 Aug 2026 16:33:29 +0000 by billynastie2007
Resolving Homebrew lz4 Dependency Errors During MariaDB Installation on macOS
Executing brew install mariadb on legacy macOS environments initiates a multi-stage dependency resolution pipeline. During this phase, the package manager attempts to fetch or compile prerequisites such as cmake, openssl@3, groonga, pcre2, lz4, and zstd. Systems running older OS releases frequently trigger compatibility warnings from the reposi ...
Posted on Mon, 10 Aug 2026 16:52:03 +0000 by Elarion
Mastering Automated SQL Injection Testing with SQLMap
Overview of SQLMap Capabilities
SQLMap is a powerful open-source penetration testing tool designed to automate the detection and exploitation of SQL injection flaws. It supports a wide range of database management systems, including MySQL, Oracle, PostgreSQL, Microsoft SQL Server, Microsoft Access, IBM DB2, SQLite, Firebird, Sybase, and SAP Max ...
Posted on Sat, 08 Aug 2026 16:12:45 +0000 by bradjinc
MongoDB Shell Command Reference and Query Operations
Server Initialization
mongod --dbpath /var/lib/mongodb
# Alternative path syntax
./mongod --dbpath /data/db
Ensure the executable has sufficient file system permissions. A successful launch outputs waiting for connections on port 27017.
Client Access
Navigate to the installation bin directory. Launch the interactive interpreter by executing mo ...
Posted on Mon, 20 Jul 2026 17:46:55 +0000 by gm04030276
Oracle Database Essential Operations Guide
1.1. Checking Tablespace Utilization
Use the following query to monitor tablespace storage consumption across the database:
SELECT a.tablespace_name,
ROUND(a.total_size) "total_size_gb",
ROUND(a.total_size) - ROUND(b.free_size, 2) "used_size_gb",
ROUND(b.free_size, 2) "free_size_gb",
ROU ...
Posted on Tue, 07 Jul 2026 16:27:01 +0000 by Bauer418
MySQL Fundamentals: Schema Definition, Data Types, and Administration
In relational database theory based on the Entity-Relationship model, three core components exist: entity sets, attributes, and relationship sets. These map directly to table definitions, row records, and column fields within a storage engine. Consider an analogy where book information is stored as structured data; a tuple such as ('Romance Nov ...
Posted on Mon, 29 Jun 2026 16:50:45 +0000 by t31os
Redis Expired Data Management Strategies
Redis provides multiple approaches for handling expired data:
Immediate Expiration Handling
A timer-based mechanism deletes keys precisely when their expiration time is reached.
Benefits: Optimal memory usage
Drawbacks: Increased CPU overhead that impacts server response times and throughput
Periodic Cleanup Process
The activeExpireCycle() func ...
Posted on Wed, 17 Jun 2026 17:49:09 +0000 by Jnerocorp
Implementing Table Recovery with LightDB's Recycle Bin Feature
LightDB 24.2 introduces a recycle bin mechanism similar to Oracle's functionality, where dropped tables are temporarily preserved rather than immediately deleted. This feature allows for table recovery within a configurable retention period.
Configuration
In Oracle-compatible mode with enable_recyclebin praameter active (default), dropped table ...
Posted on Wed, 03 Jun 2026 17:32:12 +0000 by danielleuk
Essential MySQL Queries and Administration Commands
Identifying Redundant Records
To locate duplicate rows based on a specific column, use the following approach:
SELECT * FROM target_table
WHERE target_id IN (
SELECT target_id FROM target_table
GROUP BY target_id HAVING COUNT(target_id) > 1
);
Database and Table Capacity Analysis
To identify the largest tables by storage size (exclu ...
Posted on Thu, 14 May 2026 20:14:35 +0000 by mraiur