I don't know for sure, but probably it is somewhere in ~/.sage There is a subdirectory there having to do with the notebook, and presumably the tab completion data is somewhere inside. Probably there's no great harm in deleting some of these files (unless you have important data in the notebook -- if so, save it elsewhere first!).