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 1l3rb4-0001y3-8d for pgsql-general@arkaria.postgresql.org; Mon, 25 Jan 2021 02:27:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l3rb3-0005MZ-5v for pgsql-general@arkaria.postgresql.org; Mon, 25 Jan 2021 02:27:17 +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 1l3rb0-0005MR-Nc for pgsql-general@lists.postgresql.org; Mon, 25 Jan 2021 02:27:16 +0000 Received: from mail-108-mta77.mxroute.com ([136.175.108.77]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l3rav-0003Lg-Qn for pgsql-general@lists.postgresql.org; Mon, 25 Jan 2021 02:27:13 +0000 Received: from filter004.mxroute.com ([149.28.56.236] 149.28.56.236.vultr.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta77.mxroute.com (ZoneMTA) with ESMTPSA id 177375db9ba0009319.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Mon, 25 Jan 2021 02:27:05 +0000 X-Zone-Loop: 24fee06b429bc8c787420575cccc78347dd0893dc1ae X-Originating-IP: [149.28.56.236] Received: from sunfire.mxrouting.net (sunfire.mxrouting.net [49.12.120.198]) by filter004.mxroute.com (Postfix) with ESMTPS id E84E73EA04 for ; Mon, 25 Jan 2021 02:27:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=demitri.com ; s=x; h=Message-Id:In-Reply-To:To:References:Date:Subject:Mime-Version: Content-Transfer-Encoding:Content-Type:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=X/qC6NEGKo4PRsmLYJKQtUpNaSWK/z7lXXFwCLClHj0=; b=dacZi8wrbcUDCbYPjWQajlzqhN UsE+XeZblU3+IWLRKibBsWgwJ8cNJ/rtmQvnukLtVCWYWS4oOLP0QruioHx9xigq1xdBiXapSRm1A eBJv2NX7kUG/a9xNyAOUpxPkgZaoknmwng1i3JFSV6/D4P9CoIcrQ1OyBBXUCAZpSDDLiMUMwIv9J Cgc1eE+HUc6MKn4SzJm6qIy7gfbuiJT0TrsyMWxhuhi215DWIwFpW7bfAlUaFUiIuUY46bTzS/jdy c5c/7uMMkcRYXpcwXOgRW0kOdrSBPGRh8MUNKpH4lb8TJD8QnxPfRmBBPf2LCd+HaB45YBFhMofVA ar6dyIBQ==; From: Demitri Muna Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: CLUSTER, VACUUM, and TABLESPACEs (oh my) Date: Sun, 24 Jan 2021 21:27:00 -0500 References: <959B953F-6882-4ED1-A560-4B0335C39CFD@demitri.com> <418a37cf-df5b-2264-784c-009d38cddbde@gmail.com> To: "pgsql-generallists.postgresql.org" In-Reply-To: Message-Id: <7C25659B-FAD1-421E-8617-62793147FBE0@demitri.com> X-Mailer: Apple Mail (2.3445.104.17) X-AuthUser: _demitri_@demitri.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Jan 24, 2021, at 9:03 PM, Guillaume Lelarge = wrote: >=20 >> VACUUM FULL unclusters the table?? >=20 > It will rebuild the table without sorting the data according to the = index used with CLUSTER (without any sorting actually). Thank you for the clarification; that=E2=80=99s very helpful. For the = case above. If I CLUSTER a table, add/delete no rows, then VACUUM, will = the existing order remain or be changed? Demitri=