diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-01-22 23:50:30 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-01-22 23:50:30 +0000 |
commit | 71ed7eb4941ddb32700a51a8b8b3403eceeca4a9 (patch) | |
tree | e2452e2e308d6066c2c7e255eab5332cfcb4baa8 /src/include/optimizer/internal.h | |
parent | 78845177bb8839a2a582b92de2b46ce7d3f16df4 (diff) | |
download | postgresql-71ed7eb4941ddb32700a51a8b8b3403eceeca4a9.tar.gz postgresql-71ed7eb4941ddb32700a51a8b8b3403eceeca4a9.zip |
Revise handling of index-type-specific indexscan cost estimation, per
pghackers discussion of 5-Jan-2000. The amopselect and amopnpages
estimators are gone, and in their place is a per-AM amcostestimate
procedure (linked to from pg_am, not pg_amop).
Diffstat (limited to 'src/include/optimizer/internal.h')
-rw-r--r-- | src/include/optimizer/internal.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/include/optimizer/internal.h b/src/include/optimizer/internal.h index 14051ca81ae..e89b244a397 100644 --- a/src/include/optimizer/internal.h +++ b/src/include/optimizer/internal.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: internal.h,v 1.24 2000/01/11 03:59:31 tgl Exp $ + * $Id: internal.h,v 1.25 2000/01/22 23:50:27 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -26,14 +26,6 @@ /* - * System-dependent tuning constants - * - */ -#define _CPU_PAGE_WEIGHT_ 0.033 /* CPU-heap-to-page cost weighting factor */ -#define _CPU_INDEX_PAGE_WEIGHT_ 0.017 /* CPU-index-to-page cost - * weighting factor */ - -/* * Size estimates * */ @@ -60,7 +52,4 @@ /* used to be -1 */ #define _NONAME_RELATION_ID_ InvalidOid -/* GEQO switch according to number of relations in a query */ -#define GEQO_RELS 11 - #endif /* INTERNAL_H */ |