Re:Running Awk in parallel to process 256M records
by tuatoru on Tuesday June 02, 2020 @09:56PM
(#23398865)
Agreed. If you only have 64 MB of RAM to process your 329 GB, AWK's your tool. As you say, it's faster than many people think.
Re:Running Awk in parallel to process 256M records
by ketanmaheshwari on Wednesday June 03, 2020 @08:10AM
(#23402465)
OP here -- thank you for your comment.
Just wanted to say that the resources were not needed. I simply had access to them and were not being used much at the time so thought why not try them.
Although I agree that for this problem Postgres looks like a better option, I wouldn't discard awk or other Unix tools. It is way faster than people think it is, easy to use and solves pretty well quite a lot of use cases, such as pre-processing records before database ingestion, aggregations, some simple queries on temporary data...