db proto