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
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
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