Re: [HACKERS] char types gone. - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] char types gone.
Date
Msg-id 199803250239.VAA24516@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] char types gone.  (darrenk@insightdist.com (Darren King))
List pgsql-hackers
> > Yes, but if they are never referenced, the cache is empty for those
> > types.  Unless there is some performance change with their removal, why
> > remove them?  Disk space of binary?
>
> How does the cache really work then?  Does one pg disk block map to one buffer?
>
> When you say "the cache is empty for those types.", what do you mean?

I believe the buffer page cache does load in those types if they are in
the same page as a requsted type, but the relation/function caches only
store in requested relations/functions, as far as I know.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: Michal Mosiewicz
Date:
Subject: Optimizer fails?
Next
From: "Vadim B. Mikheev"
Date:
Subject: Re: AW: [HACKERS] Begin statement again