Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fT6up-0006bC-Qf for pgsql-general@arkaria.postgresql.org; Wed, 13 Jun 2018 14:38:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fT6uo-0001tz-Ck for pgsql-general@arkaria.postgresql.org; Wed, 13 Jun 2018 14:38:26 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fT6um-0001tP-5t for pgsql-general@lists.postgresql.org; Wed, 13 Jun 2018 14:38:26 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fT6uj-0003zs-02 for pgsql-general@lists.postgresql.org; Wed, 13 Jun 2018 14:38:23 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id B725221C19; Wed, 13 Jun 2018 10:38:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 13 Jun 2018 10:38:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=Ke8zgncaLTfVg1bdwjPrvNTqpCNXJEi4UcFHPOcypUQ=; b=KJIymwnG RhOeGH7NqVFH90Uopro44wMDQVdltuYSCotL8VH8Uyeb9P/mm14AYZMFdCitdQkn /HTjtyzRhJeLrJ6cmT7EDDuYVr/9ugRdW89v59G5G6Qho/bnCaNoQLwQjm6d0h/x XN9xWc22FWHrkksBMBWikjfvxWiEFbj9CHvS6TIFz9Aui936xFyH1/rPoYXPz/J8 q5B4aP7792+btDMZmA0AEJmlsCUxUUgyPGoeZymfjrPVXWnKV+JN0/hSWY9SDfED 5sTfWl+1p7XMtwpalnk2Brlv6ZIWTaXsDKV3gPITNzsYg7vk/qODfWlPKf3TXD6F zS7OhE8hp9R0Bg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=Ke8zgncaLTfVg1bdwjPrvNTqpCNXJ Ei4UcFHPOcypUQ=; b=JwEvzM1+7tCKff+DIa00C+d87Q51ukjHLFvZI1kERd/A0 MKUhao9gwwsj/UcW1VwEFjljgcfNis00Dkx9SugyK9PcWuYpicx0n9ePSjS6Z3Om mASS/kJ15IBDv6Xbal8xEDKLEaAQLvmiN3mWqvxIeL+TKDvPtHh9e08JBGLNaMHQ eM3U7UxW6CXOOpHII/Vwwu8FCv+3982u3CzHErXkt5HkNDMlrF6u+9GccPb3SRCD UIRhXWTzgpmBZ0CZDR3ZDv/b5Vf7J0EVS7Ir5e1nwbHVUTVTKr04VMMjz68xFL7h bXlAqBlKppfZnaOhhD20Noqmf5fT5ED28DpRkyb8g== X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 6CD23E5092; Wed, 13 Jun 2018 10:38:18 -0400 (EDT) Date: Wed, 13 Jun 2018 07:38:17 -0700 From: Andres Freund To: Pavan Teja Cc: Vadim Nevorotin , pgsql-general@lists.postgresql.org Subject: Re: First query on each connection is too slow Message-ID: <20180613143817.6iakcz3pmdhe52i3@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2018-06-13 15:55:05 +0530, Pavan Teja wrote: > Too much of shared buffers allocation also causes problem. Read the > documentation. That's not in the docs. - Andres