use es for db storage