Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] how to tune reiser4 for millions of files?
- Date: Mon, 1 Feb 2010 20:19:29 +0900
- From: Kalin KOZHUHAROV <me.kalin@example.com>
- Subject: Re: [tlug] how to tune reiser4 for millions of files?
- References: <20100128073847.GH13095@example.com> <20100128095957.GB24344@example.com> <20100128132701.GI13095@example.com> <20100131070618.GD13956@example.com> <c0f4e2b01001302359u196b0855g27752e120feeadb3@example.com> <20100201090356.GK13095@example.com>
Just as last-resort-one-hack-off-the-top-of-my-head... You can "make your own" filesystem by appending all the data, possibly with some delimiter. Then use offsets as index to your former files, but you can drop all the metadata (like filename) inside your file. What I am suggesting is to concatenate all files in order that you might need them. [file1_data] ===nothing-like-this-delimiter=== [file2_data] ===nothing-like-this-delimiter=== ... and corresponding index: file1_start: 0 file2_start: 34562 .... Of course, nobody mentioned importing that into a normal database :-) MySQL will be happy to glob your data into a BLOB type, or you can save your self a good deal of time, if you parse the data from each file and input it in the database (iff the data is structured of course), then do: $ for file in $(find -type f -print ) do; ./my_parser ${file} >>data.csv; done Kalin.
- Follow-Ups:
- Re: [tlug] how to tune reiser4 for millions of files?
- From: Francois Cartegnie
- References:
- Re: [tlug] how to tune reiser4 for millions of files?
- From: Michal Hajek
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] how to tune reiser4 for millions of files?
- Next by Date: Re: [tlug] how to tune reiser4 for millions of files?
- Previous by thread: Re: [tlug] how to tune reiser4 for millions of files?
- Next by thread: Re: [tlug] how to tune reiser4 for millions of files?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links