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 1thrWH-007kxj-Gr for pgsql-admin@arkaria.postgresql.org; Tue, 11 Feb 2025 14:45:49 +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 1thrWD-00BXMi-Qw for pgsql-admin@arkaria.postgresql.org; Tue, 11 Feb 2025 14:45:45 +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 1thrWD-00BXMa-Ao for pgsql-admin@lists.postgresql.org; Tue, 11 Feb 2025 14:45:45 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1thrWA-000F1M-1d for pgsql-admin@lists.postgresql.org; Tue, 11 Feb 2025 14:45:44 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-545097ff67cso2665220e87.2 for ; Tue, 11 Feb 2025 06:45:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739285141; x=1739889941; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=a6qGA1LJtOhkrhMFfRm5kUCHbkTkXTUF6moJ3of8ePw=; b=iGM06RSSOEfCVSAanDz2d5rPzgILwwULHQ4BPJWYxt2K4ldiD1IxTNZt22RTArDQzW ItrDJFZK77dj9Otsp/6rUSgSAKsBKYZkNQcGsi3sOwx0XITf2O9AW1K7xFMRL6Q0gsgf laWGS5oL0i/PMym+//7/Tj3zxf7wJeWgaeQ2Yxrn1ZL+8+xojXzrH8A7dVnkqCC+whoP ueZchlew1DB5Sd2iRzsg/DHsV6aeNh7tsRlqlHYeBRQK6udf3qse0mPK7fqhQ8OQ6DHT 1UqaDOCtiuHTfUS6BSCbl02su5zsndrBc8+KWNe0caTk0Xfj8fdPj9nFKqD0srLWJa2e bURw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739285141; x=1739889941; h=cc: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=a6qGA1LJtOhkrhMFfRm5kUCHbkTkXTUF6moJ3of8ePw=; b=CnlfUBkWHS3BSGx0zuQeMLJbfP2P4ew8f0o33aTX9nIjbNDmoyVj+7lfMPfLfkBnC4 E0cx7guHCykvidNONcOud0Xs84B+xuJR+ls2AwInzZd6KzbDG7WEoA5C4A9hkWsfykJI HKnNOWASq+aLUqZguyagg33O88i6AS6Ws0EI+ftxXRFgC6nwzWqN6RAXXLbwQ8Yp2qdD 4x0k0HyxtRVAfAqHZThwHcCPDfvXlDaiUntYY3CTb0QD4gQG9Ia+a3Fzrt59+Lg6ueVt 4IRlsJ/FtJSFK32sgv5kWMV6FWrNgd435Q30lMNb5Q0fH4kfajJvrHV+MiuJ8ntusEUi fAbQ== X-Forwarded-Encrypted: i=1; AJvYcCXw3mp+1weSFfITTPpLVEpqtj98WUeNNR5c4hDH50joAC6HmqzKf2Zp6blzMuw28Rr/VkHQDx3IuCtnfw==@lists.postgresql.org X-Gm-Message-State: AOJu0YyNmEP7nwd254uWS/Se6hiJt8nbsGX3pEVG0Vk+75u/hrzh0nON Yl0G2L0D6KrBAN3JBIxxT3fHT4NO1nSc7/XTwGv21yoytf/06xeQKlhnE8DVU0A9YGWiNLotclo k+2BGQw3b7OpZiU6KLKVTpT6fgXE= X-Gm-Gg: ASbGncuYk2qw4WXVAzd0uGU/oJrKFmqg9Rf/99uPVj1WlNwVXjhKH2rDwrQuU9YzJhf 3mT1YEQwfkwfmVZSPkuyUBPYDGVzFtciorqNQWvvOuD+CdZlFW7Yjh0tECQ5QGOHK4ASQDFRF X-Google-Smtp-Source: AGHT+IFuuXRx84fA3KoC8nWOifazxJXZvoUFq0lGcHghy8mguSqTc9nbmpGcWJMO04r5xm4dM8HVbYU0GrzME6kiIBQ= X-Received: by 2002:a05:6512:3e23:b0:545:f4b:ed58 with SMTP id 2adb3069b0e04-54511850e76mr1128074e87.18.1739285140741; Tue, 11 Feb 2025 06:45:40 -0800 (PST) MIME-Version: 1.0 References: <2fe941e5814512059a8add602645f8f9d3e08e40.camel@cybertec.at> In-Reply-To: <2fe941e5814512059a8add602645f8f9d3e08e40.camel@cybertec.at> From: Erik Serrano Date: Tue, 11 Feb 2025 11:45:28 -0300 X-Gm-Features: AWEUYZm0lGvfEURzZx3J79co0boHv1W5WtmMQiwENwLB7yfUBdQT-PnQARcViJQ Message-ID: Subject: Re: Errors of a Postgresql replication with PowerBi To: Laurenz Albe Cc: Ron Johnson , Pgsql-admin Content-Type: multipart/alternative; boundary="000000000000fa274b062ddee0fa" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000fa274b062ddee0fa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Excellent Laurens, Currently I have this parameter at 180s, but I think it would be better at -1 to make it more dynamic, I will apply it Thank you very much *Erik R. Serrano Saavedra* * Data Base Administrator* El mar, 11 feb 2025 a las 11:08, Laurenz Albe () escribi=C3=B3: > On Tue, 2025-02-11 at 08:48 -0500, Ron Johnson wrote: > > On Tue, Feb 11, 2025 at 2:17=E2=80=AFAM Erik Serrano > wrote: > > > Along with greetings, I would like to consult a problem related to a > streaming replication > > > slave server in Postgresql version 15 that is being used as a server > for PowerBi queries. > > > > In the _004.jpg file, I see integer underflow. Or integer overflow tha= t > wraps around to negative 2.1 billion. > > > > Maybe that column needs to be a BIGINT, and the PBI code needs to > use int8? > > I see the following error in one image: > > canceling statement due to conflict with recovery > > If you want to avoid that error and don't mind if replay of changes to > the standby server gets delayed, set "max_standby_streaming_delay" to -1. > > Yours, > Laurenz Albe > > -- > > *E-Mail Disclaimer* > Der Inhalt dieser E-Mail ist ausschliesslich fuer den > bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat > dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, > dass jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung > oder > Weitergabe des Inhalts dieser E-Mail unzulaessig ist. Wir bitten Sie, sic= h > in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. > > *CONFIDENTIALITY NOTICE & DISCLAIMER > *This message and any attachment are > confidential and may be privileged or otherwise protected from disclosure > and solely for the use of the person(s) or entity to whom it is intended. > If you have received this message in error and are not the intended > recipient, please notify the sender immediately and delete this message > and > any attachment from your system. If you are not the intended recipient, b= e > advised that any use of this message is prohibited and may be unlawful, > and > you must not copy this message or attachment or disclose the contents to > any other person. > > > --000000000000fa274b062ddee0fa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Excellent Laurens, Currently I have this parameter at= 180s, but I think it would be better at -1 to make it more dynamic,
<= div>I will apply it

