Put these in database, or keep as normal files?

MGCJerry

Limp Gawd
Joined
Sep 18, 2005
Messages
144
I used to run my homebrewed RPG using WebRPG/OpenRPG years ago. I also used to use PHP-Nuke for the gaming site and I saved all the resulting logs into the "Sections" system within PHP-Nuke. Which now begs the question...

I have still have 80 or so html files that were created by OpenRPG and I'm wondering how to make them available again on my new system. I'm considering creating a database table to store them like I did with PHPNuke's Sections system but since these files don't change, I keep thinking it would be better off keeping them as files and displaying them. All together, they are only 2.5MiB (simple html use for colors, bolds, & italics) They individually vary in size from 8KiB to 30KiB.

idk.png


I'm still not sure. I'm leaning more toward keeping them as html files. What do you all think?
 
If they don't change - then there's little reason, right now, to stash them in a database.
 
If they are so few, so rarely changed and fairly small, then it wouldn't be a tragedy to keep them in the database, anyway.

I mean, like modi123 said, there's little reason to, except maybe consistency - less chance of omitting them during a backup or migration.
 
As far as you've described the problem, there's absolutely no benefit to putting them into a database.
 
Back
Top