1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-08 06:02:22 +03:00

#define _CPU_PAGE_WEIGHT_: 0.065 --> 0.033

#define _CPU_INDEX_PAGE_WEIGHT_: 0.033 --> 0.017
This commit is contained in:
Vadim B. Mikheev
1997-04-24 15:38:34 +00:00
parent 66d8e423b9
commit 0a08f2b22d

View File

@@ -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.4 1997/04/09 02:24:19 vadim Exp $ * $Id: internal.h,v 1.5 1997/04/24 15:38:34 vadim Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@@ -27,8 +27,8 @@
* System-dependent tuning constants * System-dependent tuning constants
* *
*/ */
#define _CPU_PAGE_WEIGHT_ 0.065 /* CPU-heap-to-page cost weighting factor */ #define _CPU_PAGE_WEIGHT_ 0.033 /* CPU-heap-to-page cost weighting factor */
#define _CPU_INDEX_PAGE_WEIGHT_ 0.033 /* CPU-index-to-page cost weighting factor */ #define _CPU_INDEX_PAGE_WEIGHT_ 0.017 /* CPU-index-to-page cost weighting factor */
#define _MAX_KEYS_ INDEX_MAX_KEYS /* maximum number of keys in an index */ #define _MAX_KEYS_ INDEX_MAX_KEYS /* maximum number of keys in an index */
#define _TID_SIZE_ 6 /* sizeof(itemid) (from ../h/itemid.h) */ #define _TID_SIZE_ 6 /* sizeof(itemid) (from ../h/itemid.h) */