Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!novia!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "RedGrittyBrick" Subject: Re: In need of advise abo Message-ID: X-Comment-To: comp.lang.java.databases Newsgroups: comp.lang.java.databases In-Reply-To: <2out241i5ietfedhahm3enk2gq1alh75bt@4ax.com> References: <2out241i5ietfedhahm3enk2gq1alh75bt@4ax.com> Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 33 Date: Wed, 27 Apr 2011 15:21:54 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303917714 96.60.20.240 (Wed, 27 Apr 2011 10:21:54 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:21:54 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.databases:127 To: comp.lang.java.databases Roedy Green wrote: > On Sat, 17 May 2008 14:11:36 +0200, Thomas Kellerer said: > >> Most filesystems aren't very good in >> handling thousands (if not millions) of files in a single directory. > > > Unix has inodes which I presume requires substantial i/o just to list > the files in a directory. To just list the (names of) files in a directory requires no access to inode tables. File names are stored in directories, not in inode tables. I think most Unix filesystems (since FFS in '83?) aim to keep metadata in the same cylinder group as the corresponding data. > Any database is going to use some sort of btree with most of tree > cached in RAM. Filesystems like ext3 use Htree (specialised Btree) and RAM caching. Not that I'm advocating filesystems over databases! -- RGB --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24