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 1tYuaz-00GO3J-Dp for pgsql-admin@arkaria.postgresql.org; Fri, 17 Jan 2025 22:13:41 +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 1tYuay-007Tth-20 for pgsql-admin@arkaria.postgresql.org; Fri, 17 Jan 2025 22:13:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tYuax-007Tri-JD for pgsql-admin@lists.postgresql.org; Fri, 17 Jan 2025 22:13:40 +0000 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tYuav-0005eN-2o for pgsql-admin@postgresql.org; Fri, 17 Jan 2025 22:13:39 +0000 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-54024ecc33dso2463201e87.0 for ; Fri, 17 Jan 2025 14:13:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737152017; x=1737756817; darn=postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=ESB0dDwt7t11SjHW0GeDBgS9UUFbBuo86LiREDDD7SA=; b=X9CMSTg8mT7a3woqr8tMXIshQOvMv/ZFSyfspTOK8RUcEvYpVOgkhaSF/Z50OZ4LHe rxE3ueiLvW5+AuiabdGZUEpC3ASTrTClRgWqTEk7zsRdbmzTz/rWYRWjfDmDDCO2z/Sv U/ZesY4vnzc8Ks4Rz/BIlS0IQWDmEnYY5FHKkGKxosKwBxgZLWfiAmA/JDIsW3RlRAdH Djyeb4BDWGzZiY7BEl4awZ0PbNvkHKLba9kcNX4XumLK+o62d3pvzG0oIsns45gjlua0 yOxNOff/pj2KoMvjC+H5qyTFIgaRgLb4MtoJ9FZ7E9rWCJeg0CZ1Fg2C2xRVTaq1kPEm pIEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737152017; x=1737756817; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ESB0dDwt7t11SjHW0GeDBgS9UUFbBuo86LiREDDD7SA=; b=OIVuk9UezPwv+y/2WBz5YX5ZIfSsL9MRrNVsjKwZTPwdIxyuA6d2lvszLJNpj1sCX/ 69P/Cx4uMn0n2oiPYlWiInAMI1MqJ8Hrp6Fi1M4luBmj14k3eTULogCpWsTwlQ9Q2klX kdWDdfgKdv+gHKopiAL/BdXymcHwKuwag1sqJ5amyPD538YK4X1y+wKZn0JQU9Mq115H 6+yyKobW4+gMrGCOxX+YmX1/YRyedW9iAssfdI4jc4Iv2BGg9NDfetedSowYlsi8niyy OgEr/E1EJFKLcwm2TDZUSMme8zdLz8aT6Bw8i8sgw1Q8sYEvCRu7RhN0xTMEBphTkyQy TMjA== X-Forwarded-Encrypted: i=1; AJvYcCVKwHEKg7/sxla3120usKgJvdyXlK5PmxtyWEH0GiV7Bdutk44cCha9VkVBaH0wP+G8mWDqwgZL+61GKg==@postgresql.org X-Gm-Message-State: AOJu0YwR0DPpHNxkTMlQc95AGf+GsbrF/80g1l9KCh6LFtOcOUzjLU2f 4qxTtEVExPu83Dd1T3jonorv59SNrVtrRpy+a0+ELfy8JrFSvDusP9WAB8EIXVF0AABXA88Pbzt XPd3r7YVWAlIH9zLmgIc6KHtZOMM= X-Gm-Gg: ASbGncs5/x5AQPifKt4tF9nySXJahl8w2aAXWnXA4GGBqJ1Liyg7HdP6R5JVeV3L6iL IZ5tm29UmHEG7OcQmBM9JB1aK73SSNKQTS5e1gzU= X-Google-Smtp-Source: AGHT+IETQ7WfLNFJauMglgME/bI5ibHNpALolEuNY6i69yFfN/r/YABWEXQbUMUQkWSV4fGBaCr/p7yihlx5NjKTtFU= X-Received: by 2002:ac2:5239:0:b0:540:1dca:52bd with SMTP id 2adb3069b0e04-5439c249eb7mr1061789e87.29.1737152016423; Fri, 17 Jan 2025 14:13:36 -0800 (PST) MIME-Version: 1.0 References: <4f6b5b081397ba9de49725f87d9ad3e40bf30dbf.camel@cybertec.at> <5DA36CEB-A299-41C5-8C00-FC1631E6EE8E@elevated-dev.com> <06090D46-9CB3-4491-A395-47654C4A2517@elevated-dev.com> In-Reply-To: From: kasem adel Date: Sat, 18 Jan 2025 00:13:23 +0200 X-Gm-Features: AbW1kvZ9CEOP_DLELbDY_RFQoowHyEGh938Ycfbca61a6WUCcOTWgEknig3lNSk Message-ID: Subject: Re: Advice Needed: Simultaneous Upgrade of Two-Node PostgreSQL 11 Cluster To: Scott Ribe , pgsql-admin Content-Type: multipart/alternative; boundary="000000000000dc242b062bee3840" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000dc242b062bee3840 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dears, I hope this message finds you well. Thank you for your support. After completing the upgrade process, we encountered high disk IO due to queries selecting incorrect plans for specific table. When we ran ANALYZE, it did not choose the correct plan, likely because we are using the default ANALYZE settings, and our data size is approximately 1.8 TB. Could you kindly provide a solution to address this issue? Thank you in advance for your assistance. =D9=81=D9=8A =D8=A7=D9=84=D8=AC=D9=85=D8=B9=D8=A9=D8=8C =D9=A1=D9=A7 =D9=8A= =D9=86=D8=A7=D9=8A=D8=B1 =D9=A2=D9=A0=D9=A2=D9=A5 =D9=A1=D9=A0:=D9=A5=D9=A6= =D9=85 kasem adel =D9=83=D8=AA=D8=A8: > Dear Scott Ribe, > > Thanks for your support after upgrade process we faced high disk IO > because query chose wrong plann but when run analyze not chose the corre= ct > plan because we are used default analyze and data size is 1.8 TB can you > provide us with solution to solve this issue. > > Thanks > > > > =D9=81=D9=8A =D8=A7=D9=84=D8=AE=D9=85=D9=8A=D8=B3=D8=8C =D9=A9 =D9=8A=D9= =86=D8=A7=D9=8A=D8=B1 =D9=A2=D9=A0=D9=A2=D9=A5 =D9=A3:=D9=A4=D9=A4 =D9=85 S= cott Ribe > =D9=83=D8=AA=D8=A8: > >> > On Jan 7, 2025, at 6:50=E2=80=AFAM, kasem adel = wrote: >> > >> > Kindly be informed that database size is 1.8 TB and we have an low >> network bandwidth between two node 10 mbps and to transfer the data from >> scratch that will take from 21 day to 30 day for this we need solution = in >> upgrade to prevent load data from scratch . >> >> Yes, and I gave you alternatives taking that into account. I think you >> have all the answers you're going to get, and now have to study them and >> choose an approach. > > --000000000000dc242b062bee3840 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Dears,

