Мне нужно написать огромные данные в текстовом файле [csv]. Я использовал BufferedWriter для записи данных, и потребовалось около 40 секунд для записи 174 мб данных. Является ли это самой быстрой скоростью java, которая может предложить?
bufferedWriter = new BufferedWriter ( new FileWriter ( "fileName.csv" ) );
Примечание.. Эти 40 секунд включают время итерации и выборки записей из набора результатов.:). 174 мб для 400000 строк в наборе результатов.