Forum Moderators: coopster
At least in case of high server loads I've noticed that SQL related connections usually become slower at first, while the other parts of the site with plain html pages work properly/rather fast. (this might also indicate that sql server settings could be improved, but is another story)
But, for a site that makes general use of a database, usually the SQL query approach is much more straightforward to maintain and understand than including a static file. With the static file, you need to remember to update it, maybe maintain web-writable permissions, where it is, etc. Lots more to go wrong.
With 50,000 hits (= 1 every 2 seconds) its not really anything to worry about. I'd say go with the SQL approach, and if and when you experience performance problems, then consider optimizations like including static files.