I hope this message finds you well.

Thank you for your support. A= fter completing the upgrade process, we encountered high disk IO due to que= ries selecting incorrect plans for specific table. When we ran ANALYZ= E, it did not choose the correct plan, likely because we are using t= he default ANALYZE settings, and our data size is approximatel= y 1.8 TB. Could you kindly provide a solution to address this issue?

= Thank you in advance for your assistance.



=D9=81=D9=8A =D8=A7= =D9=84=D8=AC=D9=85=D8=B9=D8=A9=D8=8C =D9=A1=D9=A7 =D9=8A=D9=86=D8=A7=D9=8A= =D8=B1 =D9=A2=D9=A0=D9=A2=D9=A5 =D9=A1=D9=A0:=D9=A5=D9=A6 =D9=85 kasem adel= <kasemadel8@gmail.com> = =D9=83=D8=AA=D8=A8:
Dear Scott Ribe,

Thanks for= your support after upgrade process we faced high disk IO because query cho= se wrong=C2=A0 plann but when run analyze not chose the correct plan becaus= e we are used default analyze and data size is 1.8 TB can you provide us wi= th solution to solve this issue.

Thanks=C2=A0



=D9=81=D9=8A =D8=A7=D9=84=D8=AE=D9=85=D9=8A=D8=B3=D8=8C =D9=A9 =D9= =8A=D9=86=D8=A7=D9=8A=D8=B1 =D9=A2=D9=A0=D9=A2=D9=A5 =D9=A3:=D9=A4=D9=A4 = =D9=85 Scott Ribe <scott_ribe@elevated-dev.com> =D9=83= =D8=AA=D8=A8:
> On Jan 7, 2025, = at 6:50=E2=80=AFAM, kasem adel <kasemadel8@gmail.com>= ; wrote:
>
> Kindly be informed that database size is 1.8 TB and we have an low net= work bandwidth between two node 10 mbps and to transfer the data from scrat= ch that will take from 21 day to 30 day=C2=A0 for this we need solution in = upgrade to prevent load data from scratch .

Yes, and I gave you alternatives taking that into account. I think you have= all the answers you're going to get, and now have to study them and ch= oose an approach.
--000000000000dc242b062bee3840--