A framework for distributed database systems