add a transaction usage for database