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 1g0ZMf-0004tQ-Bj for pgsql-general@arkaria.postgresql.org; Thu, 13 Sep 2018 21:41:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g0ZMc-00026K-Jf for pgsql-general@arkaria.postgresql.org; Thu, 13 Sep 2018 21:41:26 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1g0ZMc-00026D-2t for pgsql-general@lists.postgresql.org; Thu, 13 Sep 2018 21:41:26 +0000 Received: from mail-oln040092001076.outbound.protection.outlook.com ([40.92.1.76] helo=NAM01-BY2-obe.outbound.protection.outlook.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g0ZMY-0004mP-5r for pgsql-general@postgresql.org; Thu, 13 Sep 2018 21:41:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Rcr6IsgAx1RePUsHDIkKTiWsFgL6aPcMNKjTqI3sZY4=; b=GFgQE1CyfKJcy+/r7/w/am7XokmlDhxY4GDfijXUBw3mM//BpmK+SwC72Uh2lgL8pvipEhoohjf7kPE3B4D7cahPtVH1s4Ejei5J4E8XJWpwCoZmcdn+xXMYFi7wWePvOGaQ05hOeWTxe8HrG4SO/+sfQwlO8rMIKlIzrFcoOCCGe88qsJBsdBpFlVYTbhh7oyC3aQ3RpgL5Q8bM1ohsCGGaADMnjUr8f2GtYvGFXbaXLgdUrpvlyTOEC62k41Ms/3R2n/GIvylKKkEi8XCUT1Uh3uqjtpPMQ3BdpguIL3va7AcPu4E/uSSYGK/zECw74KmzzhEa8iHs9QTVQg9t3g== Received: from BY2NAM01FT058.eop-nam01.prod.protection.outlook.com (10.152.68.52) by BY2NAM01HT231.eop-nam01.prod.protection.outlook.com (10.152.68.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.1143.11; Thu, 13 Sep 2018 21:41:17 +0000 Received: from RO1P15201MB2426.LAMP152.PROD.OUTLOOK.COM (10.152.68.54) by BY2NAM01FT058.mail.protection.outlook.com (10.152.68.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.1143.11 via Frontend Transport; Thu, 13 Sep 2018 21:41:17 +0000 Received: from RO1P15201MB2426.LAMP152.PROD.OUTLOOK.COM ([fe80::1bd:797d:be0e:4d57]) by RO1P15201MB2426.LAMP152.PROD.OUTLOOK.COM ([fe80::1bd:797d:be0e:4d57%8]) with mapi id 15.20.1143.014; Thu, 13 Sep 2018 21:41:16 +0000 From: Johnes Castro To: Neto pr , PostgreSQL General Subject: RE: Estimate time without running the query Thread-Topic: Estimate time without running the query Thread-Index: AQHUS6ozPvzqoRSFAUipPcSW/Bf93KTuvXo7 Date: Thu, 13 Sep 2018 21:41:16 +0000 Message-ID: References: In-Reply-To: Accept-Language: pt-BR, en-US Content-Language: pt-BR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:A35F2C4F353BC1568D10CACB4995521B7B2F6F4801F2E3592E5D64FA9848DFB1;UpperCasedChecksum:F8033F21073D01A66916BBAF3F66ADD66A40BC4C3C2DBE1CF35FB314806C783A;SizeAsReceived:7102;Count:46 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [4Zqc3RQlAVrwt54z0TyEtdhotwygNbfB] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BY2NAM01HT231;6:SA+8QNiYeLnbYH4Lwtzb8fklVgd53BSUyboI4trqOAL9wN+QBLjUl3c7paSVsyheIakEQMI6jf9DdoAW2SC9FhEQ528KREVMU0JXBwbu/mLzybXpsLICaYsy5gEps/0dg8v9nn8ZypNrTEvcApT5uLLoU1zcmfAR0UpNXOe3AR9F8E4FS4n9He8JzOQQXGdbG9J3hYUAbcNbPC7e5oVnWDEtgYTjtDkN+1Z3MqgoUuEllApw7kL49Ls2hM/iSf6OO7ZOCNyvqxFejkF1o4g/VzteFgDVCCYLXzbUveVnuTpxN9VbiDUr4SASgDrep5QgYgz5cEiN/qGz1MiGTJRYOMLh1VXWLOCApUfnHQZSsTZkTA+EKYEvuzDpItyN814GZvAkVLIWW7RiT8LS8Xdm4olwQbaldPV2SRq3Jn7q6rWqBElE3IQn8ij2vKEY9pP/+Atk1erqrkXW8hA9k4mScw==;5:csZ0LJLqMXNdhqBFCaj3ZNEe/vGO2Mp7ImAr8ry0Wkg40J4mW80y9NmMNkzWVC3IB1iXUOjlOekGJEjDWdWOp8pCEnHAyrwQG6lRJMCIAZy6Y7WA6Sl7k7Mtb3JW0Z0m3Ch5zSS/C/awcG4fRs9ePIa6GdpMDxvHsQu6cskvq5k=;7:tBynOohD2Y5idUtSbvUM/0jdT7N8ltBHVPy6xQrBAykMgC+iRl4Ht+rM5s9buaJpifx8qWXv4sseagyobq5VyRc19ZRM9u5SBXBD76rP1lsfDOd9XTBuTATkYYft3XBzgQdPop5qIVtgeL5X8m4khG4Lg6a2xCvM3EquP59tJTJ4mB/Z4VUZaQIKbr3x6OlTqKcy1T5YLW23DbBH4oI182KoN2QJHn4LPFJjgrVvOcUhRrOxsy1GUi8aV1oNCoBU x-incomingheadercount: 46 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125500)(1603101475)(1701031045);SRVR:BY2NAM01HT231; x-ms-traffictypediagnostic: BY2NAM01HT231: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(4566010)(82015058);SRVR:BY2NAM01HT231;BCL:0;PCL:0;RULEID:;SRVR:BY2NAM01HT231; x-forefront-prvs: 07943272E1 x-forefront-antispam-report: SFV:NSPM;SFS:(7070007)(189003)(199004)(105004)(229853002)(2900100001)(19627405001)(74316002)(73972006)(5250100002)(99286004)(446003)(104016004)(82202002)(11346002)(476003)(26005)(54896002)(6506007)(110136005)(7696005)(86362001)(20460500001)(81156014)(9686003)(6346003)(6246003)(83332001)(106356001)(105586002)(39060400002)(14454004)(256004)(33656002)(76176011)(486006)(87572001)(25786009)(8676002)(6436002)(55016002)(5660300001)(97736004)(68736007)(8936002)(56003)(102836004)(15852004);DIR:OUT;SFP:1901;SCL:1;SRVR:BY2NAM01HT231;H:RO1P15201MB2426.LAMP152.PROD.OUTLOOK.COM;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: hotmail.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=johnescm@hotmail.com; x-microsoft-antispam-message-info: elA4Pw8RgY7Um8TQqVvGUBhMAq/6+xbO47hGa0F3wXIzQzGdg2DDjPWuVJMHukelyC1HEJP5ZrZITx2agSvbPnuKtc3By1TT0Vi77Hj7R9qS0rONnaNm2ie0jzSnXuc9L/qLFvA1VAtVHmecRIkt/6TcIG7Xr+J+EEa0V8fro1VJrpS/qaZJSYWkZx4aqDdP3AcsYYWs8qrW5Iv6q3nqYHwM2AgPtUCs3pSljZdKnvo= Content-Type: multipart/alternative; boundary="_000_RO1P15201MB242633BE2EA7493007BBCFD1D41A0RO1P15201MB2426_" MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 54485d23-c432-40fe-8436-6091d627118c X-MS-Exchange-CrossTenant-Network-Message-Id: 1a43c1d5-b540-44e5-465c-08d619c1a2c2 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 54485d23-c432-40fe-8436-6091d627118c X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Sep 2018 21:41:16.9058 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2NAM01HT231 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_RO1P15201MB242633BE2EA7493007BBCFD1D41A0RO1P15201MB2426_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi netoprbr, Use a command explain analyse. Best Regards. Johnes Castro ________________________________ De: Neto pr Enviado: quinta-feira, 13 de setembro de 2018 19:38 Para: PostgreSQL General Assunto: Estimate time without running the query Dear all, Only a doubt. The Explain command only estimates the cost of execution of a query= , and does not estimate time for execution. I would like know if exists some way to estimate the time, without running= the query? Best Regards []`s Neto --_000_RO1P15201MB242633BE2EA7493007BBCFD1D41A0RO1P15201MB2426_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi netoprbr,

Use a command explain analyse.

Best Regards.
Johnes Castro

De: Neto pr <netoprbr9@g= mail.com>
Enviado: quinta-feira, 13 de setembro de 2018 19:38
Para: PostgreSQL General
Assunto: Estimate time without running the query
 
Dear all,
Only a doubt.
The Explain <query> command only estimates the cost of execution of a= query, and does not estimate time for execution.  
I would like know if exists  some way to estimate the time, witho= ut running the query?

Best Regards
[]`s Neto
--_000_RO1P15201MB242633BE2EA7493007BBCFD1D41A0RO1P15201MB2426_--