Utility functions for large-scale data
