Add feature to ignore databases with a particular regex

Change-Id: I924f60528fbdf6dc3e3695ce2c1dc47e6d9e88c5