473,378 Members | 1,536 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Large number of files...

Hi,

I have to create a website with keywords to find pictures.
I will have more than 500.000 jpeg files.

I work with II6 on a windows server 2000.
Is it better to put the whole 500.000 files in the same directory, or is it
better to create for example 1000 directories with 500 files ?
Talking about performance, is there a better solution ?

Thanks !


Nov 19 '05 #1
3 1122
You could also expore the possibility of storing these images in a sql
server database.
This way you don't have to create all these directorie on the filesystem and
you can utilize sql servier indexing etc, and this could speed up your
searching ability.
"Lionel" <no****@org.org> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi,

I have to create a website with keywords to find pictures.
I will have more than 500.000 jpeg files.

I work with II6 on a windows server 2000.
Is it better to put the whole 500.000 files in the same directory, or is
it
better to create for example 1000 directories with 500 files ?
Talking about performance, is there a better solution ?

Thanks !

Nov 19 '05 #2
On 19 Feb 2005, "Lionel" <no****@org.org> postulated in news:
#L**************@TK2MSFTNGP14.phx.gbl:
Hi,

I have to create a website with keywords to find pictures.
I will have more than 500.000 jpeg files.

I work with II6 on a windows server 2000.
Is it better to put the whole 500.000 files in the same directory, or is it better to create for example 1000 directories with 500 files ?
Talking about performance, is there a better solution ?

Thanks !


I would imagine breaking up the index files might be a good idea, so
yes, I think you might consider using multiple folders.

-- ipgrunt
Nov 19 '05 #3
It doesn't make any difference to your app. If it helps you, by all means.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Lionel" <no****@org.org> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi,

I have to create a website with keywords to find pictures.
I will have more than 500.000 jpeg files.

I work with II6 on a windows server 2000.
Is it better to put the whole 500.000 files in the same directory, or is
it
better to create for example 1000 directories with 500 files ?
Talking about performance, is there a better solution ?

Thanks !

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: David | last post by:
Hi all: I am processing a 3D bitmaps(essentially ~1024 2D bitmaps with a size of 1MB each). If I want read large amount of radom data from this series, how could I buffer the file to get...
2
by: TreatmentPlant | last post by:
My father is a careers advisor who sends to his clients a monthly snail mail or email as a sort of newsletter. He has been doing this for years, so has a large number of files that he would like...
0
by: Alexandre Guimond | last post by:
Hi. I've noticed that when i select a large number of files (> 400) using tkFileDialog.Open i get an empty list. Does anyone knows the limits of that interface regarding the maximum number of files...
1
by: MrTea | last post by:
Hi Folks Hopefully a simple question... Using Visual Studio 2005, what is the easiest way to create a setup for my Windows Forms App that can copy a large number of required PDF files to the...
2
by: =?Utf-8?B?SnVzdCBjbG9zZSB5b3VyIGV5ZXMgYW5kIHNlZQ== | last post by:
Hello All i am trying to read a large txt files -may 1 GB-, which coze my program to hang, and i need to know if there are techniques that make this without hang and do it faster if you know...
3
by: sebastian.harko | last post by:
Helllo, What's the general accepted strategy for dealing with very large binary files in C# ? I have to do a program that reads some "multi frame bitmap " files which can reach up to one...
8
by: theCancerus | last post by:
Hi All, I am not sure if this is the right place to ask this question but i am very sure you may have faced this problem, i have already found some post related to this but not the answer i am...
0
by: zephyrus360 | last post by:
This is about a technique to find the mod of a very large integer with a normal small integer. I recently encountered this problem when I needed to compute the modulus of a very large number with...
1
by: =?Utf-8?B?UmFkZW5rb19aZWM=?= | last post by:
I am using standard File.Copy(source,dest,true) method in C# and I have problem with copying large number of files. Here is my code: foreach (FileInfo file in files) {...
1
by: crult | last post by:
Hello, I have a large number of xml files in a folder. I want to read and extract the content of each xml file to a new.txt. I'm only interested in the content having the tag <Texte>, and i want...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.