Statistics for Adaptive Data Storage and Placement in Distributed Database Systems