I have a database driven website serving about 50,000 pages.
I want to track each webpage/record hit. I will do this by creating logs, and then batch processing the logs
You should try SQLite. It will give you both the speed of writing to a file as well as the power of a database.