Database for water distribution