Skip to content

Commit 75e2370

Browse files
committed
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 */).
1 parent 2fd9273 commit 75e2370

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/include/optimizer/internal.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: internal.h,v 1.3 1997/03/02 01:34:50 momjian Exp $
9+
* $Id: internal.h,v 1.4 1997/04/09 02:24:19 vadim Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -27,9 +27,10 @@
2727
* System-dependent tuning constants
2828
*
2929
*/
30-
#define _CPU_PAGE_WEIGHT_ 0.065 /* CPU-to-page cost weighting factor */
31-
#define _MAX_KEYS_ INDEX_MAX_KEYS /* maximum number of keys in an index */
32-
#define _TID_SIZE_ 6 /* sizeof(itemid) (from ../h/itemid.h) */
30+
#define _CPU_PAGE_WEIGHT_ 0.065 /* CPU-heap-to-page cost weighting factor */
31+
#define _CPU_INDEX_PAGE_WEIGHT_ 0.033 /* CPU-index-to-page cost weighting factor */
32+
#define _MAX_KEYS_ INDEX_MAX_KEYS /* maximum number of keys in an index */
33+
#define _TID_SIZE_ 6 /* sizeof(itemid) (from ../h/itemid.h) */
3334

3435
/*
3536
* Size estimates

0 commit comments

Comments
 (0)