Skip to content

Commit 9abdba5

Browse files
author
Vitaly Davydov
committed
Fix found problems in the doc after review
1 parent a956a08 commit 9abdba5

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

Diff for: README.pg_sphere

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ It provides:
99
* Object rotation by Euler angles
1010
* Indexing of spherical data types
1111

12-
This is an R-Tree implementation using GiST for spherical objects like
12+
This is an R-tree implementation using GiST for spherical objects like
1313
spherical points and spherical circles with useful functions and operators.
14-
It also support the Block Range INdexing (BRIN) for large datasets.
14+
It also supports the Block Range INdexing (BRIN) for large datasets.
1515

1616
NOTICE:
1717
This version will work only with PostgreSQL version 10 and above.

Diff for: doc/indices.sgm

+8-7
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
<application>pgSphere</application> uses <literal>GiST</literal>
1111
and Block Range INdexing (<literal>BRIN</literal>) algorithms to create
1212
spherical indices.
13-
<literal>GiST</literal> index represents the R-Tree implementation for
13+
<literal>GiST</literal> indexes utilize an R-tree implementation for
1414
spherical objects, while <literal>BRINs</literal> are based on "summarization"
1515
of data blocks (<literal>pages</literal>) on physical storage in order to
1616
organize data searches on ranges of summarized data that can be easily skipped
1717
on the base of search filters (see <ulink
18-
url="https://www.postgresql.org/docs/9.5/static/brin-intro.html"><citetitle>
18+
url="https://www.postgresql.org/docs/current/brin-intro.html"><citetitle>
1919
PostgreSQL documentation</citetitle></ulink> for further details on BRINs).
2020
As a consequence, BRINs result to be really small indexes (up to 1000 times
2121
than GiST ones), generally with lower a performance compared with a GiST one,
@@ -90,11 +90,12 @@
9090
<![CDATA[CREATE INDEX test_pos_idx USING BRIN ON test (pos);]]>
9191
</programlisting>
9292
<para>
93-
By default, BRINs summarize block of 128 pages. The lower numbers
94-
of pages are specified, the higher granularity is reached during
95-
the searches, and performance's gap between GiST indexes and BRINs
96-
is lower (consider that BRINs size increases as well). Different
97-
summarizations can be used with the following command:
93+
By default, BRINs summarize blocks of 128 pages. The smaller the
94+
number of pages specified, the higher the granularity in searches,
95+
and the gap in performance between GiST indexes and BRINs will be
96+
decreased. Note that the size of the BRINs increases as well.
97+
Different summarizations can be specified with the following
98+
command:
9899
</para>
99100
<programlisting>
100101
<![CDATA[CREATE INDEX test_pos_idx USING BRIN ON test (pos) WITH (pages_per_range = 16);]]>

0 commit comments

Comments
 (0)