We could use H2 instead of Derby for unit tests, ITS and evaluation mode.
A quick and dirty test shows that a single DAO unit test runs in 1.5s instead of 4s. The whole sonar-core unit tests run in 28s instead of 40s.
H2 provides both an in-memory and a persistent modes. It also provides a Derby compatibility mode.