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 1u9KQj-000ZPn-O9 for pgsql-general@arkaria.postgresql.org; Mon, 28 Apr 2025 09:05:38 +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 1u9KQh-00CwuU-UV for pgsql-general@arkaria.postgresql.org; Mon, 28 Apr 2025 09:05:36 +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 1u9KQh-00CwuM-IG for pgsql-general@lists.postgresql.org; Mon, 28 Apr 2025 09:05:36 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1u9KQf-002Odp-17 for pgsql-general@lists.postgresql.org; Mon, 28 Apr 2025 09:05:35 +0000 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-43cf034d4abso42874645e9.3 for ; Mon, 28 Apr 2025 02:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1745831132; x=1746435932; darn=lists.postgresql.org; 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=lJWJ2/fxHFNog71vFEGbF41p+alfXixRve8IEiNQyNI=; b=gLgwftX26OTvo9vy84jDG4O6Pe8xRo4GatTbtikD9ZhDkWok/XnoWVJw+QV0PyBClU 3aFwIRTLnWHWT26v1dVNRadAVI9S+GrvceI+EL4Gw0/EGWXfkIfkkbkzrjbuz7HQe/6l Mty4rNkMSDvAbMiG+xxFWvM2OlwINnVrVtT4D5+NGNDZ7hFKRnnpMld2xF9DtpVgTTV+ om9d/MGUDmNlkPjvzPgjhCm0bw33J8A8/VakSzP31dLBXpYg//+cTZ3rwLBeCmWCtU24 hjOMchd88pdd3LkVzOjc8fjUoTbI9SxoX3wkmsdhDkL8ELJGhyoyjSiDTsZmDr2jlseD BaXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745831132; x=1746435932; 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=lJWJ2/fxHFNog71vFEGbF41p+alfXixRve8IEiNQyNI=; b=p1g8XvJMKbJ1cYPR+43x/2mcWXgV8L86xN3QkpmutmJRq0laxdqZP/uwd26JJ4JXz5 QTg5ntKKiyLMyklcWRilxIHDod/bcnOEkoVOurFbatP4NGivQWhsumPAfSDWDSrd177z uBD21I1QOj6YUB4ll1YQ6BWocpgK5nJXL9/J1RXQ/Py7voFzpmYwjlwwZx4wJTX1udlR scRIAVzSzH3mxEBehAn9jljXvNJqy0xaITtbusjUzVmGutTZhN0lC6b8FZXDZA7zAiYm g8Pfa5tSrn//bXn0Id1c+9IsqT+ZW4LYNgs71KbCzE+5XX6+SyYtHLLAsv+KlpVdAMYC El4Q== X-Forwarded-Encrypted: i=1; AJvYcCWmVM4WPNyUjnGuQqVbSI/LUUaBXtiG0wU3Q82U//bXI/ttkPUjcoDh0Mg8tY/CBZRvENTgmQBPOCpRoHUA@lists.postgresql.org X-Gm-Message-State: AOJu0YxeCbKzeJHQJUJuWZj2cJtx6XvGpW5OC8BDAK2WTmQTy2l7gbx+ VymScanIyvSzMPkAHT7q1SXWQ/X/zXAMmfyfaj7F+GmlFEMLbRvJDKyUUgkArCv/KdyhX5qNT2T 4 X-Gm-Gg: ASbGncvW0gDR38ih1YHWBvx+XiQOGZVTmJrsfJEuyzwYNkbZEoajGfCR4pTCyQ7/Wwg PdhIDGXvrnuM8dY6hWRFcDqOo1Q/g4kvXuNzmOOibPeSF+7vUb9q041JAbEg8CysZz3g5sp35Ii A0kzs/eyI7dJzJz7IlPJowI7FpBt+EPi7z2L7iwU4gipWyvdkUkIPLt/vx0r3maaLzLZ+nOYIkd /1VppXW4g3jjNnzgCIhpiZ5jdNMUE7MZRuUHGeBPNXuVXe+XNkFCTFKi470Bxtw80RLiPEO/yJj Iou25RaxelpRV5nwcPQJQVrGIlFJnDweeYUIE2f407pLFsYQVKXpQI6ggQ== X-Google-Smtp-Source: AGHT+IEyHodDfAsNIFhpdcWm2xPciQJDQiUdK+prkLgEODGSx29nPmkyyxMtf8VXirDikRZoOiZdMg== X-Received: by 2002:a05:600c:a089:b0:43c:efed:733e with SMTP id 5b1f17b1804b1-440a65e3e7emr99090685e9.14.1745831132334; Mon, 28 Apr 2025 02:05:32 -0700 (PDT) Received: from localhost.localdomain ([2001:871:5e:b56a:ce16:bfc1:eee:4d9]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-440a538747esm116200935e9.35.2025.04.28.02.05.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Apr 2025 02:05:31 -0700 (PDT) Message-ID: <74357b166a8e522d1a14aca7d763d0f0365df5da.camel@cybertec.at> Subject: Re: Fwd: SQL transactions executing from VMSS From: Laurenz Albe To: chandan Kumar , pgsql-general@lists.postgresql.org Date: Mon, 28 Apr 2025 11:05:31 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.3 (3.54.3-1.fc41) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2025-04-28 at 13:55 +0530, chandan Kumar wrote: > I did not get any answer till now.=C2=A0 If someone has any idea please h= elp me is getting this resolved. > The issue is - database=C2=A0deployment , sql query to database=C2=A0is s= low when we run database script from > vmss to postgres database=C2=A0in flexible server.=C2=A0 both the servers= are in US EAST under the same subnet >=20 > Kindly help in below situation, where in I see slowness in response time = while I do testing running > SQL transaction in batches from VMSS to postgres database in flexible ser= ver(PaaS) 14.17 version. > VMSS to IaaS(postgres db on ubuntu) is faster than VMSs to PaaS. 14 versi= on is same on both the > system. response size is same but response time is almost 2.5x more on Pa= aS. I see dynatrace is > showing more time is on waiting time. Query plan is same on both the syst= em. If i run single sql > transaction from pg admin it is executing in same time. > what can cause this slowness, any idea please. I think that the answer you didn't get was as helpful as your problem descr= iption: "I got some statement that is slow, but I will neither tell you the state= ment nor show you the execution plan. What is the cause of the slowness?" Yours, Laurenz Albe