Skip to main content
millerbill3
Bronze ⭐️⭐️⭐️
June 18, 2019
Solved

Converting Large CSV into JSON

I have a relatively large CSV (~80GB) I need to transform into multiple JSON documents/records. I'm using a ConvertRecord processor with a CSVReader and AvroRecordSetWriter and that's where my CSV gets stuck. What's the best approach? Break up the CSV prior to converting it or try to get more horsepower on the server?

  • Server Mem: 16GB
  • Cores: 4
  • Maximum Timer Driven Thread Count : 16
  • Java Min/Max Heap: 2GB/10GB
Shu_ashu
Shu_ashuAnswer
Gold ⭐️⭐️⭐️
June 19, 2019

@Bill Miller

Try with series of SplitRecord processors to create smaller chunks of files.

Follow the similar approach mentioned in this thread and see if you get any performance with this approach.


1 reply

Shu_ashu
Shu_ashuAnswer
Gold ⭐️⭐️⭐️
June 19, 2019

@Bill Miller

Try with series of SplitRecord processors to create smaller chunks of files.

Follow the similar approach mentioned in this thread and see if you get any performance with this approach.


Translate