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 1tkfgI-005qMk-BY for pgsql-admin@arkaria.postgresql.org; Wed, 19 Feb 2025 08:43:46 +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 1tkfgG-005xIS-K8 for pgsql-admin@arkaria.postgresql.org; Wed, 19 Feb 2025 08:43:44 +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 1tkfgG-005xIF-7p for pgsql-admin@lists.postgresql.org; Wed, 19 Feb 2025 08:43:44 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tkfgE-001g6L-1f for pgsql-admin@lists.postgresql.org; Wed, 19 Feb 2025 08:43:43 +0000 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-5dec996069aso10830444a12.2 for ; Wed, 19 Feb 2025 00:43:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1739954621; x=1740559421; darn=lists.postgresql.org; h=mime-version:user-agent:references:in-reply-to:date:to:from:subject :message-id:from:to:cc:subject:date:message-id:reply-to; bh=45B12R070h8MYvMQ8mfPc1ExUoxzIlbgMxg1dOwPNKY=; b=nlteJVztmVcN9dRagaqVE+zLe1hJXkPf+fh2h+XC0es8CsZ1ykzjE6d4eFQGmHKD+N OheWpAZMPK6Enrr6Cum5LVfCoOslPRLBkTr+6z2Fnv4Lr1RyPCXxY2UfJme+YOc45bD6 MuHwc5w5NZjZ3bh3pGY0o4+jCBlgzG0cnOkVu0WuqKDsVeNJ/7S7QTfLKXaUGk61xfen FvLXge+eU08I2eHpNTDcGgrjD8fzC0x1GA+VDZQ5/K7xQ9txqRgT18zl2Gq7txMdbQ7D 1pQ4O+TbKzJ86pNVHuxy+Px9TMk1GxXH7zTRAhHuCIFyRqAkIvNO3AHoR6oQn5pA5cwT SZ0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739954621; x=1740559421; h=mime-version:user-agent:references:in-reply-to:date:to:from:subject :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=45B12R070h8MYvMQ8mfPc1ExUoxzIlbgMxg1dOwPNKY=; b=RmTPcdw7qmGcfjRu/w83qrt1Ufv06InDzq1X+oBYEHwGCRxhdzlS0QWXaXVCOeqHNu KEoaQ87eHRTiB5UUugwsDTeSisgAfJ3sMnGkzJOFPBLfQFfGXEBebMlw+Jt8NEwzrkNO 29f4eWMjSOfl2x2K7ZBD5dilrPTaC++bReQs+TabYe++/3evns1lPBlTXOkTG4xEQDf/ DehQBYzuoU84Y/2CJC76HXAMe9S9eWZooosHL9VtUTK7hmVPGtdHQ2m22mt6IElNHLGI gtKozvicMWT5n8TJ5lbi73drkV7X4x5ETx5OIB44r2EdB5C6jP8wg2+Qsi98xFJRK9KY MsYQ== X-Forwarded-Encrypted: i=1; AJvYcCVLwdsVQ4JsUu5wrwhSINKLNyxPehopGYESBYsYYl9+VxEiDDBouS4l/1MQMyI+HCS1fEK0OXBkMTThYg==@lists.postgresql.org X-Gm-Message-State: AOJu0YysZSvxVRuvLlQWWVHqBbDUk/8XHlsbRUhpVD+368N0ll60b+sD jQEQ6TNvGjSC5ZCgT1S+uK5Zztgz6QMwPLEA9UvH4Y3RlLFAtCK20JcwAxhKwNR24pEJig39pxr W10650N0Hf5ttD/D+A7j716UEvkiybo+YK+pHkC2tu//L1E15NKauYBknRgoa7RhsJ1pquA+c2Y M= X-Gm-Gg: ASbGncuknUT0T9PZgtSf8DJDov6J3ifUoCoqrm4OEiwCL1qqe8BuICMFjSQipdjXCXO 8pJDc8SvN6QJSyn1uTk+Qy2JXDHs9mD98Y2f/iPjvALgqj/74LTx1oeBkQC6BSaWYk5dIX/QH9E rHE2G24h1VX7PHOCycwFftKLv0YuLLzqngMnnMNr3d8QLxE6/RlNffXI78XPO5RyXwSG/EwrTcW UwMPSzKVkViDV/60DRq7X91JMQKox1oO+lFjlR6w5zBU1+mc67qUYgEHhn/uDDBBnZMrs/yuzO8 289/M3AUZjlUcDNOV6kcatPiP5Qyh3J1VTE= X-Google-Smtp-Source: AGHT+IHXfR3NmrXisx7KKtxgdKQxoneyR+nCgJwfYhXK2l7R0F/olhZRJy+vkw1swwJCW0RM9xqPLg== X-Received: by 2002:a05:6402:2347:b0:5dc:cfc5:9305 with SMTP id 4fb4d7f45d1cf-5e089cff4bcmr2488508a12.25.1739954621063; Wed, 19 Feb 2025 00:43:41 -0800 (PST) Received: from localhost.localdomain ([2001:871:5e:517b:7a17:db82:bac2:ea1d]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5dece1d3488sm9974814a12.38.2025.02.19.00.43.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Feb 2025 00:43:40 -0800 (PST) Message-ID: <33a7cbf8b9a5bd90aa2797a1fca3f12e421639cd.camel@cybertec.at> Subject: Re: Does export operation cancel SQLs? From: Laurenz Albe To: Siraj G , Pgsql-admin Date: Wed, 19 Feb 2025 09:43:40 +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" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 2025-02-19 at 14:01 +0530, Siraj G wrote: > We have PostgreSQL 16 running in GCP cloud SQL. When export job runs we > are noticing these messages excessively: > > db=postgres,user=postgres ERROR: canceling statement due to user request > > Does Export cancel the SQLs? If not, why are we noticing these messages > excessively during the export operation? The load on the instance is minimal. I am not sure what exactly you mean by "export". A pg_dump? But I am not aware of any operation that would cancel statements in other sessions. Perhaps someone or something in your application sends cancel requests when a statement is running too long, and the concurrent export slows down the system. 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, 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 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, 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.