Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJvVD-0007qF-E4 for pgsql-performance@arkaria.postgresql.org; Thu, 02 Apr 2020 08:47:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jJvVB-0002qu-94 for pgsql-performance@arkaria.postgresql.org; Thu, 02 Apr 2020 08:47:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJvVA-0002qn-W4 for pgsql-performance@lists.postgresql.org; Thu, 02 Apr 2020 08:47:05 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jJvV8-0005lG-My for pgsql-performance@postgresql.org; Thu, 02 Apr 2020 08:47:03 +0000 Received: by mail-wm1-x341.google.com with SMTP id f6so2669817wmj.3 for ; Thu, 02 Apr 2020 01:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=UdnOcYKOMD5+XCCTWKjIfMK1GzGKFazHtqfwJ8UmQ8Q=; b=eTJGllj0qyGNKjY4UZR3KiMaVX/goZy5TolgSigRbVuza4HE5KevUuRBS/SRNA4+jE eJIYPQ10ArPW0nnupHRppT1sCev6wE+hS9srxvE9Bw3xMkcte7oBwayrHSah/xEt6EGr T15UOuAGZ+YUurBit1yC4YcX0tpDCRFMVQ/r7az2OClzw4tpSoPzopBx2G8DJUqm9RCe pw15qBqpQ3sHqUM/x/fd+bBERqlLJAK1ovJWA+CH5bozBIR4VuUZmqrHvA8ZmHS4j/Yd B1L/fTb7ri/DscZr25Am/J/hybBVA/8l0dNblBfIGxh1hFdYOARjtzYwG9pVIskjOM7Y ABxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=UdnOcYKOMD5+XCCTWKjIfMK1GzGKFazHtqfwJ8UmQ8Q=; b=mvYzkzlfwZOSWeEmzDSOjNTixX7WmmpwSIWtOM8JYBnD2BFY3Sv568FlBHOE5Hg9Ho KyZguXQJkLPN+9FgL9OGe//DTcju8AgyiqEnsIR2jfjNh0Bn4qw8qNX1PHvnuFbbuCW1 vbiMhoMizasbadxk80Jo+3me/aXRlAZMQA6n+twst8Pzpx7CIzExsf4OoTYeI+grmZjH QB04jBCBsctsnKXQNntDaYQ/J6UlPE5o5xgBsAjEwxjmozjF7GZ+nKGlqEijRvPMEo3V WBR3BAEVjOhq4VMosrhKYOo9j/JiukHeikYISMEcMwLN+GoiN0CcFUWf6Ce+UsBlX5VO BF2g== X-Gm-Message-State: AGi0PuaDImo1vy4jJWJWSb9DQgTwfgf5qc0vCdYv1CgHosOjaR9eSvVe svj15ig+5fLe4nNzZrCc7iw= X-Google-Smtp-Source: APiQypLwX4tcJDUpHGt3IRyY3MZfJFM8U2/1vx2Y8B6uA2ps/Bad98qlMv0AaXvDRi5YKtCZ1ZkzIw== X-Received: by 2002:a1c:9dd3:: with SMTP id g202mr2357178wme.60.1585817221365; Thu, 02 Apr 2020 01:47:01 -0700 (PDT) Received: from nol (82-64-124-11.subs.proxad.net. [82.64.124.11]) by smtp.gmail.com with ESMTPSA id d13sm6781620wrq.11.2020.04.02.01.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Apr 2020 01:47:00 -0700 (PDT) Date: Thu, 2 Apr 2020 10:46:58 +0200 From: Julien Rouhaud To: tejaswini.gc@decathlon.com, pgsql-performance@postgresql.org Subject: Re: BUG #16334: We recently upgraded PG version from 9.5 to 10.10 and system performance is not so good Message-ID: <20200402084658.GC64485@nol> References: <16334-b99092d62b0bbb9a@postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16334-b99092d62b0bbb9a@postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On Thu, Apr 02, 2020 at 03:52:25AM +0000, PG Bug reporting form wrote: > The following bug has been logged on the website: > > Bug reference: 16334 > Logged by: Tejaswini GC > Email address: tejaswini.gc@decathlon.com > PostgreSQL version: 10.10 > Operating system: Centos 7 > Description: First of all, this is not a bug. You should have instead started a discussion on pgsql-general or pgsql-performance. I'm redirecting the discussion on -performance. > We have upgraded our database into version 10.10. How did you upgrade? > After upgrading we could see that the system performance is bad , and one of > the applications linked to it via web service is not working. Do you have any errors in the postgres logs? > During this upgrade we have not done any code changes either on the > application side or on our ERP side. > > We are trying to debug everything from application perse, but till now we do > not have any lead. > > Can you tell us are there any measures that we need to take after upgrade. It depends on how you did the upgrade. If you used pg_upgrade, did you run the generated script as documented in step 13 at https://www.postgresql.org/docs/current/pgupgrade.html? Otherwise, at least a database-wide VACUUM ANALYZE on every database is the bare minimum to run after an upgrade.