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

  • SEARCH
  • Home
  • 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 7022581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:36:02+00:00 2026-05-27T23:36:02+00:00

I’m creating an Asp.Net MVC website. I’ve in the past, for heavy application, multiple

  • 0

I’m creating an Asp.Net MVC website.

I’ve in the past, for heavy application, multiple layer application, used the database to store files.

But now I’m questioning myself, is this a good idea for a website? In a performance view?

It has several pros to me:

  • Allows me to control easily if the connected user has the right to display the image(Required for my project)
  • Permits to be sure that we have consistent data(otherwise we can have an existing file but no info in the database and the opposite
  • I need a fail-over webserver, and those files will be imported from a third server, so if those files are in the database, I only need to have a working ASP.Net website and a replicated database on the failover server, no need to sync files.

But it has some cons too:

  • There SOME big files(it’s a minority, but it will happen), like 100-200MB, and I’m not sure it’s good to have this kind of file in a database?(it’s more like a question 😉 )
  • I’m not sure that it will have good performances?

What do you think? Is this reasonable? I searched on the Internet, but I didn’t found some kinds of arguments for website. My question is mostly about FILESTREAM VS FILESYSTEM, I’m sure that FileStream is slower, but a lot? Because if it’s only some percent, the gain of functionality worth it.

  • 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-05-27T23:36:03+00:00Added an answer on May 27, 2026 at 11:36 pm

    If the files are integral and actively changing part of the system and them have to be backed up along with the other data – you can store them inside the DB, but try to use the FILESTREAM fields if you use sql server 2005+ and your files are big enough – say 500k+

    If the files are static content, you can store them outside with only pointers in DB. This not prevents to take into account all your custom permissions machine.

    Storing and working with files inside DB is usually slower, than in filesystem, but all depends on your needs.

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

Sidebar

Related Questions

I used javascript for loading a picture on my website depending on which small
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have an MVC Razor view @{ ViewBag.Title = Index; var c = (char)146;
I have thousands of HTML files to process using Groovy/Java and I need to
I have a reasonable size flat file database of text documents mostly saved in
I have a bunch of posts stored in text files formatted in yaml/textile (from
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and

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.