separate tier0 request db and temporary db

change tier0 mod config
fix unittest