1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Increase default value of effective_cache_size to 128MB, per discussion.

This commit is contained in:
Tom Lane
2006-09-25 22:12:24 +00:00
parent ffae5cc5a6
commit 0f8fc35a5a
3 changed files with 8 additions and 8 deletions

View File

@ -195,7 +195,7 @@
#cpu_tuple_cost = 0.01 # same scale as above
#cpu_index_tuple_cost = 0.005 # same scale as above
#cpu_operator_cost = 0.0025 # same scale as above
#effective_cache_size = 8000kB
#effective_cache_size = 128MB
# - Genetic Query Optimizer -

View File

@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/optimizer/cost.h,v 1.80 2006/09/19 22:49:53 tgl Exp $
* $PostgreSQL: pgsql/src/include/optimizer/cost.h,v 1.81 2006/09/25 22:12:24 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -27,7 +27,7 @@
#define DEFAULT_CPU_INDEX_TUPLE_COST 0.005
#define DEFAULT_CPU_OPERATOR_COST 0.0025
#define DEFAULT_EFFECTIVE_CACHE_SIZE 1000 /* measured in pages */
#define DEFAULT_EFFECTIVE_CACHE_SIZE 16384 /* measured in pages */
/*