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
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
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