Full Feature Reference

Every DBKnox Feature, Explained

Fleet health monitoring, PDF health reports, multi-engine support, and more — here's the complete picture of what DBKnox does and how it does it.

Feature 01

Fleet Health Monitoring

DBKnox Fleet Health Monitoring gives engineering teams a single view of every database's operational state. Scheduled checks run as BullMQ cron jobs against each tenant database. The check set is engine-aware — PostgreSQL checks for replication lag and cache hit ratio; MySQL checks InnoDB buffer pool efficiency; MSSQL and Oracle checks run their own engine-specific diagnostics. Each check returns a pass, warn, or fail status with the measured latency. DBKnox aggregates these into a fleet-wide health score (0–100) updated after every check cycle.

  • Checks CPU, memory, connections, query latency
  • Index hit ratio, lock waits, deadlocks, replication lag
  • Engine-aware check filtering per database type
  • Historical pass/warn/fail with latency over time
  • Fleet-wide health score (0–100) updated per cycle
  • Fleet patterns view: recurring failures and correlations
  • Custom health check definitions per tenant
  • Webhook delivery on health_check.completed

Fleet Health Overview

5 databases · Avg score: 79

1 Warning
Database Score Status
prod-ecommerce
94
Healthy
analytics-replica
72
Warning
legacy-crm
41
Critical
reporting-dw
88
Healthy
erp-oracle
81
Healthy
Feature 03

Beautiful PDF Health Reports

DBKnox generates comprehensive 10–20 page PDF health reports on demand or on a schedule. Each report pulls live metrics from the target database, runs statistical analysis, and surfaces prioritised recommendations with ready-to-execute SQL — turning raw telemetry into an actionable engineering plan. Reports are delivered directly to the browser and can be scheduled via cron expression for recurring delivery.

Executive Summary

Overall health score, top issues requiring immediate attention, and trend direction since the previous report.

Metric Analysis

CPU, memory, active connections, query latency, cache hit ratio, lock waits, deadlocks, and replication lag — charted over time.

Statistical Analysis

P5 / P50 / P95 percentiles across all metrics. Linear regression to detect degradation trends before they become incidents.

Table & Index Analysis

Index bloat percentage, unused indexes with size, missing index suggestions based on sequential scan patterns.

Slow Query Analysis

Top slow queries by total time and mean execution time, with EXPLAIN plan analysis and optimisation suggestions.

Prioritised Recommendations

Ranked action items with severity, impact estimate, and ready-to-execute SQL for each recommendation. Apply changes directly from the report.

Feature 04

Multi-Engine Support

DBKnox connects natively to PostgreSQL, MySQL, MSSQL, and Oracle. Each engine integration is first-class — connection string parsing, SSL modes, engine-specific health checks, and schema introspection all respect the differences between engines. You manage every database in one workspace without engine-specific tooling.

PostgreSQL

Full RLS integration, pg_stat views, replication lag, bloat analysis, vacuuming insights, and passkeys auth.

MySQL

InnoDB buffer pool efficiency, slow query log integration, table fragmentation, and connection pool stats.

MSSQL

Wait stats, missing index DMVs, SQL Server-specific health checks, and Windows/SQL auth modes.

Oracle

V$ views, tablespace utilisation, session analysis, and Oracle-specific diagnostics including AWR data where available.

Feature 05

Schema Tools

DBKnox provides a full suite of schema management tools: explore your database structure, understand dependencies, review proposed changes before they run, and compare schemas across environments — all without leaving the workspace.

Schema Explorer

Browse tables, views, indexes, functions, and stored procedures with a full column-level detail view. Filter and search across the entire schema tree.

Dependency Explorer

Visualise foreign key relationships and object dependencies as a directed graph. Know exactly which objects are affected before a schema change.

Schema Change Review

Paste a migration script and DBKnox analyses the impact — tables affected, indexes rebuilt, estimated downtime — before you run it in production.

Database Compare

Side-by-side schema diff between two databases (e.g. staging vs production). Highlights missing tables, column type mismatches, and index differences.

Feature 06

Security Audit & Capacity Planning

DBKnox runs automated security scans against your database configuration — checking for overly permissive roles, default passwords, unencrypted connections, and public schema exposure. Capacity planning tools project growth curves for storage, connections, and query volume based on historical metrics.

  • Overly permissive role detection
  • Unencrypted connection warnings
  • Storage growth projections (linear & exponential)
  • Connection pool saturation forecast
Feature 07

Role-Based Access Control & Tenant Isolation