Thank you very much
=


Erik R. Serrano Saavedra=
=C2=A0 =C2=A0 =C2=A0 Data B= ase Administrator



El mar, 11 = feb 2025 a las 11:08, Laurenz Albe (<laurenz.albe@cybertec.at>) escribi=C3=B3:
On Tue, 2025-02-11 at 08:48 -0500= , Ron Johnson wrote:
> On Tue, Feb 11, 2025 at 2:17=E2=80=AFAM Erik Serrano <eserranos@gmail.com> wro= te:
> > Along with greetings, I would like to consult a problem related t= o a streaming replication
> > slave server in Postgresql version 15 that is being used as a ser= ver for PowerBi queries.
>
> In the _004.jpg file, I see integer underflow.=C2=A0 Or integer overfl= ow that wraps around to negative 2.1 billion.
> =C2=A0
> Maybe that column needs to be a BIGINT, and the PBI code needs=C2=A0to= use=C2=A0int8?

I see the following error in one image:

=C2=A0 canceling statement due to conflict with recovery

If you want to avoid that error and don't mind if replay of changes to<= br> the standby server gets delayed, set "max_standby_streaming_delay"= ; to -1.

Yours,
Laurenz Albe

--

*E-Mail Disclaimer*
Der Inhalt dieser E-Mail ist ausschliesslich fuer den
bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat <= br> dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, dass jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder=
Weitergabe des Inhalts dieser E-Mail unzulaessig ist. Wir bitten Sie, sich =
in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen.

*CONFIDENTIALITY NOTICE & DISCLAIMER
*This message and any attachment are
confidential and may be privileged or otherwise protected from disclosure <= br> and solely for the use of the person(s) or entity to whom it is intended. <= br> If you have received this message in error and are not the intended
recipient, please notify the sender immediately and delete this message and=
any attachment from your system. If you are not the intended recipient, be =
advised that any use of this message is prohibited and may be unlawful, and=
you must not copy this message or attachment or disclose the contents to any other person.


--000000000000fa274b062ddee0fa--