Re: [HACKERS] [hackers]development suggestion needed (filepath as symlink) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] [hackers]development suggestion needed (filepath as symlink)
Date
Msg-id 200001181826.NAA05099@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] [hackers]development suggestion needed (filepath as symlink)  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
Responses Re: [HACKERS] [hackers]development suggestion needed (filepath as symlink)
List pgsql-hackers
> > Yes, that's about the sum of it.  Why not the links?  I think 
> > that it's an elegant way of designing the whole thing.
> 
> The only problem with symlinks is, that it does not solve the 
> "too many files in one directory to give optimal performance"
> problem for those that have tons of tables.
> 
> Andreas

Is that really a problem on modern operating systems?  We could actually
hash the file names into directory buckets and access them that way, and
have one directory that old symlinks to the hashed files.

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Vince Vielhaber
Date:
Subject: Re: [HACKERS] patches list
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Index recreation in vacuum