I am in the process of writing my own basic forum to plug into a code igntier site. I'm a little stuck on how to display threads/latest posts unread by a user. 

I was thinking of a table that holds each thread\_id visited, but this table has the potential to get rather large.

What's are some ways to approach this requirement?