Why are File Searches So SLOW?
By
Staten Island, NY Posted: 1/28/2017 1:00:00 AM
Why does it take so long to find a file... even when you know the name?
I'm a database guy, so it drives me crazy when it takes as much as 5 or 10 minutes to search for a file name on my computers. That's because most computers these days can have as many as a million or more files, and there is no real database storing all the filenames.
Because there's no built-in, always on database of filename, whenever you search for a file, the operating system needs to literally scan through each and every directory to find the file you're looking for. That's pretty crazy, considering how much larger today's hard drives are getting.
By contrast, if filenames were stored in a REAL database like SQL Server, you would be able to find any filename in a fraction of a second, even if there were hundreds of millions of files.
Joe Crescenzi, Founder
(Reply N/A) (Edit Topic N/A)
(Like Topic N/A) [0 ] 5888 Views
Related Posts
Apple(174)Computing(108)Microsoft(46)Operating Systems(9)Tech(7)
Top 25 Posts
* Note: The ideas on "Idea of the Day" were posted without any formal research into existing inventions.
In some cases, patents may already exist for these ideas, in other cases, there may not be any existing patents and you are free to develop and explore the viability of developing and patenting the ideas.
The authors make no claim that any of the ideas are safe, practical, or suitable for any particular purpose. You are responsible for the results of trying, developing, patenting or using any of the ideas on this site.
For some people, our ideas are just an interesting read, but our goal is to encourage you to take action. If you see an idea that you like, do something with it... Take action.
- Joe