I added methods to reduce-sample a DB, which is useful for generating test-sized DBs that are quick to analyze.