get temp path on base database