Revert "it is not  convient to use kv db."

This reverts commit 03a13540ac42b12fe1c6833b947104c47e8e47a3.