View materialization utilities for distributed databases