in reply to Hit tracking optimization...
Call me naive, but do you have an index on the IP address column in your database?