database foundation