SQLSmith is a fuzz testing tool for PostgreSQL that automatically generates random SQL queries to uncover bugs in the query planner and executor. It is widely used by PostgreSQL developers and database vendors to stress-test SQL features and engine behavior under edge-case conditions. SQLSmith helps improve database robustness by revealing unexpected failures.

Features

  • Random SQL query generation for PostgreSQL
  • Stress-tests the query planner, parser, and executor
  • Helps identify crashes, assertion failures, and performance bugs
  • Supports different SQL constructs and PostgreSQL features
  • Highly configurable query complexity and structure
  • Used for regression testing in PostgreSQL development

Project Samples

Project Activity

See All Activity >

Categories

SQL Clients

License

GNU General Public License version 3.0 (GPLv3)

Follow sqlsmith

sqlsmith Web Site

Other Useful Business Software
99.99% Uptime for MySQL and PostgreSQL Databases Icon
99.99% Uptime for MySQL and PostgreSQL Databases

Sub-second maintenance. 2x read/write performance. Built-in vector search for AI apps.

Cloud SQL Enterprise Plus delivers near-zero downtime with 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of sqlsmith!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C++

Related Categories

C++ SQL Clients

Registered

2025-06-12