提交 c5d56fe0 编写于 作者: D Daniel Gustafsson

Fix various typos in the documentation

[ci skip]
上级 82a19977
......@@ -104,7 +104,7 @@ For PDF, the connectivity tools ditamap requires the pdf-note transform -->
height="306px"/></li>
<li id="ok156261">For the driver, <b>PostgreSQL Unicode</b> is the recommended choice.
Unicode (UTF-8) is the default database encoding for Greenplum Database. There is also a
<b>PostgeSQL ANSI</b> driver which can handle some multi-byte character sets and LATIN
<b>PostgreSQL ANSI</b> driver which can handle some multi-byte character sets and LATIN
character sets.<image href="images/win_0005.png" placement="break" width="414px"
height="282px"/></li>
<li id="ok157005">Fill in the connection information for your database (on the Greenplum
......
......@@ -139,14 +139,14 @@ sequences will encounter errors when loading into Greenplum Database. </p><note
contents of tables in the database, and stores the results in the system table
<codeph>pg_statistic</codeph>. The query planner uses these statistics to help determine
the most efficient execution plans for queries. For example, to collect statistics on a
newly loaded table, run the following on the Greenplum master host:</p><codeblock>psql <varname>dbname</varname> -c 'ANALYZE <varname>mytable</varname>;'</codeblock></body></topic><topic id="topic15" xml:lang="en"><title id="nx150406">Vacumming the Database After Load Errors</title><body><p>The Greenplum loader will stop a load operation if it encounters an
newly loaded table, run the following on the Greenplum master host:</p><codeblock>psql <varname>dbname</varname> -c 'ANALYZE <varname>mytable</varname>;'</codeblock></body></topic><topic id="topic15" xml:lang="en"><title id="nx150406">Vacuuming the Database After Load Errors</title><body><p>The Greenplum loader will stop a load operation if it encounters an
error. When this happens, the target table may already have received
earlier rows in the load operation. Although these rows will not be visible
or accessible, they still occupy disk space. This may amount to a considerable
amount of wasted disk space if the failure happened well into a large
load operation. You may wish to invoke the <codeph>VACUUM</codeph> command
to recover the wasted space. For example, run the following command on
the master host after a load error:</p><codeblock>vacummdb <varname>dbname</varname> [<varname>table_name</varname>]</codeblock><p><codeph>VACUUM</codeph> reclaims storage occupied by deleted tuples. In
the master host after a load error:</p><codeblock>vacuumdb <varname>dbname</varname> [<varname>table_name</varname>]</codeblock><p><codeph>VACUUM</codeph> reclaims storage occupied by deleted tuples. In
normal operation, tuples that are deleted or obsoleted by an update are
not physically removed from their table; they remain present until a
<codeph>VACUUM</codeph> is done. Therefore it's recommended to do <codeph>VACUUM</codeph>
......
......@@ -375,7 +375,7 @@ python setup.py build &amp;&amp; python setup.py install</codeblock></li>
commands download tar files into the directory
<codeph>packages</codeph>:<codeblock>wget --directory-prefix=packages http://github.com/xianyi/OpenBLAS/tarball/v0.2.8
wget --directory-prefix=packages http://sourceforge.net/projects/numpy/files/NumPy/1.8.0/numpy-1.8.0.tar.gz/download</codeblock></p>
<p>Distribute the software to the Geeenplum Database hosts. For example, if you download the
<p>Distribute the software to the Greenplum Database hosts. For example, if you download the
software to <codeph>/home/gpadmin/packages</codeph> these commands create the directory on
the hosts and copies the software to hosts for the hosts listed in the
<codeph>gpdb_remotes</codeph>
......
......@@ -1164,7 +1164,7 @@ PERCENTILE_CONT (0.5) WITHIN GROUP (ORDER BY salary DESC)
"Median_cont";
FROM employees GROUP BY department_id;</codeblock>
</entry>
<entry colname="col4">Performs an inverse distirbution function that assumes a
<entry colname="col4">Performs an inverse distribution function that assumes a
continuous distribution model. It takes a percentile value and a sort specification
and returns the same datatype as the numeric datatype of the argument. This returned
value is a computed result after performing linear interpolation. Null are ignored
......@@ -1187,7 +1187,7 @@ PERCENTILE_DISC (0.5) WITHIN GROUP (ORDER BY salary DESC)
"Median_desc";
FROM employees GROUP BY department_id;</codeblock>
</entry>
<entry colname="col4">Performs an inverse distirbution function that assumes a
<entry colname="col4">Performs an inverse distribution function that assumes a
discrete distribution model. It takes a percentile value and a sort specification.
This returned value is an element from the set. Null are ignored in this
calculation.</entry>
......
......@@ -513,7 +513,7 @@ percentile_cont (0.5) WITHIN GROUP (ORDER BY salary DESC)
"Median_cont";
FROM employees GROUP BY department_id;</codeblock>
</entry>
<entry colname="col4">Performs an inverse distirbution function that assumes a
<entry colname="col4">Performs an inverse distribution function that assumes a
continuous distribution model. It takes a percentile value and a sort specification
and returns the same datatype as the numeric datatype of the argument. This returned
value is a computed result after performing linear interpolation. Null are ignored
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册