mirror of https://github.com/postgres/postgres.git
Now we have #define _CPU_INDEX_PAGE_WEIGHT_ 0.033 (/* CPU-index-to-page cost
weighting factor */) in addition to #define _CPU_PAGE_WEIGHT_ 0.065 (/* CPU-heap-to-page cost weighting factor */).pull/50/head
parent
2fd9273d97
commit
75e2370cc8
|
|
@ -6,7 +6,7 @@
|
||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: internal.h,v 1.3 1997/03/02 01:34:50 momjian Exp $
|
* $Id: internal.h,v 1.4 1997/04/09 02:24:19 vadim Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
@ -27,9 +27,10 @@
|
||||||
* System-dependent tuning constants
|
* System-dependent tuning constants
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#define _CPU_PAGE_WEIGHT_ 0.065 /* CPU-to-page cost weighting factor */
|
#define _CPU_PAGE_WEIGHT_ 0.065 /* CPU-heap-to-page cost weighting factor */
|
||||||
#define _MAX_KEYS_ INDEX_MAX_KEYS /* maximum number of keys in an index */
|
#define _CPU_INDEX_PAGE_WEIGHT_ 0.033 /* CPU-index-to-page cost weighting factor */
|
||||||
#define _TID_SIZE_ 6 /* sizeof(itemid) (from ../h/itemid.h) */
|
#define _MAX_KEYS_ INDEX_MAX_KEYS /* maximum number of keys in an index */
|
||||||
|
#define _TID_SIZE_ 6 /* sizeof(itemid) (from ../h/itemid.h) */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Size estimates
|
* Size estimates
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue