Re: How can I set up Postgres to use given amount of RAM?
В списке pgsql-general по дате отправления:
| От | Mladen Gogala |
|---|---|
| Тема | Re: How can I set up Postgres to use given amount of RAM? |
| Дата | |
| Msg-id | f60cb360-57b2-a41e-c8a9-08a65be1f77a@gmail.com обсуждение |
| Ответ на | How can I set up Postgres to use given amount of RAM? ("W.P." <laurentp@wp.pl>) |
| Список | pgsql-general |
Question in topic:
"How can I set up Postgres to use given amount of RAM?"
I have now laptop with 8GB of RAM, i can see Linux uses no more than 2-3GB.
So my question is how to FORCE PostgreSQL
use let's say 2-4Ghow to B of RAM for caching tables I run queries on?
As I can see disk actity running queries.
W.P..
I would try docker with --memory option. An alternative is to create a VM with the given amount of memory. If your laptop is memory starved, then creating a VM is probably not an option. Docker is much cheaper. Dockerfile is relatively simple to master and you can use Docker to run almost anything.
Regards
-- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера