AdguardTeam / AdguardTeam/AdGuardHome
Large stats.db causes slowdowns in DNS lookups
Open
needs investigation
performance
research
- Dominant language
- TypeScript
- Stars
- 36.9k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
I have Adguard home running on a Synology NAS (HDD, no SSD). The switch from 105.2 to 106 caused dns lookup delays that did not appear in the lookup times in the query log. Websites would hang on DNS lookup for a few second. However, after clearing the history (deleting the 25mb stats.db) the delays were gone again.
This probably has something to do with a relatively slow insert (or equivalent) in the SQLite DB when it increases in size.
Contributor guide
Assessment
This issue has not been assessed yet.