Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit23513b4

Browse files
committed
Add and install the pg_geqo.sample file
1 parent7507e6b commit23513b4

File tree

2 files changed

+68
-2
lines changed

2 files changed

+68
-2
lines changed

‎src/backend/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#
3535
#
3636
# IDENTIFICATION
37-
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.18 1997/01/05 21:17:21 bryanh Exp $
37+
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.19 1997/02/19 13:09:29 scrappy Exp $
3838
#
3939
#-------------------------------------------------------------------------
4040

@@ -181,7 +181,7 @@ endif
181181

182182
install:$(LIBDIR)$(BINDIR)$(HEADERDIR) postgres$(EXP) fmgr.h\
183183
global1.bki.source local1_template1.bki.source \
184-
libpq/pg_hba.conf.sample
184+
libpq/pg_hba.conf.sampleoptimizer/geqo/pg_geqo.sample
185185

186186
$(INSTALL) $(INSTL_EXE_OPTS) postgres $(BINDIR)/postgres
187187
ifeq ($(MAKE_EXPORTS), true)
@@ -196,6 +196,8 @@ endif
196196
$(LIBDIR)/local1_template1.bki.source
197197
$(INSTALL) $(INSTLOPTS) libpq/pg_hba.conf.sample \
198198
$(LIBDIR)/pg_hba.conf.sample
199+
$(INSTALL) $(INSTLOPTS) optimizer/geqo/pg_geqo.sample \
200+
$(LIBDIR)/pg_geqo.sample
199201

200202
$(BINDIR)$(LIBDIR)$(HEADERDIR):
201203
mkdir$@
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
#*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
2+
# pg_geqo *
3+
# ------- =
4+
# *
5+
# Example Genetic Algorithm config file =
6+
# for the PostgreSQL *
7+
# Genetic Query Optimization (GEQO) module =
8+
# *
9+
#*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
10+
# Martin Utesch * Institute of Automatic Control *
11+
# = University of Mining and Technology =
12+
# utesch@aut.tu-freiberg.de * Freiberg, Germany *
13+
#*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
14+
15+
# this file should be '$PGDATA/pg_geqo', but it doesn't have
16+
# to exist
17+
18+
# comment character is '#'
19+
#
20+
# separator between recognized tag and possible value
21+
# must be white space
22+
23+
# qs: means query size, which is the number of relations
24+
# contained in a query
25+
26+
#=================+===================+=============================+
27+
# RECOGNIZED TAGS | POSSIBLE VALUES | DEFAULTS |
28+
#=================+===================+=============================+
29+
# 'Pool_Size' | positive int | 2^(qs+1) |
30+
#-----------------+-------------------+-----------------------------+
31+
# 'Effort' | [low,medium,high] | medium |
32+
#-----------------+-------------------+-----------------------------+
33+
# 'Generations' | positive int | 'Effort' * log2('Pool_Size')|
34+
#-----------------+-------------------+-----------------------------+
35+
# 'Selection_Bias'| [1.50; 2.00] | 2.0 |
36+
#-----------------+-------------------+-----------------------------+
37+
# 'Random_Seed' | positive long | time(NULL) |
38+
#=================+===================+=============================+
39+
40+
# 'Pool_Size' is essential for the genetic algorithm performance.
41+
# It gives us the number of individuals within one population.
42+
#
43+
# 'Effort' 'low' means integer value of 1, 'medium' 40, and 'high' 80.
44+
#
45+
# 'Generations' gives us the stopping criterion for the number
46+
# of iterations within the genetic algorithm.
47+
#
48+
# 'Selection_Bias' gives us the selective pressure within the
49+
# population.
50+
#
51+
# 'Random_Seed' is the random seed for the random() function.
52+
# You don't have to set it.
53+
54+
# All parameters will be computed within the GEQO module when they
55+
# are not set in the pg_geqo file.
56+
57+
58+
# Example pg_geqo settings:
59+
#
60+
#Pool_Size 128
61+
#Effort low
62+
#Generations 200
63+
#Random_Seed 830518260
64+
#Selection_Bias 1.750000

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp