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 1l3r4w-0000W9-D1 for pgsql-general@arkaria.postgresql.org; Mon, 25 Jan 2021 01:54:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l3r4v-0004Ia-7Y for pgsql-general@arkaria.postgresql.org; Mon, 25 Jan 2021 01:54:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l3r4u-0004IT-Tc for pgsql-general@lists.postgresql.org; Mon, 25 Jan 2021 01:54:05 +0000 Received: from mail-oi1-x235.google.com ([2607:f8b0:4864:20::235]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l3r4n-0005Ky-7O for pgsql-general@lists.postgresql.org; Mon, 25 Jan 2021 01:54:03 +0000 Received: by mail-oi1-x235.google.com with SMTP id j25so7767295oii.0 for ; Sun, 24 Jan 2021 17:53:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=Gz1CB2cu+kEOr2karNTafHLLOpmhq5yii0J9SNObZUo=; b=IMyttmiHTh+I0f4cWRNgsNFCkXwah7EP1I1ZI5XBQILNLw3h7QiQCX0VyTX3svp194 Fyaadk6iBwTGBzS3cKI+7Q0mlgwdeb0ShBweMAHtt+48PMDi/oq4esHHoMhobeAUwS9n VtaT4yypcWlM4jUeqsYgwXt7bCW74VUoXB0itLh1775IwOVPdwysgIb2qz6528KzqsKu f3IIhlwBmZog/eHtyfKjYR+wARUMGCHw6qURE0KZjZq+2deqxRLMKU6ssDCtJRqsFJoe S7siyl4uCEsZd5aZgebKjvIhJP0MYrLJx4B502gV4awNDgMIqY2ILnRfWKLNKQyqnBxa VFIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=Gz1CB2cu+kEOr2karNTafHLLOpmhq5yii0J9SNObZUo=; b=hf7D8XJGw2UJb9yb4fLCOv461vQZdBpUHyN2xp/3chLenoB2ZC1xerzDTdoENesOIe p00MYJHzjOCv5dBEtP5nC/F/DpigvsxeSQ9YBW+TvYNt7svIL28yPgGXoHqn/tQSrd7x HrYw0aUg7mCOepAbe58rU4OeOC/EedaSiNiAy1m+rrRx1Pp0//w/A8BAkSk9wdOkLHF2 t4gC2O4PePCTZn2T1IebsxsL27miG3C/Ps9fIogrAHFwxHIqA8VkZfujwlXipDNLxcw0 peGBT5FATgEkO7ieRxudU00gco8Xei+ER5C1S7finZ6/WWvMzPL0wusnFoTTJjiSHyx6 OmLg== X-Gm-Message-State: AOAM5312V5llT+vjRjCp4LI1J4shE/DW0bsnhAFZxsHN3293tno/bqcQ B366S9dFxz1rJDMdIj235t2PY+TShMjywg== X-Google-Smtp-Source: ABdhPJxnTSh9nJSowlNHsxg3SX9nFykVbbiPdye0Cw1T9nZMzOhQlWhukzM21lBooam1RTdA4TvkfQ== X-Received: by 2002:aca:6256:: with SMTP id w83mr129017oib.170.1611539636357; Sun, 24 Jan 2021 17:53:56 -0800 (PST) Received: from [192.168.88.10] (ip174-67-141-204.no.no.cox.net. [174.67.141.204]) by smtp.googlemail.com with ESMTPSA id t12sm763389ooi.45.2021.01.24.17.53.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 Jan 2021 17:53:55 -0800 (PST) Subject: Re: CLUSTER, VACUUM, and TABLESPACEs (oh my) To: pgsql-general@lists.postgresql.org References: <959B953F-6882-4ED1-A560-4B0335C39CFD@demitri.com> From: Ron Message-ID: <418a37cf-df5b-2264-784c-009d38cddbde@gmail.com> Date: Sun, 24 Jan 2021 19:53:55 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------3104A04979465B9BEEF3B619" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------3104A04979465B9BEEF3B619 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 1/24/21 7:50 PM, Guillaume Lelarge wrote: > Hi, > > Le lun. 25 janv. 2021 à 01:38, Demitri Muna > a écrit : [snip] > > > * If I have previously run a CLUSTER command on a table, will future > VACUUM FULL commands rewrite the table in the order specified in the > previous CLUSTER? > > > No, you still need CLUSTER. VACUUM FULL unclusters the table?? -- Angular momentum makes the world go 'round. --------------3104A04979465B9BEEF3B619 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 1/24/21 7:50 PM, Guillaume Lelarge wrote:
Hi,

Le lun. 25 janv. 2021 à 01:38, Demitri Muna <postgresql@demitri.com> a écrit :
[snip]

* If I have previously run a CLUSTER command on a table, will future VACUUM FULL commands rewrite the table in the order specified in the previous CLUSTER?

No, you still need CLUSTER.

VACUUM FULL unclusters the table??

--
Angular momentum makes the world go 'round.
--------------3104A04979465B9BEEF3B619--