pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: DrakoRod <drakoflames@hotmail.com>
To: pgsql-admin@postgresql.org
Subject: How to calculate how too much memory ram need a PostgreSQL Server?
Date: Mon, 5 Apr 2021 11:21:51 -0700 (MST)
Message-ID: <1617646911570-0.post@n3.nabble.com> (raw)

 Hi folks!!

I support a PostgreSQL database it grew from 100 to 300 GB in couple months,
I we need tuning all OS parameters (is a virtual enviroment). Currently the
configuration is the follow:

Virtual Machine
Ubuntu 18.04
12 CPUS
8 GB in RAM
400 in Disk
Clúster database size 320 GB

Some queries have times too differents, the same query sometimes it execute
in 8 10 seconds sometimes  in 12 15 minutes, many querys make joins between
40, 50 millions rows. I know some factors like  relation between entities
affect times, but in general I suspect the mainly problem si resources in
OS.

I suspect is a lack to memory ram but we need justify the change in OS RAM,
so, How to calculate how too much memory ram need a PostgreSQL Server? Too
need know how because the database size continue grows.

Best Regards
DrakoRod



-----
Dame un poco de fe, eso me bastará.
Wolfgres - Postgres Enterprise 
--
Sent from: https://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html





view thread (3+ messages)  latest in thread

Message-ID: <1617646911570-0.post@n3.nabble.com>
Permalink:  ../1617646911570-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1617646911570-0.post@n3.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: drakoflames@hotmail.com
  Subject: Re: How to calculate how too much memory ram need a PostgreSQL Server?
  In-Reply-To: <1617646911570-0.post@n3.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox