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 1kfMAT-00060c-Dg for pgsql-general@arkaria.postgresql.org; Wed, 18 Nov 2020 12:02:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kfMAS-0001o0-91 for pgsql-general@arkaria.postgresql.org; Wed, 18 Nov 2020 12:02:32 +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 1kfMAS-0001nt-1T for pgsql-general@lists.postgresql.org; Wed, 18 Nov 2020 12:02:32 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kfMAN-0005Mv-UL for pgsql-general@lists.postgresql.org; Wed, 18 Nov 2020 12:02:31 +0000 Received: by mail-wm1-x343.google.com with SMTP id 1so2481868wme.3 for ; Wed, 18 Nov 2020 04:02:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=53LneAmZ7hDNkxwQ/RCiHmX4DsrKrjHgclPojLUY1/4=; b=i2pGOT9nfJQQgCAnF32V7NHWomAwHTdnJR8Qp5DE3BaqG2wgxfVL0+F3bXYknhlRy9 Hwwm1qJoWneCtFXEOL3PKKSMdWwRoGRTUoNYyvwhjUwnA8z3J1ezmoRgF0vx9wBrs4vj 5qzO0ME3sBvxzeSgDSLpAbxSAAS2U/MMFXwN7U8tXgevffGNIt29Gw6lw/qcofX6DsAe VuhxvKPmtK47YMP2c5UZPi07W9wsv4Il9LOMIViU5hNFkDHe8ux7IBa1wh+rlfTNLzWT UQC8BLpZaUnc4LHfazAnKLypGyDvqDZAqEwnpcOJBXCbdSzE/msNeksBGWuUepxW0HGn hcow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=53LneAmZ7hDNkxwQ/RCiHmX4DsrKrjHgclPojLUY1/4=; b=h0JoPnNuguM8vkOEgiPXdOCdujk3y2pCQ58LFeX9GdjkLW8dIR67zHKss/8CDeFc90 F0mY6pAXofAx8XBb8IGueuO8gzw8PjooG538XVeL+yO1lAmW11O27bFjpilTouByVmys Kbjr4bbtfjiPw/66j8+8b93dg62YjQSbtGbEUIOV2Wx0nwqtLbU0rbF0d2CW5j6AdJGU KM+bLrEb9zkHfwoxKgKRFxD652jNg+kwydz+hXdRGV7Ml9nf+DJOVZlIZfasWLQ/O/z0 TuRrlU/W1FiaJFDqw8KZB1aJgXFnRQkp0j2g6iPTwYgjkfm83r76SkNNHBXPErl5JUZw xHrA== X-Gm-Message-State: AOAM53002EXDMhbHbXP2LCCFnw/T/YvdWLuPNlwuEQgzyXzfaXzCVliF vTmj1aeUIinTQQQQAD1bagcXXQ== X-Google-Smtp-Source: ABdhPJxAXe1uqr4CKkcyAkTKhny6aGkUJyd5c4KVnQMLpMpich8X5Zu8UiqMTBuL3T0dMMFohdkHEw== X-Received: by 2002:a1c:6456:: with SMTP id y83mr4279302wmb.59.1605700947086; Wed, 18 Nov 2020 04:02:27 -0800 (PST) Received: from localhost.localdomain (217-149-169-56.nat.highway.telekom.at. [217.149.169.56]) by smtp.gmail.com with ESMTPSA id g131sm3824417wma.35.2020.11.18.04.02.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Nov 2020 04:02:26 -0800 (PST) Message-ID: Subject: Re: vacuum vs vacuum full From: Laurenz Albe To: Thomas Kellerer , pgsql-general@lists.postgresql.org Date: Wed, 18 Nov 2020 13:02:25 +0100 In-Reply-To: <1933cd6b-45b0-be1f-3a05-dd02e341ec28@gmx.net> References: <80603b4e-058c-fd9e-8e8c-50010dc32572@gmail.com> <1933cd6b-45b0-be1f-3a05-dd02e341ec28@gmx.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, 2020-11-18 at 10:57 +0100, Thomas Kellerer wrote: > > No matter how long it takes, this is an excellent argument for > > partitioning Very Large Tables: many maintenance tasks are made > > *much* easier. > > The problem is, you can't partition every table as long as Postgres > does not support a primary key that is independent of the partitioning key > (i.e. until it has "global indexes" as they are called in Oracle) I personally hope that we will never have global indexes. I am not looking forward to helping customers with the problems that they create (long duration of ATTACH/DETACH PARTITION, index fragmentation). Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com