change cache sizes and use non-transactional session for diff stats
flush diffs on an interval instead of after each commit
add script to view profiling information