Performance issue with parsing large log files (~5gb) using awk, grep, sed

后端 未结 4 619
孤城傲影
孤城傲影 2021-02-06 04:47

I am currently dealing with log files with sizes approx. 5gb. I\'m quite new to parsing log files and using UNIX bash, so I\'ll try to be as precise as possible. While searchi

4条回答
  •  轮回少年
    2021-02-06 04:56

    If you process the same file multiple times, it might be faster to read it into a database, and perhaps even create an index.

提交回复
热议问题