From: Andreas Joseph Krogh <andreas@visena.com>
To: Sebastien Flaesch <sebastien.flaesch@4js.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Sv: PostgreSQL configuration in a VM
Date: Fri, 17 Feb 2023 10:48:41 +0100 (CET)
Message-ID: <VisenaEmail.24.3f634cb33cab66f7.1865ec3ad3d@visena.app.internal.visena.net> (raw)
In-Reply-To: <DBAP191MB128910DCB4ACC12E8076554DB0A19@DBAP191MB1289.EURP191.PROD.OUTLOOK.COM>
References: <DBAP191MB128910DCB4ACC12E8076554DB0A19@DBAP191MB1289.EURP191.PROD.OUTLOOK.COM>
På fredag 17. februar 2023 kl. 09:13:10, skrev Sebastien Flaesch <
sebastien.flaesch@4js.com <mailto:sebastien.flaesch@4js.com>>:
Hi!
I was wondering if the is any specific configuration setting that should be
used with PostgreSQL, when running in a VM...
Is there anything obvious that must be set, to get best performances with such
a config?
Sorry for this general question...
In my experience the most important parameter when running in a VM is
random_page_cost, and for that to be set to a sane value you need to know the
characteristics of the disk available to your VM. In other words, disk IO is
what you should be worried about as VMs are pretty good at scaling CPU-wise.
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
andreas@visena.com <mailto:andreas@visena.com>
www.visena.com <https://www.visena.com;
<https://www.visena.com;
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: andreas@visena.com, sebastien.flaesch@4js.com
Subject: Re: PostgreSQL configuration in a VM
In-Reply-To: <VisenaEmail.24.3f634cb33cab66f7.1865ec3ad3d@visena.app.internal.visena.net>
References: <DBAP191MB128910DCB4ACC12E8076554DB0A19@DBAP191MB1289.EURP191.PROD.OUTLOOK.COM> <VisenaEmail.24.3f634cb33cab66f7.1865ec3ad3d@visena.app.internal.visena.net>
* 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