postgresql/src/include
Tom Lane 8b9bc234ad Remove the limit on the number of entries allowed in catcaches, and
remove the infrastructure needed to enforce the limit, ie, the global
LRU list of cache entries.  On small-to-middling databases this wins
because maintaining the LRU list is a waste of time.  On large databases
this wins because it's better to keep more cache entries (we assume
such users can afford to use some more per-backend memory than was
contemplated in the Berkeley-era catcache design).  This provides a
noticeable improvement in the speed of psql \d on a 10000-table
database, though it doesn't make it instantaneous.

While at it, use per-catcache settings for the number of hash buckets
per catcache, rather than the former one-size-fits-all value.  It's a
bit silly to be using the same number of hash buckets for, eg, pg_am
and pg_attribute.  The specific values I used might need some tuning,
but they seem to be in the right ballpark based on CATCACHE_STATS
results from the standard regression tests.
2006-06-15 02:08:09 +00:00
..
access Som improve page split in multicolumn GiST index. 2006-05-29 12:50:06 +00:00
bootstrap Make all our flex and bison files use %option prefix or %name-prefix 2006-03-07 01:03:12 +00:00
catalog Make the planner estimate costs for nestloop inner indexscans on the basis 2006-06-06 17:59:58 +00:00
commands Back out RESET CONNECTION until there is more discussion. 2006-04-25 14:11:59 +00:00
executor Revert sampling patch for EXPLAIN ANALYZE; it turns out to be too unreliable 2006-06-09 19:30:56 +00:00
lib Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
libpq Prepare code to be built by MSVC: 2006-06-07 22:24:46 +00:00
mb Change the backend to reject strings containing invalidly-encoded multibyte 2006-05-21 20:05:21 +00:00
nodes Make the planner estimate costs for nestloop inner indexscans on the basis 2006-06-06 17:59:58 +00:00
optimizer Make the planner estimate costs for nestloop inner indexscans on the basis 2006-06-06 17:59:58 +00:00
parser Re-introduce the yylex filter function formerly used to support UNION 2006-05-27 17:38:46 +00:00
port Prepare code to be built by MSVC: 2006-06-07 22:24:46 +00:00
postmaster Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
regex Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
rewrite Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
storage Prepare code to be built by MSVC: 2006-06-07 22:24:46 +00:00
tcop Improve parser so that we can show an error cursor position for errors 2006-03-14 22:48:25 +00:00
utils Remove the limit on the number of entries allowed in catcaches, and 2006-06-15 02:08:09 +00:00
Makefile Allow installation into directories containing spaces in the name. 2005-12-09 21:19:36 +00:00
c.h Prepare code to be built by MSVC: 2006-06-07 22:24:46 +00:00
fmgr.h Make PG_MODULE_MAGIC required in shared libraries that are loaded into 2006-05-31 20:58:09 +00:00
funcapi.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
getaddrinfo.h Prepare code to be built by MSVC: 2006-06-07 22:24:46 +00:00
getopt_long.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
miscadmin.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
pg_config.h.in Avoid duplicate definition of LOCALEDIR in pg_config.h, already defined 2006-05-23 19:28:45 +00:00
pg_config.h.win32 Prepare code to be built by MSVC: 2006-06-07 22:24:46 +00:00
pg_config_manual.h Make the planner estimate costs for nestloop inner indexscans on the basis 2006-06-06 17:59:58 +00:00
pgstat.h Patch reverted because of random buildfarm failures: 2006-05-30 02:35:39 +00:00
pgtime.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
port.h Prepare code to be built by MSVC: 2006-06-07 22:24:46 +00:00
postgres.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
postgres_ext.h Pgindent run for 8.0. 2004-08-29 05:07:03 +00:00
postgres_fe.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
rusagestub.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
strdup.h Fix an obsolete file path mentioned in a comment. 2004-01-25 22:19:42 +00:00