To limit the history you keep, you can set rules to delete history.
You can keep a number of entries or delete old entries.
You can also filter by type of entry:
Tip
DNS Connections tend to fill up quickly the history, you may want to delete them after a short period of time.