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 4097874
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:13:46+00:00 2026-05-20T20:13:46+00:00

A CMS we use called Kentico stores Media Library Files on the file system,

  • 0

A CMS we use called Kentico stores Media Library Files on the file system, and also stores a record in the database for file meta data (title, description, etc.). When you use a Media Library control to list those items, it will read the files from the file system to display them. Is it faster to read from the file system then to query the database? Or would it be faster to run a simple query on the media file meta data database table?

Assumptions:

  • Kentico is an ASP.NET application, so the code is in C#. They use simple DataSets for passing their data around.
  • Only meta data would be read from the direct files like filename and size.
  • At most 100 files per folder.
  • The database query would be indexed correctly.
  • The query would be something like:

    SELECT *
    FROM Media_File
    WHERE FilePath LIKE ‘Path/To/Current/Media/Folder/%’

  • 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-20T20:13:47+00:00Added an answer on May 20, 2026 at 8:13 pm

    The short answer is, it depends on a number of variable factors, but the file system will generally be faster than a DB.

    The longer answer is: scanning the local filesystem at a known location is generally fast, because the resource is close to home and computers are designed to do these operations very efficiently.

    HOWEVER, whether it’s FASTER than a database depends on the database implementation, where it’s located, and how much data we’re talking about. On the whole, DBMSes are optimized to very effectively store and query large datasets, while a “flat” filesystem can only scan the drive as fast as the hardware goes. How fast they are depends on the implementation (SqLite isn’t going to be as fast overall as MS Sql Server or Oracle), the communication scheme (transferring files over a network is the slowest thing your computer does regularly; by contrast, named pipes provide very fast inter-process communication), and how much hardware you’re throwing at it (a quad-Xeon blade server with SATA-RAID striping is going to be much faster than your Celeron laptop).

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

Sidebar

Related Questions

I am currently working on a XML-based CMS that saves data in chunks called
I have always wanted to make a small easy to use CMS system just
I'm working on a new CMS to use on repeative projects. Basically this chunk
Background We need to develop a specialised CMS (internal use only) to support a
I want to use a CMS that can be accessed by my clients via
We use Sharepoint as CMS for our webpages at work. I know how to
We use the ExpressionEngine CMS (php) to create websites. For each site, we set
I use thinking sphinx in my project on refinery cms. And I received this
I use the bellow code to load the main menu elements from some CMS,
I'm working on a custom CMS for my own use and was thinking about

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.