DBKnox enforces RBAC at the application layer with three roles — admin, owner, and member — and enforces tenant isolation at the database layer via PostgreSQL RLS. The roleGuard middleware checks role permissions on every API call. No tenant can read, write, or affect another tenant's data — even a misconfigured query is blocked at the row level.

Capability Admin Owner Member
Connect databases✓✓—
AI SQL Chat✓✓✓
Generate health reports✓✓—
Manage team members✓——
Configure webhooks✓✓—
Configure AI provider✓——
View audit log✓✓—
Feature 08

Webhooks & Event Automation

DBKnox delivers events to any HTTP endpoint. Register a webhook URL and select which events to subscribe to. Deliveries are queued in BullMQ with exponential backoff retry — if your endpoint is down, DBKnox retries without data loss.

database.created

Fired when a new database connection is registered by any team member.

database.soft_deleted

Fired when a database connection is soft-deleted. 30-day restore window begins.

health_check.completed

Fired after each fleet health check cycle completes, including the score and status of each database.

report.generated

Fired when a PDF health report is ready for download, with a signed URL.

// Example health_check.completed payload
{
  "event": "health_check.completed",
  "tenant_id": "ten_01hx...",
  "timestamp": "2024-11-23T12:00:00Z",
  "data": {
    "database_id": "db_01hx...",
    "engine": "postgresql",
    "score": 72,
    "status": "warning",
    "checks_passed": 14,
    "checks_failed": 2,
    "latency_ms": 48
  }
}
Feature 09

Scheduled Jobs & Cron Health Checks

DBKnox uses BullMQ for all scheduled work. Health checks, report generation, and custom jobs run on configurable cron expressions. Each job has a full execution history — start time, duration, outcome, and error details when applicable.

  • Fleet health checks on configurable cron expression
  • Scheduled PDF health report generation
  • Full job execution history with error details
  • BullMQ dead letter queue for failed jobs
Feature 10

Proactive AI Agent

Enterprise

The DBKnox Proactive AI Agent monitors your database fleet autonomously — without waiting for user prompts. It continuously analyses health trends, identifies anomalies, and surfaces recommendations directly in the dashboard and via mobile alerts. The agent runs on a configurable schedule and can be tuned with an operator-defined policy that controls which recommendation categories it generates.

  • Autonomous monitoring without user prompts
  • Surfaced recommendations in dashboard
  • Mobile push alerts for critical findings
  • Operator-controlled policy overrides via admin API
  • Agent observability dashboard: runs, findings, actions
Feature 11

Audit Log & Observability

Every action in DBKnox is logged — SQL evaluations, user confirmations, role changes, policy overrides, login events, and API key usage. The audit log is queryable by actor, tenant, event type, and time range. Logs are immutable and retained according to your tenant's configured retention policy.

Audit Log — prod-ecommerce

2024-11-23 12:04:01 sql.executed user:alice · SELECT on orders · 10 rows
2024-11-23 11:58:14 sql.confirmed user:bob · DELETE confirmed · orders WHERE status='cancelled'
2024-11-23 11:45:32 role.changed admin:carol · user:dave promoted to owner
2024-11-23 11:30:00 health.completed system · score:94 · 16/16 checks passed
Feature 12

Scheduled Reports

Configure any database to generate a PDF health report on a recurring schedule. Set the cron expression, choose the report scope, and DBKnox generates and stores the report on each run. Reports are accessible via the reports list and downloadable at any time. A report.generated webhook fires on each completion.

  • Cron expression schedule per database
  • Stored report history with download links
  • Webhook delivery on each report completion
  • Available on Pro and Enterprise plans
Feature 13

Subscription & Billing

DBKnox billing is powered by Stripe. Subscriptions are managed through a self-serve billing portal where you can upgrade, downgrade, update payment methods, and download invoices. Plan limits (databases, team members) are enforced in real time and cannot be exceeded without upgrading.

  • Stripe-powered self-serve billing portal
  • Instant upgrade / downgrade with prorated billing
  • Real-time usage meter (databases, members)
  • Invoice history and payment method management
Feature 14

LLM Provider Configuration per Tenant

Each DBKnox tenant can configure their own LLM provider and model for AI SQL Chat. Bring your own API key for OpenAI or Anthropic, configure an AWS Bedrock model ARN, or point DBKnox at a self-hosted HuggingFace endpoint. The provider selection is stored encrypted and never shared across tenants.

☁️

AWS Bedrock

Claude, Llama, Titan — configure model ARN

🤖

OpenAI

GPT-4o, GPT-4 Turbo — BYOK

🧠

