diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-06-09 19:30:56 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-06-09 19:30:56 +0000 |
commit | 5de0cbdf0cfbd78b4b4d91f9e8c68e3e75f59f99 (patch) | |
tree | 0aac2253845c0d93a996dc65b93fd3875ecb9280 /src/include/executor | |
parent | 914314493573e5adffcd79ed84c8c2f2c358504f (diff) | |
download | postgresql-5de0cbdf0cfbd78b4b4d91f9e8c68e3e75f59f99.tar.gz postgresql-5de0cbdf0cfbd78b4b4d91f9e8c68e3e75f59f99.zip |
Revert sampling patch for EXPLAIN ANALYZE; it turns out to be too unreliable
because node timing is much less predictable than the patch expects. I kept
the API change for InstrStopNode, however.
Diffstat (limited to 'src/include/executor')
-rw-r--r-- | src/include/executor/instrument.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/include/executor/instrument.h b/src/include/executor/instrument.h index fd57f865788..8afe2a5f731 100644 --- a/src/include/executor/instrument.h +++ b/src/include/executor/instrument.h @@ -6,7 +6,7 @@ * * Copyright (c) 2001-2006, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/include/executor/instrument.h,v 1.15 2006/05/30 19:24:25 tgl Exp $ + * $PostgreSQL: pgsql/src/include/executor/instrument.h,v 1.16 2006/06/09 19:30:56 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -57,14 +57,10 @@ typedef struct Instrumentation { /* Info about current plan cycle: */ bool running; /* TRUE if we've completed first tuple */ - bool sampling; /* Are we sampling in current iteration? */ instr_time starttime; /* Start time of current iteration of node */ instr_time counter; /* Accumulated runtime for this node */ double firsttuple; /* Time for first tuple of this cycle */ double tuplecount; /* Tuples emitted so far this cycle */ - double itercount; /* Plan node iterations this cycle */ - double samplecount; /* Iterations in which we sampled runtime */ - double nextsample; /* Next itercount to sample at */ /* Accumulated statistics across all completed cycles: */ double startup; /* Total startup time (in seconds) */ double total; /* Total total time (in seconds) */ |