Revert "database tmp"

This reverts commit 9a4e86694f084e656d4c353d97890bae89e71a56.