Use the transaction staging database if it is available.