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 1mxLLV-0005nR-LO for pgsql-general@arkaria.postgresql.org; Wed, 15 Dec 2021 03:52:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mxLLS-0006it-Sh for pgsql-general@arkaria.postgresql.org; Wed, 15 Dec 2021 03:52:46 +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 1mxLLS-0006ik-GC for pgsql-general@lists.postgresql.org; Wed, 15 Dec 2021 03:52:46 +0000 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mxLLL-0005R8-Q8 for pgsql-general@lists.postgresql.org; Wed, 15 Dec 2021 03:52:45 +0000 Received: by mail-qt1-x836.google.com with SMTP id 8so20548319qtx.5 for ; Tue, 14 Dec 2021 19:52:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=hvG19FVUzjJuNeqC0F+10kEUu3wzrSNrGbu3fNa5X3I=; b=oftF5lSFyPQZYWFI5Wq3sUPra4Uh+hirEigW5eIOLtXH6+eyi7yecy5h2MIGUb83bB mEcejLMrb5DjTqE1m2iOAqmTSvx9FQXzRRQIAv/t++xFu40/tPRURUZzF8zwbvi23X9U IFL2Va6ydIw57yGX5nL9j4zLfmAMA7j+fOlpl+l5MSY0D00Boro4Qk7+EvUwXuTu4na3 i/Fmf3d2jAkFexL2mqCagOLUebyPt7LE6DImcNDVQ7KoYrrP+8NmNc4PDo6ZUHHOZGci R8bow8XHB3a3k9M9cFnqkwTeA26gK1IDbHSeITrUY5b1bxnFarfSpmUvly2aCeUTENAC XWQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=hvG19FVUzjJuNeqC0F+10kEUu3wzrSNrGbu3fNa5X3I=; b=Ks9t+INdcwamhV3x7cmBqeLgLNcp6ZdPs/q2U0C34Af707s1Z8kaZKmESVy4K3K7e0 q1hZhEnB+XifGm9AoVHBjcdlU8ekKMnP3zcIDkkKUTt0x69iYmYsZZIiNyTMZhknJqDq YPpJTVx4h75tBdMPb2MHCWbZh1jxyuUqUKZOA+N6i8BZA6n6lENd1NzGOvDdb7/WQFX+ EtUDGbTosys7+LucMjJOZjlaL51+7WOMUes5RJmhEMkMRhtu8P01HURbN6k6g0gKE9RB 2RWUZWhgZLs2g2TwYap0YyUVfEP99eA+FHVEMTKzcLWnVn2XZE/btF/eMDMvg3LxMx8s Wnvw== X-Gm-Message-State: AOAM532eo9qjQlyNbbzKfJ77XYIKBbwuN3sHnjp1LEMXbgre7Adwi2rA jfmHEtUkHV5mW7lU3I8d0wKbgj1vQDfEgw== X-Google-Smtp-Source: ABdhPJxI9Z7Soz0uOcsdtOSlBcrqFPDbA+3xWE+jaKL068XXB9uuaJ3L0jMSQLIwVEXncJDk53lAJQ== X-Received: by 2002:a05:622a:1902:: with SMTP id w2mr9941085qtc.401.1639540357773; Tue, 14 Dec 2021 19:52:37 -0800 (PST) Received: from [192.168.2.100] (pool-72-79-19-93.nwrknj.east.verizon.net. [72.79.19.93]) by smtp.gmail.com with ESMTPSA id n20sm452078qkp.65.2021.12.14.19.52.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Dec 2021 19:52:37 -0800 (PST) Message-ID: <75898e59-aa59-0293-1398-b9d1bcf70a3b@gmail.com> Date: Tue, 14 Dec 2021 22:52:36 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: Reindex "locked" standby database Content-Language: en-US To: pgsql-general@lists.postgresql.org References: <6C5D7205-487C-4AED-93AC-FBE042F51FC9@gmail.com> From: Mladen Gogala In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/14/21 22:37, Michael Paquier wrote: > You are referring to the startup process that replays WAL, right? > Without having an idea about the type of workload your primary and/or > standbys are facing, as well as an idea of the configuration you are > using on both (hot_standby_feedback for one), I have no direct idea, > but that could be a conflict caused by a concurrent vacuum. Hi Michael, I am preparing for a standby deployment. I don't have a standby yet and, therefore, I don't have any standby problems. Would it be advisable to turn vacuum off on the standby? Applying WAL will also, in theory, populate the statistics which is also held in the database blocks. Regards -- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com