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
57a84ca4
Commit
57a84ca4
authored
Jan 22, 2006
by
Neil Conway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor improvements to GEQO documentation.
parent
b42f3073
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
21 deletions
+17
-21
doc/src/sgml/geqo.sgml
doc/src/sgml/geqo.sgml
+17
-21
No files found.
doc/src/sgml/geqo.sgml
View file @
57a84ca4
<!--
$PostgreSQL: pgsql/doc/src/sgml/geqo.sgml,v 1.3
4 2005/11/07 17:36:44 tgl
Exp $
$PostgreSQL: pgsql/doc/src/sgml/geqo.sgml,v 1.3
5 2006/01/22 03:56:58 neilc
Exp $
Genetic Optimizer
-->
...
...
@@ -46,8 +46,8 @@ Genetic Optimizer
<para>
Among all relational operators the most difficult one to process
and optimize is the <firstterm>join</firstterm>. The number of
alternative plans to answer a query
grows exponentially with the
number of joins in
cluded in it
. Further optimization effort is
possible query plans
grows exponentially with the
number of joins in
the query
. Further optimization effort is
caused by the support of a variety of <firstterm>join
methods</firstterm> (e.g., nested loop, hash join, merge join in
<productname>PostgreSQL</productname>) to process individual joins
...
...
@@ -57,34 +57,30 @@ Genetic Optimizer
</para>
<para>
The current <productname>PostgreSQL</productname> optimizer
implementation performs a <firstterm>near-exhaustive
search</firstterm> over the space of alternative strategies. This
algorithm, first introduced in the <quote>System R</quote>
database, produces a near-optimal join order, but can take an
enormous amount of time and memory space when the number of joins
in the query grows large. This makes the ordinary
The normal <productname>PostgreSQL</productname> query optimizer
performs a <firstterm>near-exhaustive search</firstterm> over the
space of alternative strategies. This algorithm, first introduced
in IBM's System R database, produces a near-optimal join order,
but can take an enormous amount of time and memory space when the
number of joins in the query grows large. This makes the ordinary
<productname>PostgreSQL</productname> query optimizer
inappropriate for queries that join a large number of tables.
</para>
<para>
The Institute of Automatic Control at the University of Mining and
Technology, in Freiberg, Germany, encountered the described problems as its
folks wanted to take the <productname>PostgreSQL</productname> DBMS as the backend for a decision
support knowledge based system for the maintenance of an electrical
power grid. The DBMS needed to handle large join queries for the
inference machine of the knowledge based system.
</para>
<para>
Performance difficulties in exploring the space of possible query
plans created the demand for a new optimization technique to be developed.
Technology, in Freiberg, Germany, encountered some problems when
it wanted to use <productname>PostgreSQL</productname> as the
backend for a decision support knowledge based system for the
maintenance of an electrical power grid. The DBMS needed to handle
large join queries for the inference machine of the knowledge
based system. The number of joins in these queries made using the
normal query optimizer infeasible.
</para>
<para>
In the following we describe the implementation of a
<firstterm>
Genetic A
lgorithm</firstterm> to solve the join
<firstterm>
genetic a
lgorithm</firstterm> to solve the join
ordering problem in a manner that is efficient for queries
involving large numbers of joins.
</para>
...
...
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