Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ohz9f-0003PD-4R for pgsql-admin@arkaria.postgresql.org; Mon, 10 Oct 2022 20:13:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ohz9c-0001P5-Vw for pgsql-admin@arkaria.postgresql.org; Mon, 10 Oct 2022 20:13:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ohz9c-0001Nh-LA for pgsql-admin@lists.postgresql.org; Mon, 10 Oct 2022 20:13:36 +0000 Received: from impout004aa.msg.chrl.nc.charter.net ([47.43.20.28] helo=impout004.msg.chrl.nc.charter.net) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ohz9W-0000zf-0q for pgsql-admin@lists.postgresql.org; Mon, 10 Oct 2022 20:13:36 +0000 Received: from miniblack.crazybean.net ([71.11.29.254]) by cmsmtp with ESMTP id hz9SoFeZaNIFrhz9Sos0bS; Mon, 10 Oct 2022 20:13:27 +0000 Authentication-Results: crazybean.net; none X-Authority-Analysis: v=2.4 cv=BMOgEXcG c=1 sm=1 tr=0 ts=63447ce7 a=GkUsAQdcAzAk0MT19QAIRQ==:117 a=GkUsAQdcAzAk0MT19QAIRQ==:17 a=xqWC_Br6kY4A:10 a=Qawa6l4ZSaYA:10 a=Byx-y9mGAAAA:8 a=VdxqSjPX4MrA1Wzfi_QA:9 a=CjuIK1q_8ugA:10 a=bGSS-lek3Hf3mgUQZBoA:9 a=klvy_jBJ4Kqznj6o:21 a=_W_S_7VecoQA:10 a=lqcHg5cX4UMA:10 Received: from smtpclient.apple ( [2001:470:e117:3:3177:ed0:12cf:8e9]) by miniblack.crazybean.net (OpenSMTPD) with ESMTPSA id 4ebe8459 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Mon, 10 Oct 2022 16:13:26 -0400 (EDT) Content-Type: multipart/alternative; boundary="Apple-Mail=_5ACE92FC-A6BA-4A5E-BE18-2B93D83BA8FB" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: Does Postgresql support 4KN/512e HDD/SSD? From: Rui DeSousa X-Priority: 3 In-Reply-To: <3c7dcc0e.202.183a59b8e82.Coremail.msdnchina@163.com> Date: Mon, 10 Oct 2022 16:13:25 -0400 Cc: "pgsql-admin@lists.postgresql.org" Message-Id: <56A2AAC6-14B1-46E2-B0D3-DDA4FF0063BC@crazybean.net> References: <3c7dcc0e.202.183a59b8e82.Coremail.msdnchina@163.com> To: yanliang lei X-Mailer: Apple Mail (2.3696.120.41.1.1) X-CMAE-Envelope: MS4xfOAJ3BPMWPJTFG5Obc89/mWgfpdV+i4bQCteWFWVm/Iekh9SGfy3TfM9HqPdrtN8AOjAWCxPu0ByhnUwLThjJRiaTuHckK7HNNi+nkTv7xqNkKWDa0pU oZ2P/2FFuk00xw2VwN+vWG3z5/K6xOy6bX0xMJKahM2/UGsZu/R0LoyxSjPVm6RaPQTYEep6LFDroJ6477OJJhzwTVo/TVGXP+/zvy6Csuv+aPF51ftVYpMo Q5qPXVTtuvVIv25Zqa2czw== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_5ACE92FC-A6BA-4A5E-BE18-2B93D83BA8FB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Oct 4, 2022, at 8:46 PM, yanliang lei wrote: >=20 > in the disk industry, hdd has 4kn and 512e, ssd has 4kn and 512e. > I want to know about postgresql database supports 4kn/512e in the = hdd/ssd or not. You want to make sure your filesystem is aligned correctly; otherwise = that will impact performance. --Apple-Mail=_5ACE92FC-A6BA-4A5E-BE18-2B93D83BA8FB Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii

On Oct 4, 2022, at 8:46 PM, yanliang lei <msdnchina@163.com> wrote:

in the disk industry, hdd has 4kn and 512e,  ssd has 4kn and 512e.
I want to know about postgresql database  supports 4kn/512e in the hdd/ssd or not.

You want to make sure your filesystem is aligned correctly; otherwise that will impact performance.

--Apple-Mail=_5ACE92FC-A6BA-4A5E-BE18-2B93D83BA8FB--