getunitime turn to staticmethod.
Add repr for db info.
Add db size info into __repr__.