git.postgresql.org Git - postgresql.git/commit
Mon, 3 Feb 2003 15:07:08 +0000 (15:07 +0000)
Mon, 3 Feb 2003 15:07:08 +0000 (15:07 +0000)
commit 4cff59d8d540c441fb0c22dfaa517bc25aa5f794
Tweak planner and executor to avoid doing ExecProject() in table scan
nodes where it's not really necessary. In many cases where the scan node
is not the topmost plan node (eg, joins, aggregation), it's possible to
just return the table tuple directly instead of generating an intermediate
projection tuple. In preliminary testing, this reduced the CPU time
needed for 'SELECT COUNT(*) FROM foo' by about 10%.
12 files changed:
This is the main PostgreSQL git repository.
RSS
Atom