local db setting