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 1lD6VA-0007bW-4a for pgsql-general@arkaria.postgresql.org; Fri, 19 Feb 2021 14:11:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lD6V8-0005hU-Oz for pgsql-general@arkaria.postgresql.org; Fri, 19 Feb 2021 14:11:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lD6V8-0005hN-Gu for pgsql-general@lists.postgresql.org; Fri, 19 Feb 2021 14:11:22 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lD6V5-0001MJ-8F for pgsql-general@lists.postgresql.org; Fri, 19 Feb 2021 14:11:21 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 7E7C044F3; Fri, 19 Feb 2021 15:11:18 +0100 (CET) Date: Fri, 19 Feb 2021 15:11:18 +0100 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Slow while inserting and retrieval (compared to SQL Server) Message-ID: <20210219141118.GC10464@hjp.at> Mail-Followup-To: pgsql-general@lists.postgresql.org References: <1671732859.1031650.1613563275311.ref@mail.yahoo.com> <1671732859.1031650.1613563275311@mail.yahoo.com> <871844152.5278987.1613563515397.JavaMail.zimbra@siscobra.com.br> <237502737.2090865.1613566458369@mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HG+GLK89HZ1zG0kk" Content-Disposition: inline In-Reply-To: <237502737.2090865.1613566458369@mail.yahoo.com> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --HG+GLK89HZ1zG0kk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2021-02-17 12:54:18 +0000, sivapostgres@yahoo.com wrote: > Yes, that's what I feel. With no records in any tables, working from the= same > machine where PG has been installed, with only one user working, insertin= g few > records (10 records in total, in all 6 tables) should not take this much > time. =20 How much time is "this much time"? Are we talking a few milliseconds here? Less? More? Much more?=20 It's hard to give advice if you don't tell us more than "slower than SQL server". Please be specific. Use actual numbers. hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --HG+GLK89HZ1zG0kk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAmAvxv0ACgkQ8g5IURL+ KF0l6g//SqVgWAxHcTbJOoC2NJDeaaKBqOaY09E1aIbu9dveojArhM/c/s+tXH2J duQ6+DI9RCIbnsEbfZcZ0EaZydEZB/ROavXexmZtqU+JSY5yibhIyVpiEBENnHVb lbWY43rmVKYSgQATGM7HE8zjPd8CiNZ5374AhGLnKF1sMAhdcIrSYvQgM8CRCEfp 4dXMDXYZQMo2fTSzY+J/ohVhv0UY9S6QrUqmVwKHxksbADtGRPahnFfALi7pENn7 OPevcxY2S9Qu0svm64S1qlLivj5T0rzXOR9rPPxxbBKVf/bAuW+nALJHEEjfhBRe icuo02lEoQQfqf41aUDtc78byhy2FNj19AuLBJAuBd+pHOCqVI3KdEjqtpyDG4In QhP75hXW9g57JUImAEMmiUY+/nQQ+6Qiu9JcZq6VyKqJnZhXzF3roNhHxToE9Ifj L9n79S9Mbhver+uY7MbUzozNm+g09DFwVdzZ4ukkeeDjLmQPcAg3orUWfwTl5LgM e3mvcTj0Y7tAz1eHLiRkEMlAOBOb+KNqJO0v8xKS/FSlSuikNc5GT3nuAFemah1Z 4obJ8b42IG6AR1DEtYnaqSbwj3E36hp8J7heY02V9z8FWRRtDH+OJkJjB86ZEvZ/ yLqvUvkTL8ELjyDi4piUus0dcDFiSJK2a3s1iJP06DGIR2ly/60= =LxzU -----END PGP SIGNATURE----- --HG+GLK89HZ1zG0kk--