| DB Sanity |
DB Sanity performs checks on a database for verifying data consistency and correctness of application deployments or production data. It is invoked by the command line and creates an HTML report with a summary and listings of faulty database entries.
The Summary page gives you an overview over all test results:

Each sub folder is interpreted as a test group and has its own summary page. This way, you can recursively drill down through a hierarchy of validity checks.
For each failure, a defects page displays the SQL query and the faulty database table rows:

There is a comple list of report modules.
Supported systems
DB Sanity is supposed to work on
- any system that supports Java 6 or newer, e.g. Windows XP, Vista, 7, Mac OS X, Linux, HP-UX, Solaris
- with any database for which a JDBC driver exists, e.g. Oracle, DB2, MS SQL Server, MySQL, HSQL, H2, Derby, Firebird
- with any web browser, e.g. Frefox, Internet Explorer, Chrome, Safari
QA Process
Each release of DB Sanity is tested
- with Java 6 on Windows XP and Mac OS X
- on Oracle and HSQL databases
- with Mozilla Firefox, Internet Explorer, Safari and Chrome
Potential contributors are welcome to run DB Sanity on other systems and report success and problems!
Further Information
Documentation
- Report Modules
- So, what to check with DB Sanity?
- Getting Started
- File Syntax
- Command Line Arguments
- Environment Files
- What's new in DB Sanity 0.9.0
- FAQ
- Developer Documentation
Important Addresses
Developers and Contributors
| Name | Role |
| Volker Bergmann | Project Founder, Architect, Developer |
| Yibo Wang | Developer |
| Björn Kellermann | Contributor |
Release History
| Version | Date | Main Topics |
| 0.1 | 2010-10-15 | Proof of concept |
| 0.2 | 2010-10-29 | Hierarchical check suites |
| 0.3 | 2010-11-10 | Improved Visualization |
| 0.4 | 2010-11-15 | Inofficial release |
| 0.5 | 2010-12-13 | Impact analysis |
| 0.6 | 2011-01-03 | Correction process support |
| 0.7 | 2011-03-21 | Versioning |
| 0.8 | 2011-06-16 | Predefined check types |
| 0.8.1 | 2011-06-29 | Bug fixes |
| 0.8.2 | 2011-09-11 | Bug fixes |
| 0.8.4 | 2011-10-21 | Automatic version number retrieval, |
| 0.9.0 | 2011-10-31 | More predefined check types, |
| 0.9.1 | 2011-11-11 | small report fixes and enhancements |


