Improved metadata warehouse management