How do you ensure database integrity and performance when executing automated regression tests that write large volumes of data?