Skip to main content

ReadySet Diagnostics & SQL Tuning - CLI tool for database diagnostics and query optimization

Project description

RDST - ReadySet Diagnostics & SQL Tuning

A command-line tool for database diagnostics, query analysis, performance tuning, and caching optimization with ReadySet.

What is RDST?

RDST helps you:

  • Analyze SQL queries for caching opportunities
  • Identify slow queries in real-time
  • Get optimization suggestions
  • Evaluate query compatibility with ReadySet cache
  • Manage database connection profiles

Installation

Using uvx (recommended - no installation required)

Run RDST directly without installing:

uvx rdst --help
uvx rdst analyze "SELECT * FROM users WHERE id = 1"

Using pipx (persistent installation)

Install globally:

# Install
pipx install rdst

# Run
rdst --help

# Upgrade to latest version
pipx upgrade rdst

Using pip

pip install rdst

Quick Start

  1. Initialize RDST:

    rdst init
    # Or with uvx (no installation needed):
    uvx rdst init
    
  2. Configure database connection:

    rdst configure add-target mydb \
      --host localhost \
      --port 5432 \
      --database myapp \
      --user postgres
    
  3. Analyze queries:

    # Analyze a specific query
    rdst analyze "SELECT * FROM users WHERE active = true"
    
    # With uvx:
    uvx rdst analyze "SELECT * FROM users WHERE active = true"
    
    # Analyze with ReadySet cache evaluation
    rdst analyze --readyset-cache "SELECT * FROM products ORDER BY created_at"
    
  4. Monitor slow queries:

    rdst top
    # Or: uvx rdst top
    

Commands

All commands can be run with rdst (if installed) or uvx rdst (no installation):

  • rdst configure - Manage database targets and connection profiles
  • rdst analyze - Analyze SQL queries and evaluate caching opportunities
  • rdst top - Live view of slow queries
  • rdst tune - Get query optimization suggestions
  • rdst query - Manage query registry
  • rdst init - First-time setup wizard
  • rdst version - Show version information

Example with uvx:

uvx rdst analyze "SELECT * FROM orders WHERE status = 'pending'"

Requirements

  • Python 3.11 or higher
  • PostgreSQL or MySQL database access

About ReadySet

ReadySet is a SQL caching engine that sits between your application and database, automatically caching query results to improve performance. Learn more at readyset.io.

Documentation

License

MIT License - see LICENSE file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rdst-0.1.185.tar.gz (498.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rdst-0.1.185-py3-none-any.whl (457.0 kB view details)

Uploaded Python 3

File details

Details for the file rdst-0.1.185.tar.gz.

File metadata

  • Download URL: rdst-0.1.185.tar.gz
  • Upload date:
  • Size: 498.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for rdst-0.1.185.tar.gz
Algorithm Hash digest
SHA256 ff45c231c48f81ad3b9e07ca4ef3e075fd1d1f9b0393469e77ceed3ed320e12f
MD5 210b087f1bd9b4ed2224c72dc91d1785
BLAKE2b-256 970663473e18432b8fc5f7f4cce2b49150c651bdbb8b6248c594a5523a069cbf

See more details on using hashes here.

File details

Details for the file rdst-0.1.185-py3-none-any.whl.

File metadata

  • Download URL: rdst-0.1.185-py3-none-any.whl
  • Upload date:
  • Size: 457.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for rdst-0.1.185-py3-none-any.whl
Algorithm Hash digest
SHA256 cce825e707df8794076f22e7431c7e1beb5201d18e19ccbdaa11f65a7d329b76
MD5 f36796ff4180b1a10cab38ae9f039634
BLAKE2b-256 f1dbd54f30aaba9f8269fd06d7dc25644f00e4f8ef921dc28e943bc14cf1aa13

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page