Persistant sparse arrays for large datasets