Re: Loading the latest N rows into the cache seems way too fast.
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Loading the latest N rows into the cache seems way too fast. |
| Дата | |
| Msg-id | 933145.1739829070@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Loading the latest N rows into the cache seems way too fast. (Ron Johnson <ronljohnsonjr@gmail.com>) |
| Ответы |
Re: Loading the latest N rows into the cache seems way too fast.
|
| Список | pgsql-general |
Ron Johnson <ronljohnsonjr@gmail.com> writes:
> On Mon, Feb 17, 2025 at 4:36 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> It's not pulling in the TOAST storage where the bytea column lives.
>> (pg_prewarm wouldn't have either, without special pushups.)
> Puzzling, since I ran "PERFORM *". What if I explicitly mentioned the
> bytea column's name?
You'd have to do something that actually used the column's value,
perhaps "md5(byteacol)" or such. (The obvious candidate would be
length(), but I think that is optimized to not fetch or decompress
the whole value.)
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера