Creating de cache database