Databases can cost your company millions if they don’t function as they should. What are the biggest pitfalls, and how can you avoid them?