From 71ed7eb4941ddb32700a51a8b8b3403eceeca4a9 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 22 Jan 2000 23:50:30 +0000 Subject: 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). --- src/include/optimizer/internal.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/include/optimizer/internal.h') diff --git a/src/include/optimizer/internal.h b/src/include/optimizer/internal.h index 14051ca81a..e89b244a39 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 $ * *------------------------------------------------------------------------- */ @@ -25,14 +25,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 */ -- cgit v1.2.1