optimized data export