Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qPL2X-00AiSG-4W for pgsql-general@arkaria.postgresql.org; Fri, 28 Jul 2023 10:49:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qPL1W-00FENZ-4o for pgsql-general@arkaria.postgresql.org; Fri, 28 Jul 2023 10:48:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qPL1V-00FENR-MU for pgsql-general@lists.postgresql.org; Fri, 28 Jul 2023 10:48:41 +0000 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qPL1T-000rlh-E0 for pgsql-general@lists.postgresql.org; Fri, 28 Jul 2023 10:48:41 +0000 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2b9c2dc636dso27346621fa.3 for ; Fri, 28 Jul 2023 03:48:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20221208.gappssmtp.com; s=20221208; t=1690541318; x=1691146118; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=xuZii9V9t/0TFDSt6l1UhyJuUv8Tt8MzOg+nbIIr41g=; b=roUk+U1pGb6qfymLwSEXUh+uTYGswaaUBLtRcC/VZrvrx+BDaXgeXX7Oct7liWEsGK KOnBW61IMdIMpmitYKyk43Uz0BW/l3k1lFA4JP3fzYfrp9tZCRO6uQ7Zz2d0w0T5Irfv 7O3eA9OvigUitOmSOhPlTFowajf87jhna1G+IHtbbpo/Mu3SsuM5skTQ7oarpx1bAde2 Y0PwxccgQ+tRAhs4Duy0xe6tF4MnmqAffFUV7lyCqgGtRr9KJKsNSdLhTa/QGDkDCBo0 c6FtvCBf854V5rx4ObLSTcE2UHGO9wA6yeqBBgfs3svjsUlqsnVjFza8D4cxM0Z7hWm/ mbDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690541318; x=1691146118; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=xuZii9V9t/0TFDSt6l1UhyJuUv8Tt8MzOg+nbIIr41g=; b=ZQSvik7NPzR+jVZIsZ0TW++ndAZVPRCAi/FVJ8Bl+bFdCqkX6HoXzloqTts7eQ6LnC JIcnt9EOh0Bj8KPmyBvQwNLSsGFLG3jApy8wpsVCvHtns8z+J4nRp5+LtmCk3YKoskTI 55M7sIylL0Dn5AvESIVTcR1VUuGL/IGBWO0IIoJad3TFiOVUCbhO4P/ofkM0J+O1Ut4/ zEIrCm1gGHszdJGwToZpEkVg/7yletQHkuj2DJ6dpULIq7pAzjAN3p4Cu1FC0TwI9tz0 yDiP2wq+EPy2E1k8JG3E88zcElrJmE26sdheWYGrOQYV/meaTOD18JxIpPB/LtCcHDZf WDtQ== X-Gm-Message-State: ABy/qLZMSmwUCsew3ynyzBsAnf0zV3Kdo/E3JQX7crWmnYKyeYxHBiQo TSCdQR3j3pFvEMMDgRDh9RVF2Q== X-Google-Smtp-Source: APBJJlFhFdagHD6cnAE7XD6mNmPUObHxjjTCkBkFZhB1kXfucduIGiPy0i9Hx4zG0t4hJN6NUjHvWA== X-Received: by 2002:a2e:a28a:0:b0:2b6:dd26:c02a with SMTP id k10-20020a2ea28a000000b002b6dd26c02amr1303810lja.14.1690541318296; Fri, 28 Jul 2023 03:48:38 -0700 (PDT) Received: from localhost.localdomain ([88.116.133.170]) by smtp.gmail.com with ESMTPSA id k17-20020a7bc311000000b003fc02218d6csm6679979wmj.25.2023.07.28.03.48.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jul 2023 03:48:37 -0700 (PDT) Message-ID: Subject: Re: Reindex after upgrade from PostgreSQL 12.10 to PostgreSQL 15.3 From: Laurenz Albe To: Hellen Jiang , "pgsql-general@lists.postgresql.org" Date: Fri, 28 Jul 2023 12:48:37 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, 2023-07-27 at 20:02 +0000, Hellen Jiang wrote: > I am going to upgrade our production database( postgresql 12.10) to postg= resql 15.3. > After upgrade to 15.3, =C2=A0Do you have to do re-index? That is not necessary after a PostgreSQL upgrade. (It may be necessary if you upgrade the operating system.) > Will the performance be as good as before I upgrade? It should be at least as good, but sometimes it isn't. That's why you test (and tune if necessary). Yours, Laurenz Albe