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 1lCMba-0006En-MP for pgsql-general@arkaria.postgresql.org; Wed, 17 Feb 2021 13:10:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lCMbY-0006Du-AO for pgsql-general@arkaria.postgresql.org; Wed, 17 Feb 2021 13:10:56 +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 1lCMbY-0006Dn-2n for pgsql-general@lists.postgresql.org; Wed, 17 Feb 2021 13:10:56 +0000 Received: from mxh02aws156.mxout.inova.com.br ([34.199.21.156] helo=mxhero02.a.inova.com.br) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lCMbS-00040i-Vk for pgsql-general@lists.postgresql.org; Wed, 17 Feb 2021 13:10:55 +0000 Received: from localhost (localhost [127.0.0.1]) by mxhero02.a.inova.com.br (Postfix) with ESMTP id BF129191AF7 for ; Wed, 17 Feb 2021 13:10:47 +0000 (UTC) Received: from corpmoutpolicyd01.a.inova.com.br (ip-10-0-1-88.ec2.internal [10.0.1.88]) by mxhero02.a.inova.com.br (Postfix) with ESMTP; Wed, 17 Feb 2021 13:10:47 +0000 (UTC) Received: from corpmoutpolicyd01.a.inova.com.br (localhost [127.0.0.1]) by corpmoutpolicyd01.a.inova.com.br (Postfix) with ESMTP id AC390220954; Wed, 17 Feb 2021 11:10:44 -0200 (BRST) Received: from corpmout01.a.inova.com.br (ip-10-0-1-125.ec2.internal [10.0.1.125]) by corpmoutpolicyd01.a.inova.com.br (Postfix) with ESMTP id A3F28C3177; Wed, 17 Feb 2021 11:10:44 -0200 (BRST) Received: from corpmbox02.a.inova.com.br (ip-10-0-4-158.ec2.internal [10.0.4.158]) by corpmout01.a.inova.com.br (Postfix) with ESMTP; Wed, 17 Feb 2021 10:10:44 -0300 (-03) Date: Wed, 17 Feb 2021 10:10:44 -0300 (BRT) From: luis.roberto@siscobra.com.br To: sivapostgres Cc: pgsql-general Message-ID: <194819330.5537540.1613567444523.JavaMail.zimbra@siscobra.com.br> In-Reply-To: <237502737.2090865.1613566458369@mail.yahoo.com> 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> Subject: Re: Slow while inserting and retrieval (compared to SQL Server) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.0.4.158] X-Mailer: Zimbra 8.8.15_GA_3980 (ZimbraWebClient - GC88 (Win)/8.8.15_GA_3980) Thread-Topic: Slow while inserting and retrieval (compared to SQL Server) Thread-Index: dDRhLJPH9lnwO6MK94wkcuWOYjXvIw== x-mxHero-Origin-Ip: /127.0.0.1:40048 X-mxHero-AttachmentBlock: rule=48;result=false List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ----- Mensagem original ----- > De: "sivapostgres" > Para: "luis.roberto" > Cc: "pgsql-general" > Enviadas: Quarta-feira, 17 de fevereiro de 2021 9:54:18 > Assunto: Re: Slow while inserting and retrieval (compared to SQL Server) > Hello, > 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, inserting few > records (10 records in total, in all 6 tables) should not take this much time. > I'll be inserting records from PowerBuilder applications, and how to catch the > result of Explain. OR should I run all insert commands in PG Admin or so and > catch those results? > As I'm new to PG, any documentation/help in this direction will be useful. > Happiness Always > BKR Sivaprakash > On Wednesday, 17 February, 2021, 05:35:43 pm IST, > wrote: You can run it wherever you prefer. I'm not familiar with PowerBuilder, so I'd say PGAdmin. BTW, if you run the INSERTs on PGAdmin, do you still seeing slow timings?