postgresql/src
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
..
backend Remove the limit on the number of entries allowed in catcaches, and 2006-06-15 02:08:09 +00:00
bin Clean up psql's control-C handling to avoid longjmp'ing out of random 2006-06-14 16:49:03 +00:00
include Remove the limit on the number of entries allowed in catcaches, and 2006-06-15 02:08:09 +00:00
interfaces Further thoughts about lo_export/lo_import error handling: if one of 2006-06-14 17:49:25 +00:00
makefiles Remove use of lorder and tsort while building static libraries. There's 2006-04-19 16:32:08 +00:00
pl Add BY clause to PL/PgSQL FOR loop, to control the iteration increment. 2006-06-12 16:45:30 +00:00
port Clean up psql's control-C handling to avoid longjmp'ing out of random 2006-06-14 16:49:03 +00:00
template Remove extra 'else' in solaris compiler code. 2006-04-28 04:32:10 +00:00
test Code review for magic-block patch. Remove separate header file pgmagic.h, 2006-05-30 21:21:30 +00:00
timezone Prepare code to be built by MSVC: 2006-06-07 22:24:46 +00:00
tools Update cvs command example to show diff -rBASE. 2006-05-31 10:24:29 +00:00
tutorial Remove extremely old, incomplete, broken example code. 2006-06-05 21:16:32 +00:00
utils Add CVS tag lines to files that were lacking them. 2006-03-11 04:38:42 +00:00
bcc32.mak
DEVELOPERS
Makefile
Makefile.global.in Remove use of lorder and tsort while building static libraries. There's 2006-04-19 16:32:08 +00:00
Makefile.shlib Arrange to strip libpq.so of symbols that aren't officially supposed to 2006-04-28 02:53:20 +00:00
nls-global.mk When merging PO files, take into consideration translations in other PO 2006-04-05 13:40:15 +00:00
win32.mak