Lets say i have a website where users can upload their songs. Each time you upload a song, it assigns values to a table on a mysql database. Now lets say the mp3's are uploaded to a server, which is now nearly full. So i buy another server, and now i make all the new files that the users upload go on the new server.
The problem is, How do i detect which file is on which server? Should i assign a value to each entry in the mysql database, and depending on the value look on that server, or is there a more practical way.
the table looks like this:
|bandname|songname|filename|server|
|name...|Song name..|1_song.mp3|1_|