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 1la4uQ-0005ir-Vm for pgsql-hackers@arkaria.postgresql.org; Fri, 23 Apr 2021 23:08:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1la4uO-0007A7-Li for pgsql-hackers@arkaria.postgresql.org; Fri, 23 Apr 2021 23:08:24 +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 1la4uO-00079y-9q for pgsql-hackers@lists.postgresql.org; Fri, 23 Apr 2021 23:08:24 +0000 Received: from mail-io1-xd2a.google.com ([2607:f8b0:4864:20::d2a]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1la4uH-0002EF-1e for pgsql-hackers@postgresql.org; Fri, 23 Apr 2021 23:08:23 +0000 Received: by mail-io1-xd2a.google.com with SMTP id p8so1951903iol.11 for ; Fri, 23 Apr 2021 16:08:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=dQcOUn4HXKeRp9MpqR7smK90EIgZ12wL0faVAo1wSvM=; b=UclOuKI2EdiOgmHGboKceQn7h/yJuo1iOFU3Zr11BWIOT/TQ7moj4ZSz9GcriXO1ct 3h6Ank3Lm9tIL/DPn6ZBvSciVyzXPwC1fDDdKz80HtXH7QeB46GYPadFTiLs8QeTyfjZ 15MrUQk3+6yZ4DhnIl8BZ3Iwcrf0kYD+NsUsMNtEpt2zqRNK2LaiwpsYwNTrKds/g5AG ENTGbAM2w8zW96WAMiceFQSA+yufQhMgDeZseUenNC+GxEEjGcPaJE2KTssuAWeMUtLN 9HSXLaQl9dicOZYbsKK/jErhaOqGdzg/yAUcg1oeqIiGRa6+y5/YhEnRhCbMNKmS5yQT 99BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=dQcOUn4HXKeRp9MpqR7smK90EIgZ12wL0faVAo1wSvM=; b=YTxTUaVx5W01lx0Fg3wfyFz3CWC75fV43eFXLOJ/W0YZS72zB0FLt9rcNMnxE5Gc0r zj0THBjOcfxuIk0zyJ8bEwLnxq6UTiHLm82UuNrNtfH4xx8NPiYgZAjdTLuJFG7gEc13 vglcY8WF4gstxlNmSA0CSNuFyXd0/mMK54QyFmiHkGghTyFNVuju+EMd9m4H7z7cYAWN +y7h7jWqSo7kWHcHfuQ/uFZSNBZga1xRYgX0L6oT7XYHwah+O1tdQGfh/726ahdvgyrF wPXDJAazJ2Espjh31do1fEYWaIaQQYSbG6aHolvN8qP3krlcedd8v6YNZtOKjHK3sUF9 bFiA== X-Gm-Message-State: AOAM532DyjT8tgIITVrDz+GT6qaEzuQzTpoqlAi7xLf3Dm76qfTy6lRD HakSV1jSJnVfttLXWCqOAPGs5NByu1BKEw== X-Google-Smtp-Source: ABdhPJzpKyLWYFu2sqnQu5oweLg6BltPumE5DCJrdW1jnDIqEfcJInC4x5oGM5V9J1XwKBpT/syUUw== X-Received: by 2002:a6b:5d10:: with SMTP id r16mr4843964iob.44.1619219294051; Fri, 23 Apr 2021 16:08:14 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id u20sm3129280ilj.63.2021.04.23.16.08.13 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Apr 2021 16:08:13 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 9743F801553; Fri, 23 Apr 2021 18:08:12 -0500 (CDT) Date: Fri, 23 Apr 2021 18:08:12 -0500 From: Justin Pryzby To: Andres Freund Cc: pgsql-hackers@postgresql.org, Peter Geoghegan Subject: Re: Testing autovacuum wraparound (including failsafe) Message-ID: <20210423230812.GN7256@telsasoft.com> References: <20210423204306.5osfpkt2ggaedyvy@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210423204306.5osfpkt2ggaedyvy@alap3.anarazel.de> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Apr 23, 2021 at 01:43:06PM -0700, Andres Freund wrote: > 2) FAILSAFE_MIN_PAGES is 4GB - which seems to make it infeasible to test the > failsafe mode, we can't really create 4GB relations on the BF. While > writing the tests I've lowered this to 4MB... > For 2), I don't really have a better idea than making that configurable > somehow? Does it work to shut down the cluster and create the .0,.1,.2,.3 segments of a new, empty relation with zero blocks using something like truncate -s 1G ? -- Justin