Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7752549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T11:49:43+00:00 2026-06-01T11:49:43+00:00

I am going to be approaching a large site in the near future that

  • 0

I am going to be approaching a large site in the near future that will require hundreds, maybe thousands of videos to be uploaded and stored. In addition, many images will need to be uploaded but not nearly as much, and they will be small in size. Up until now, I’ve always used php and mysql as follows:

  • upload an image
  • store the file name in the database
  • reference a folder + filename in the database to display file

However, I’ve done some research on some BLOB storing images and files in the database and unsure of which way is best for this potentially large-scale project. Should I continue uploading the way I’ve been, or is it more efficient to use the BLOB type in mysql? I’m afraid that by storing lots of videos and images in a database, it could get to be too much data or too slow, but I could be completely wrong. Please let me know any and all suggestions you have.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T11:49:45+00:00Added an answer on June 1, 2026 at 11:49 am

    Ok, so the two big areas are: backup, and change

    Backup

    Depending on the DB engine you choose, backups require locking / dumping / unlocking. The bigger the database the longer the lock will be there. You could use some features (master/slave) to allow hotsyncing (backups without the locks) but there’s a risk the backup won’t completely cover the dataset, and the scale of the DB is still a factor. If large files are simply files (rather than DB BLOBS), it’s just a matter of making a backup strategy for the file system, and since they’re probably static this just means having multiple copies stored (this could even be by design at upload – store on server A and server B).

    Change

    Do you expect your system to stay the same? It sounds like you will have scaling issues. Might you move the DB to another server, the file storage to another server or SAN (or S3 etc) as your system grows? If you’ve got it all locked in the DB you have to rely on DB only solutions to deal with the swelling size (large expensive servers, master/slaves etc). Of course you could store the files in one DB (less backup requirements, doesn’t mess around with your data DB) and other data in another… but a filesystem is a DB of sorts.

    So

    So for backups and scaling storing large files as files and not BLOBs is a better solution. If the files were small (low MP JPGs for example) the balance may shift. But for large files there’s no point in the overhead of DB processing, and the extra load requirements it puts on the DB server. Keep ’em separate.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Going through happstack-lite tutorial : we build functions that have return type of ServerPart
Going mad now. I have a MVC solution that i've upgraded from MVC 1
Maybe I'm going about this the wrong way, but if so, please correct me.
I have a workbook that for example sake we will call Monthly Dashboard, the
I'm currently creating a fullscreen Java application that will be like a kiosk application.
I have a rails app that is tracking social data. The users are going
Here's the issue - I'm writing a program that will iterate through a series
We have a large project with several sub-projects. We're approaching a release of our
i'm going to rewrite a MATLAB script that use the Kevin Murphy's toolbok in
Going to make an applications wich will be used on a device without a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.