db and tmp