Database Systems for Next-Generation Applications: Principles and Practice