Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
23513b47
Commit
23513b47
authored
Feb 19, 1997
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add and install the pg_geqo.sample file
parent
7507e6b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
2 deletions
+68
-2
src/backend/Makefile
src/backend/Makefile
+4
-2
src/backend/optimizer/geqo/pg_geqo.sample
src/backend/optimizer/geqo/pg_geqo.sample
+64
-0
No files found.
src/backend/Makefile
View file @
23513b47
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
#
#
#
#
# IDENTIFICATION
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.1
8 1997/01/05 21:17:21 bryanh
Exp $
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.1
9 1997/02/19 13:09:29 scrappy
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -181,7 +181,7 @@ endif
...
@@ -181,7 +181,7 @@ endif
install
:
$(LIBDIR) $(BINDIR) $(HEADERDIR) postgres $(EXP) fmgr.h
\
install
:
$(LIBDIR) $(BINDIR) $(HEADERDIR) postgres $(EXP) fmgr.h
\
global1.bki.source local1_template1.bki.source
\
global1.bki.source local1_template1.bki.source
\
libpq/pg_hba.conf.sample
libpq/pg_hba.conf.sample
optimizer/geqo/pg_geqo.sample
$(INSTALL)
$(INSTL_EXE_OPTS)
postgres
$(BINDIR)
/postgres
$(INSTALL)
$(INSTL_EXE_OPTS)
postgres
$(BINDIR)
/postgres
ifeq
($(MAKE_EXPORTS), true)
ifeq
($(MAKE_EXPORTS), true)
...
@@ -196,6 +196,8 @@ endif
...
@@ -196,6 +196,8 @@ endif
$(LIBDIR)
/local1_template1.bki.source
$(LIBDIR)
/local1_template1.bki.source
$(INSTALL)
$(INSTLOPTS)
libpq/pg_hba.conf.sample
\
$(INSTALL)
$(INSTLOPTS)
libpq/pg_hba.conf.sample
\
$(LIBDIR)
/pg_hba.conf.sample
$(LIBDIR)
/pg_hba.conf.sample
$(INSTALL)
$(INSTLOPTS)
optimizer/geqo/pg_geqo.sample
\
$(LIBDIR)
/pg_geqo.sample
$(BINDIR) $(LIBDIR) $(HEADERDIR)
:
$(BINDIR) $(LIBDIR) $(HEADERDIR)
:
mkdir
$@
mkdir
$@
...
...
src/backend/optimizer/geqo/pg_geqo.sample
0 → 100644
View file @
23513b47
#*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
# pg_geqo *
# ------- =
# *
# Example Genetic Algorithm config file =
# for the PostgreSQL *
# Genetic Query Optimization (GEQO) module =
# *
#*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
# Martin Utesch * Institute of Automatic Control *
# = University of Mining and Technology =
# utesch@aut.tu-freiberg.de * Freiberg, Germany *
#*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
# this file should be '$PGDATA/pg_geqo', but it doesn't have
# to exist
# comment character is '#'
#
# separator between recognized tag and possible value
# must be white space
# qs: means query size, which is the number of relations
# contained in a query
#=================+===================+=============================+
# RECOGNIZED TAGS | POSSIBLE VALUES | DEFAULTS |
#=================+===================+=============================+
# 'Pool_Size' | positive int | 2^(qs+1) |
#-----------------+-------------------+-----------------------------+
# 'Effort' | [low,medium,high] | medium |
#-----------------+-------------------+-----------------------------+
# 'Generations' | positive int | 'Effort' * log2('Pool_Size')|
#-----------------+-------------------+-----------------------------+
# 'Selection_Bias'| [1.50; 2.00] | 2.0 |
#-----------------+-------------------+-----------------------------+
# 'Random_Seed' | positive long | time(NULL) |
#=================+===================+=============================+
# 'Pool_Size' is essential for the genetic algorithm performance.
# It gives us the number of individuals within one population.
#
# 'Effort' 'low' means integer value of 1, 'medium' 40, and 'high' 80.
#
# 'Generations' gives us the stopping criterion for the number
# of iterations within the genetic algorithm.
#
# 'Selection_Bias' gives us the selective pressure within the
# population.
#
# 'Random_Seed' is the random seed for the random() function.
# You don't have to set it.
# All parameters will be computed within the GEQO module when they
# are not set in the pg_geqo file.
# Example pg_geqo settings:
#
#Pool_Size 128
#Effort low
#Generations 200
#Random_Seed 830518260
#Selection_Bias 1.750000
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment