Time series database on leveldb