Dbs file is very large



I made the mistake of syncing a very large file that I have since deleted. As a result, one of my .db files is very large (22 GB). The file is now gone, but the .db file is taking up a large amount of space on my hard drive. What does the .db file do and how can I reduce its size now?