Optimized Data Loading for a Multi-Terabyte Sky Survey Repository