Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j04Te-0007po-Kl for pgsql-performance@arkaria.postgresql.org; Fri, 07 Feb 2020 14:19: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 1j04Td-0007WN-Eq for pgsql-performance@arkaria.postgresql.org; Fri, 07 Feb 2020 14:19:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j04Td-0007Uv-2C for pgsql-performance@lists.postgresql.org; Fri, 07 Feb 2020 14:19:25 +0000 Received: from post.visena.com ([46.226.10.50]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.92) (envelope-from ) id 1j04Ta-00078z-T4 for pgsql-performance@lists.postgresql.org; Fri, 07 Feb 2020 14:19:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=visena.com; s=20141101.wh; h=Content-Type:MIME-Version:Subject:In-Reply-To:Message-ID:To:From:Date; bh=MKWGpwts+jmbvms7oB1cSJMGbCVMfriSzmBLl2egg+M=; b=ezJ9gNACT4QJnDDGAzBMTiDzlX/EKAMgO1Ge3DXRwWkSciYiOj1+ZCrB13TNjgV1MylojFaLOO2TRPjye+mkJ2YLpEMkCoy//0IO8xobCQh57t5nh9C7Ak7FjMHvAJI1yMl1fzOyebV3WqKWMamiC4BMrsnJSfntIh6fg+uX11g=; Received: from [10.0.1.10] (helo=tc7-visena.wh.internal.visena.com) by post.visena.com with esmtp (Exim 4.82) (envelope-from ) id 1j04TY-0008Oa-1x for pgsql-performance@lists.postgresql.org; Fri, 07 Feb 2020 15:19:22 +0100 Received: from localhost ([127.0.0.1] helo=tc7-visena.wh.internal.visena.com) by tc7-visena.wh.internal.visena.com with esmtp (Exim 4.90_1) (envelope-from ) id 1j04TY-0004JE-0J for pgsql-performance@lists.postgresql.org; Fri, 07 Feb 2020 15:19:20 +0100 Date: Fri, 7 Feb 2020 15:19:19 +0100 (CET) From: Andreas Joseph Krogh To: pgsql-performance@lists.postgresql.org Message-ID: In-Reply-To: Subject: Re: TOAST table performance problem MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_185_744001712.1581085159945" X-Mailer: Visena Mail 2.2.236 X-Spam-Score: -1.0 X-Spam-Report: SpamAssasin (score=-1.0, required 5.0 ALL_TRUSTED=-1,HTML_MESSAGE=0.001) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_185_744001712.1581085159945 Content-Type: multipart/related; boundary="----=_Part_186_646692137.1581085159945" ------=_Part_186_646692137.1581085159945 Content-Type: multipart/alternative; boundary="----=_Part_187_1944362348.1581085159956" ------=_Part_187_1944362348.1581085159956 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable P=C3=A5 fredag 07. februar 2020 kl. 15:16:13, skrev Asya Nevra Buyuksoy < ayisan1096@gmail.com >:=20 Andreas Joseph Krogh wrote on 2/7/2020 8:41 AM:=20 P=C3=A5 fredag 07. februar 2020 kl. 14:23:35, skrev Asya Nevra Buyuksoy < ayisan1096@gmail.com >:=20 My guess is the time is spent in the client retrieving the data, not in the= DB=20 itself. Are you on a slow network?=20 It works in my local area and speed is 1 Gbps. When I use another local=20 computer that has SSD disk the query execution time reduced to 12 seconds. = But=20 this query has to execute my local computer.=20 What client are you using?=20 -- Andreas Joseph Krogh ------=_Part_187_1944362348.1581085159956 Content-Type: text/html;charset=UTF-8 Content-Transfer-Encoding: quoted-printable
P=C3=A5 fredag 07. februar 2020 kl. 15:16:13, skrev Asya Nevra Buyukso= y <ayisan1096@gmail.com>:=

Andreas Joseph Krogh wrote on 2/7/2020 8:41 AM:
P=C3=A5 fredag 07. februar 2020 kl. 14:23:35, skrev Asya Nevra Buyukso= y <ayisan1096@= gmail.com>:
=C2=A0
My guess is the time is spent in the=C2=A0client=C2=A0retriev= ing the data, not in the DB itself. Are you on a slow network?
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0It works in my = local area and speed is 1 Gbps. When I use another local computer that has = SSD disk the query execution time reduced to 12 seconds. But this query has= to execute my local computer.
=C2=A0
What client are you using?
=C2=A0
">
--
Andreas Joseph Krogh
------=_Part_187_1944362348.1581085159956-- ------=_Part_186_646692137.1581085159945-- ------=_Part_185_744001712.1581085159945--