Original link: https://wiki.eryajf.net/pages/d4534a/
Log cost control mainly has the following dimensions: – Reduction: remove meaningless and invalid logs, and only print critical logs. – Decrease period: reduce the log storage period as much as possible. – Convert to low frequency: Compared with standard storage, low frequency can reduce the cost by 60%–70%. – Be careful to enable full-text indexing: full-text indexing will index all logs once, and this storage is uncompressed storage. If full-text indexing is enabled, the storage will often be 4–10 times higher than that of non-open storage.
This article is transferred from: https://wiki.eryajf.net/pages/d4534a/
This site is only for collection, and the copyright belongs to the original author.