Storing Large Number Of Files in File-System

后端 未结 4 441
独厮守ぢ
独厮守ぢ 2021-02-06 03:24

I have millions of audio files, generated based on GUId (http://en.wikipedia.org/wiki/Globally_Unique_Identifier). How can I store these files in the file-syste

4条回答
  •  感情败类
    2021-02-06 03:49

    Sorting the audio files into separate subdirectories may slower if dir_index is used on the ext3 volume. (dir_index: "Use hashed b-trees to speed up lookups in large directories.")

    This command will set the dir_index feature: tune2fs -O dir_index /dev/sda1

提交回复
热议问题