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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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