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 1tklYx-006bHu-Q6 for pgsql-admin@arkaria.postgresql.org; Wed, 19 Feb 2025 15:00:35 +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 1tklYv-009Ktn-5G for pgsql-admin@arkaria.postgresql.org; Wed, 19 Feb 2025 15:00:33 +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 1tklYu-009Ksm-P8 for pgsql-admin@lists.postgresql.org; Wed, 19 Feb 2025 15:00:33 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tklYs-001jEv-27 for pgsql-admin@lists.postgresql.org; Wed, 19 Feb 2025 15:00:31 +0000 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-38a25d4b9d4so4437558f8f.0 for ; Wed, 19 Feb 2025 07:00:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1739977228; x=1740582028; darn=lists.postgresql.org; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=koTl49WBz5d15yNAy4wDM2UEgbTpPDZKqkC7pEvic5c=; b=oHq7rf5iJFOQ35avg6Izzx5siCISgKstHSRfgOeqvCPfdynFWIeL3zFqL5toCHv85u UySdY3OZGsX88MGxgJroxWyJPAW/hz/ZCLx1EccNLbnsyx3J/MTPQ6KM3A8DlDmH2irw 8bonsVAAFGh1VZJMZa1YBfw4iHJgMkwhJN99V9tgWlL62OA8joG/cjgiRXQX1gQ/GbDD q/kvOkeG3YqM2COiKwOYcS+gpNFQtfXPpoxq4g3SqIWuWpwbeMA9gl5KkYdUfDowO9Lt BLpkpaegUFFXLdH2+RhHsK+AcM++MMo6DkH5Xnsfx7MEfm9DC05cHzozi4m+WqKJxq9e pNKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739977228; x=1740582028; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=koTl49WBz5d15yNAy4wDM2UEgbTpPDZKqkC7pEvic5c=; b=JvR46LVmcDYjftG7ou75+JSHAOUgneK3XkwCGTc/xYVEdZSbXT1aII/kgSh95vfuCd 1XltlGmnuE2CObDgfO0aK5XVla94+C/Ib4QmXffGMayF5ZIVZ+uCLpA3HE10W41spjUK Cv7KqPpK1H+R9mWTNDQ/JApPZiIn6QZf5JUKJV1G2mdzt7/nakb0FjYA3rIs6DYOnUO/ TV1yXU9h4EdJOGPm10iVy9uA/zKkVicf8MAFIj22VPUEJeKGn/nE8KEF1hyDji3sCAsa DwhehKb6jIisjveA3wKWJfakBvcV2H4v48kZ2/4lQIqy7aUkWL9fHQK8hL1wIg1mHAlS unhA== X-Gm-Message-State: AOJu0YySgh3K4p1/WNN3Qaicox2hmDoF48q5fH8Zm0cwH67J62kzkCTO V8huUD9fBPVQDQ+hCAzn0skdxlWfWJZCXYiEGX6RBWnTqteOTC5gOcjc8ylpvC0aXTEGhdzJmhn bLe0qdGu8BHXfUPiSHgAzDNJbSYr4MTk/gPMk4uWkvD8ERSXyWJFzyXEJu/PnBA== X-Gm-Gg: ASbGncsNVpCWf7vbKRhezdgEPQNZyjMKuW1MUbR/v7R//cOPY8hUc5sNUVhIOif2MI9 K/yON8nSNPiwaV1shOEvlnQxLqF9wnvaEI9Q6S1mCYmRUHSSvuMkHO3QDrU6UEnrn0pIdqZff0z kM/PtnZ8CvCQL/Atv/gfNMIyjFCOPhSwuoQEsCBKg/1WzGsA0y4PL7Ow0pLgjgPWdoUgl2l2YR+ 2fpvuIJLMuPK9ITTcDcorhpKpG14xOhtOAtLj32aJ10xyb+qPT40IZn9JdlRIVHwE49KfCw0diP JzuudhGg9NvWwU+hkD+cKL1bn06XdTQG76oX X-Google-Smtp-Source: AGHT+IHsvS+gJmbyZFH0upRUzGFLr5UJj8hq4P+WyMufrPtlWuCddrZ6VruCIXZIkn2ejG+51Ve8Jg== X-Received: by 2002:a5d:5f4c:0:b0:38f:4f60:e669 with SMTP id ffacd0b85a97d-38f4f60e915mr7606898f8f.29.1739977228132; Wed, 19 Feb 2025 07:00:28 -0800 (PST) Received: from localhost.localdomain ([2001:871:260:9c58:5040:cd2e:a698:e3ac]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38f259f85c2sm18676218f8f.91.2025.02.19.07.00.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Feb 2025 07:00:27 -0800 (PST) Message-ID: <098b7dbed4aa52c97b6159b26c36129ff2f10409.camel@cybertec.at> Subject: Re: Does export operation cancel SQLs? From: Laurenz Albe To: "David G. Johnston" , Siraj G Cc: Pgsql-admin Date: Wed, 19 Feb 2025 16:00:26 +0100 In-Reply-To: References: User-Agent: Evolution 3.54.3 (3.54.3-1.fc41) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 2025-02-19 at 06:54 -0700, David G. Johnston wrote: > > We have PostgreSQL 16 running in GCP cloud SQL. When export job runs we= are noticing these messages excessively: > >=20 > > db=3Dpostgres,user=3Dpostgres ERROR: canceling statement due to user r= equest > >=20 > > Does Export cancel the SQLs? If not, why are we noticing these messages= excessively during the export operation? The load on the instance is minim= al >=20 > It says =E2=80=9Cuser request=E2=80=9D.=C2=A0 I=E2=80=99d advise figuring= out what was cancelled and what =E2=80=9Cuser=E2=80=9D did so. > Probably DDL commands failing to get exclusive locks. No, that message is from a cancel request, like when you interrupt your currently running query with Ctrl+C in "psql" or invoke pg_cancel_backend()= . PostgreSQL doesn't do that by itself. Yours, Laurenz Albe --=20 *E-Mail Disclaimer* Der Inhalt dieser E-Mail ist ausschliesslich fuer den=20 bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat= =20 dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte,=20 dass jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder= =20 Weitergabe des Inhalts dieser E-Mail unzulaessig ist. Wir bitten Sie, sich= =20 in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. *CONFIDENTIALITY NOTICE & DISCLAIMER *This message and any attachment are=20 confidential and may be privileged or otherwise protected from disclosure= =20 and solely for the use of the person(s) or entity to whom it is intended.= =20 If you have received this message in error and are not the intended=20 recipient, please notify the sender immediately and delete this message and= =20 any attachment from your system. If you are not the intended recipient, be= =20 advised that any use of this message is prohibited and may be unlawful, and= =20 you must not copy this message or attachment or disclose the contents to=20 any other person.