Anthropic

Claude 3.5 Sonnet & Haiku — BYOK

🤗

HuggingFace

Self-hosted or Inference API endpoint

Feature 15

AI Chat Assistant

Get instant expert database advice by asking questions in plain English. The AI assistant understands your database schema and performance context, generates optimised SQL queries, and explains execution plans — without you needing to write a single line of SQL.

Natural language processing

Context-aware query processing that understands your schema, table relationships, and data patterns.

Real-time schema analysis

Analyses live schema and performance metrics to generate queries that actually work against your database structure.

Optimised SQL generation

Generates SQL with proper index hints, join ordering, and query structure — not just syntactically correct, but performant.

Execution plan explanations

Explains query execution plans in plain English — identifies sequential scans, missing indexes, and cost bottlenecks.

  • Supports PostgreSQL, MySQL, MSSQL, Oracle
  • Safety level evaluation before execution
  • Full audit trail of every query and confirmation
  • Configurable AI provider per tenant
Feature 16

Query Performance Analysis

DBKnox automatically detects slow queries, analyses execution plans, and provides AI-powered optimisation recommendations. Each recommendation includes specific index suggestions or query rewrites with estimated performance impact — improve response times by 10× without manual EXPLAIN plan analysis.

Automatic slow query detection

Configurable thresholds flag queries exceeding your latency budget. No manual log parsing required.

Visual execution plan analysis

Bottlenecks are identified visually — sequential scans, sort operations, and high-cost nodes are highlighted automatically.

Index recommendations

Specific index suggestions with estimated performance impact. Know exactly which columns to index before running the migration.

Query rewrite suggestions

Before/after comparisons showing rewritten queries with improved join order, subquery elimination, and predicate pushdown.

Feature 17

Automated Maintenance

DBKnox schedules and automates routine database maintenance — backups, vacuum operations, index rebuilds, and updates — using zero-downtime strategies. Maintenance jobs run during low-traffic windows and are tracked in full execution history.

  • Automated backup scheduling with retention policies
  • Intelligent VACUUM and ANALYZE during low-traffic periods
  • Index maintenance with fragmentation detection and rebuilds
  • Rolling updates and maintenance windows with zero downtime
  • Full job execution history with duration and outcome
  • BullMQ dead letter queue for failed jobs
Feature 18

Cost Optimisation

Reduce cloud database costs by 30–40% with smart resource optimisation recommendations. DBKnox analyses utilisation patterns across AWS, GCP, Azure, and Oracle Cloud, then surfaces specific actions — right-sizing instances, optimising storage, and identifying reserved instance opportunities — each with an estimated monthly saving.

30–40%

typical monthly cost reduction

$40K+

annual savings for mid-size teams

4 clouds

AWS · GCP · Azure · Oracle Cloud

0

performance degradation after right-sizing

  • Real-time cost tracking across cloud providers
  • Right-sizing based on actual usage patterns
  • Storage optimisation with archival and compression
  • Reserved instance and savings plan recommendations
Feature 19

Schema Management & Migrations

Visualise database schemas, track changes over time, and manage migrations safely. DBKnox detects schema drift across environments and surfaces recommendations for structural improvements — before configuration divergence causes production incidents.

Interactive schema visualisation

Navigate table relationships, foreign keys, and indexes visually. Understand your database structure at a glance.

Schema change tracking

Version history of every schema change with actor, timestamp, and diff — a complete record of how your schema evolved.

Migration safety checks

Paste a migration script and DBKnox analyses the impact — tables affected, indexes rebuilt, estimated downtime — before you run it in production.

Schema drift detection

Automatically detects when staging and production schemas diverge — missing tables, column type mismatches, index differences — and alerts before deployment.

Feature 20

Custom Reports & Analytics

Generate detailed reports on performance, costs, security, and database health. Schedule automated delivery and share insights with engineering leads and stakeholders in the format they need — PDF, CSV, or Excel.

Pre-built report templates

Ready-to-use templates for the most common reporting needs — health summary, performance analysis, cost breakdown, and security audit.

Custom report builder

Drag-and-drop interface for building custom reports from any combination of metrics, time ranges, and databases.

Scheduled delivery

Set a cron schedule and DBKnox delivers reports automatically via email or Slack. Each delivery fires a report.generated webhook.

Export formats

Export any report to PDF (10–20 pages with statistical analysis), CSV (raw metrics for further analysis), or Excel (formatted for stakeholder review).

Ready to connect your first database?

Start your 14-day free trial — no credit card required. Connect your first database in under 5 minutes.