Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have a server which is overwhelmed by files used by a web app. Because the number of files in the server is too great the overall performance of the whole server has degraded (including other apps).

The server is using Windows NT, and I think the file system should be NTFS.

Can we zip up multiple files into one single zip file, so that the number of files decreases? For example, we zip 10 files into a zip file, would the number of file decrease from 10 to 1?

share|improve this question
    
Please post the hardware specifications of this server for us to adequately answer the question. Also be specific, are users seeing slowness copying files to the server, or from the server, what kind of network infrastructure do you have? Your question is very ambiguous. –  SpacemanSpiff Mar 30 '11 at 3:33
    
are you really saying nt as in nt4? and are you sure the files systems is ntfs if its fat you could have performance issues. –  tony roth Mar 30 '11 at 4:27
    
How have you determined that the number of files is the cause of the problem? What else have you checked. And, as already asked, are you really serious about this being NT? –  John Gardeniers Mar 30 '11 at 4:44
    
Do you mean it's a FAT file system? Have you checked for fragmentation? How much free space? Could you convert the drive to NTFS? Are the files all in one folder? Why do you think the number of files is a problem? –  TristanK Mar 30 '11 at 4:51
    
@John There are 30 millions files. I think that explain all of your question. –  lamwaiman1988 Mar 30 '11 at 5:19

1 Answer 1

up vote 1 down vote accepted

If you zip 10 files, and then delete the original files, then yes, you will only have 1 file as far as the file system is concerned.

enter image description here

enter image description here

share|improve this answer
    
Really? You sure? Because the zip file contains 10 files within. –  lamwaiman1988 Mar 30 '11 at 3:48
    
@gunbuster - yes. I'm sure. A single ZIP file (or a RAR file) contains multiple compressed files. The file system only sees one file. Try it out. I'll update my answer. –  Mark Henderson Mar 30 '11 at 3:51
    
Thanks, that may solve the problem. –  lamwaiman1988 Mar 30 '11 at 3:52
2  
No worries. Disclaimer: I'm not sure what you're doing is the best way to go about fixing your issue, but without knowing more I can't really pass judgement. –  Mark Henderson Mar 30 '11 at 3:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.