Обсуждение: Re: [HACKERS] sgmr* vs. md*

Поиск
Список
Период
Сортировка

Re: [HACKERS] sgmr* vs. md*

От
ZEUGSWETTER Andreas IZ5
Дата:
> smgr is a generic i/o interface layer that allows multiple storage
> managers.  Currently, we always use DEFAULT_SMGR as a parameter to smgr*
> functions, causing calls to the md* routines.  Is there any value in
> just removing the smgr layer completely.  It was originally for a CD
> jutebox i/o layer in addition to our current disk i/o layer.
> 
Wouldn't this be the interface for a tablespace i/o manager ?
A tablespace has the advatage of only needing a number of files
for thousands of small tables, and reduces the overhead of many 
open file handles. A tablespace is also needed before raw devices
can be efficiently exploited.

Andreas


Re: [HACKERS] sgmr* vs. md*

От
Bruce Momjian
Дата:
> 
> > smgr is a generic i/o interface layer that allows multiple storage
> > managers.  Currently, we always use DEFAULT_SMGR as a parameter to smgr*
> > functions, causing calls to the md* routines.  Is there any value in
> > just removing the smgr layer completely.  It was originally for a CD
> > jutebox i/o layer in addition to our current disk i/o layer.
> > 
> Wouldn't this be the interface for a tablespace i/o manager ?
> A tablespace has the advatage of only needing a number of files
> for thousands of small tables, and reduces the overhead of many 
> open file handles. A tablespace is also needed before raw devices
> can be efficiently exploited.

Good point.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@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