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 | 931647.1739828197@sss.pgh.pa.us обсуждение |
| Ответ на | 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:
> The bigint "id" column in "mytbl" is populated from a sequence, and so is
> monotonically increasing: the newest records will have the biggest id
> values.
> The table also has a bytea column that averages about 100KB.
> Loading 200K rows is more than 200MB. I expected this "prewarm" statement
> to take much longer than 1/2 second. Am I still in the dark ages of
> computer speed, or is this statement not doing what I hope it's doing?
It's not pulling in the TOAST storage where the bytea column lives.
(pg_prewarm wouldn't have either, without special pushups.)
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера