1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Does youtube, box.net and others store files in a database or physical media??

Discussion in 'Databases' started by Ehmad, Mar 10, 2010.

  1. #1
    Is their any issues for storing large data files in a database instead on server??? what big sites actually do like box.net etc :S
     
    Ehmad, Mar 10, 2010 IP
  2. plog

    plog Peon

    Messages:
    298
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    0
    #2
    I don't know specifically how those sites store those files but my guess would be the files themselves are stored on a server and the location of those files is stored in a database. In a simple world think of it this way: the database has columns for video title, video ID, and video location and data may be 'Never Gonna Give You Up', 5328, 'http://www.youtube.com/video/a2b73f89'.

    The advantage is that the database is smaller, quicker to query and doesn't have to serve up tons of files itself. When a user wants that video it goes to the database finds its location and sends that information to the browser so the browser can go find it.
     
    plog, Mar 11, 2010 IP
  3. plog

    plog Peon

    Messages:
    298
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    0
    #3
    FYI, just for those who missed it: I example rickrolled you.

    I rule.
     
    plog, Mar 11, 2010 IP
  4. Ehmad

    Ehmad Peon

    Messages:
    107
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    :) thnx but how gmail works if i download a file from gmail and connection is broken or i signs out the download link works no more.. is that means files are on db or somewhere else?
     
    Ehmad, Mar 11, 2010 IP
  5. nihangshah

    nihangshah Prominent Member

    Messages:
    5,536
    Likes Received:
    271
    Best Answers:
    3
    Trophy Points:
    395
    #5
    Sites are like box.net, dropbox, etc. are online storage sites. You can store your personal files there and share with friends.
    Sites like Youtube are for video files. You can upload your video for others to see.
    Sites like Gmail are for sending / receiving emails. You can send files using attachments.

    All these sites are owned by big companies. They have huge servers all around the world.
     
    nihangshah, Mar 11, 2010 IP
  6. Ehmad

    Ehmad Peon

    Messages:
    107
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i m still confused is they store it on db or the way plog told
     
    Ehmad, Mar 11, 2010 IP
  7. Rory M

    Rory M Peon

    Messages:
    1,020
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    0
    #7
    No one in their right mind is going to store multimedia files in a database :)
     
    Rory M, Mar 11, 2010 IP
  8. Ehmad

    Ehmad Peon

    Messages:
    107
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    :) why and why not :SS
     
    Ehmad, Mar 11, 2010 IP
  9. plog

    plog Peon

    Messages:
    298
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    0
    #9
    Think of a library. The shelves are the storage area and the card catalog is the database. The card catalog doesn't hold books, it holds the specific locations of the books in the storage area. Granted technology is moving fast, but bandwidth, transfer speed, file size and processor speed are still issues so that is why the two are still seperate and we don't just merge it all together. Right now it is still faster for you to look up a book on a card catalog, walk over to the shelves and retrieve it than it is for a computer to hold and serve that data. The same thing applies to sites holding and serving enormous amounts of enormous files.
     
    plog, Mar 11, 2010 IP
  10. matessim

    matessim Active Member

    Messages:
    514
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    70
    #10
    Databases are programs that run on servers, everything runs on Servers, servers are basically computers with a specific usage
     
    matessim, Mar 11, 2010 IP
  11. Ehmad

    Ehmad Peon

    Messages:
    107
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    thnxX a lot
     
    Ehmad, Mar 11, 2010 IP