Basically, what I'm trying to do is a site for online storage of my own files, like Microsofts SkyDrive service. One thing I'm wondering about is what way that would be most effective to organize the files? My first thought was that when I upload the files to the server I also register the files in a database where I save all the information needed (location, file name, url etc.). With that information I can easily make all the necessary links and such that I need to obtain the files. I figured this must be faster than check the contents of every folder and then print out the file information from there. But if I skip the database it will be much easier handling the files and there will be no need to change the stored information when I move files around.
So what puts less weight on the server? Should I go through the hassle with the database, and if I do, do I gain any server efficiency from that?