Adapting Database Components To Heterogeneous Environments