DataBaseX v1.0.5 - The Interactive SQL Explain & Optimizer Update
INTERACTIVE LIVE SQL EXPLAIN & OPTIMIZER An absolute game-changer for database optimization! You can now analyze and explain query execution plans directly from your web dashboard:
Click-to-Explain Integration: A new Explain button has been added next to every active query in the "htop SQL" view and every slow query. Clicking it automatically runs a secure DB execution plan analysis.
Live SQL Oracle Web Console: A brand new standalone textarea allows you to paste any arbitrary SELECT query and test its execution plan dynamically.
Automated Index Suggestions: The engine parses your query's WHERE clauses, extracts table metrics, and generates target column indexation suggestions (e.g. ALTER TABLE ... ADD INDEX) when a slow Full Table Scan (type ALL) is detected.
POOLED ASYNCHRONOUS DIAGNOSTICS
Zero-Overhead Queries: Telemetry analyzes queries asynchronously utilizing active HikariCP connection pools, preventing any performance impact on the Minecraft server thread.
Secure Execution: The endpoint is protected under the same secure session token validation and filters out non-SELECT queries to prevent unauthorized mutations.
HIGH-PERFORMANCE AGENT ENGINE OPTIMIZATIONS Under the hood, we have completely overhauled the agent's performance and stability profile:
Elimination of StackWalker Overhead: A new weak-keyed connection caller cache stores Java package names, eliminating expensive Java StackWalker calls during dynamic prepared statement analysis.
O(1) Bounded Slow Queries Queue: Telemetry now records slow queries in an ArrayBlockingQueue utilizing an O(1) eviction pattern, avoiding linear list-size lookups and GC pressure.
WAF Regex Cache Integration: Safely analyzed SQL patterns are cached dynamically to bypass recurring, CPU-intensive security firewall regex validations.
Isolated Thread-Safe Diagnostics: Asynchronous explain worker threads now lease isolated, dedicated database connections from the active pool, preventing driver race conditions and connection corruption.
Automated Resource Cleanups: Resolved a ThreadLocal reference leak within the batching manager and added periodic pruning for expired blacklist entries.
THE SMARTEST DATABASE AGENT EVER BUILT. Take back control of your performance with DataBaseX v1.0.5!