Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XoGCj-0005tk-MW for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Nov 2014 18:30:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XoGCi-0007kM-KC for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Nov 2014 18:30:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XoDqV-0002Xx-4b for pgsql-bugs@postgresql.org; Tue, 11 Nov 2014 15:59:07 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XoDqR-0001EJ-Ec for pgsql-bugs@postgresql.org; Tue, 11 Nov 2014 15:59:05 +0000 MIME-Version: 1.0 Subject: BUG #11939: Missing "actual time" in auto_explain plans To: pgsql-bugs@postgresql.org From: robert.wysocki@essencedigital.com Date: Tue, 11 Nov 2014 15:58:41 +0000 Message-ID: <20141111155841.2529.49023@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.2 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 11939 Logged by: Robert Wysocki Email address: robert.wysocki@essencedigital.com PostgreSQL version: 9.3.5 Operating system: Debian GNU/Linux jessie/sid Description: Hello, After loading auto_explain and configuring it to log "explain analyze" there are no timings in logged plans. postgresql-9.3 9.3.5-1.pgdg70+1 postgresql-contrib-9.3 9.3.5-1.pgdg70+1 # select version(); version ────────────────────────────────────────────────────────────────────────────────────────────── PostgreSQL 9.3.5 on x86_64-unknown-linux-gnu, compiled by gcc (Debian 4.7.2-5) 4.7.2, 64-bit (1 row) console: # load 'auto_explain'; LOAD # set auto_explain.log_min_duration = 0; SET # set auto_explain.log_analyze = on; SET # set auto_explain.log_timing = on; SET # SELECT count(*) FROM pg_class, pg_index WHERE oid = indrelid AND indisunique; count ─────── 103 (1 row) log file: LOG: duration: 0.139 ms plan: Query Text: SELECT count(*) FROM pg_class, pg_index WHERE oid = indrelid AND indisunique; Aggregate (cost=19.78..19.79 rows=1 width=0) (actual rows=1 loops=1) -> Hash Join (cost=5.40..19.52 rows=102 width=0) (actual rows=103 loops=1) Hash Cond: (pg_class.oid = pg_index.indrelid) -> Seq Scan on pg_class (cost=0.00..10.92 rows=292 width=4) (actual rows=297 loops=1) -> Hash (cost=4.12..4.12 rows=102 width=4) (actual rows=103 loops=1) Buckets: 1024 Batches: 1 Memory Usage: 4kB -> Seq Scan on pg_index (cost=0.00..4.12 rows=102 width=4) (actual rows=103 loops=1) Filter: indisunique Rows Removed by Filter: 11 Cheers, Robert -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs