2 ms·
Multi-GB log files. Even with LC_ALL=C, grep is painfully slow.
by sgarland 3y ago
Multi-GB log files. Even with LC_ALL=C, grep is painfully slow.
- bigstrat2003 3y agoThat's probably true - but good Lord, one should probably do something to reduce the size of log files that large.
- sgarland 3y agoDB logs can get HUGE. logrotate for them is currently daily. I briefly wanted to tune it to help alleviate the issue, but honestly it didn’t and doesn’t matter, given the infrequency with which they’re directly accessed. No risk of running out of disk space, and the DBAs like them how they are, so meh. There are other things to worry about.