提交 52d665dd 编写于 作者: L Lisa Owen 提交者: David Yozie

docs - reorganize/reorder the reference guide topics (#8269)

* docs - reorganize/reorder the reference guide topics

* remove Greenplum qualifier, edits requested by david

* remove Reference from sql commands, sys catalogs topic titles
上级 fa64cc90
......@@ -2,7 +2,7 @@
<!DOCTYPE dita PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<dita>
<topic id="topic1" xml:lang="en">
<title id="if135496">Greenplum Database Data Types</title>
<title id="if135496">Data Types</title>
<body>
<p>Greenplum Database has a rich set of native data types available to users. Users may also
define new data types using the <codeph>CREATE TYPE</codeph> command. This reference shows
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic
PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" id="topic1" xml:lang="en"
ditaarch:DITAArchVersion="1.1" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d)
(topic ut-d) (topic indexing-d)" class="- topic/topic ">
<title id="id135496" class="- topic/title ">Greenplum Environment Variables</title>
<body class="- topic/body ">
<p>This reference lists and describes the environment variables to set for Greenplum
Database. Set these in your user's startup shell profile (such as <codeph class="+
topic/ph pr-d/codeph ">~/.bashrc</codeph> or <codeph class="+ topic/ph pr-d/codeph "
>~/.bash_profile</codeph>), or in <codeph class="+ topic/ph pr-d/codeph "
>/etc/profile</codeph> if you want to set them for all users.</p>
<ul id="ul_ljp_gqc_bq">
<li><xref href="#topic2" format="dita"/></li>
<li><xref href="#topic7" format="dita"/></li>
</ul>
</body>
<topic id="topic2" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d) (topic
hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic indexing-d)"
class="- topic/topic ">
<title class="- topic/title ">Required Environment Variables</title>
<body class="- topic/body ">
<note type="note" class="- topic/note "><codeph class="+ topic/ph pr-d/codeph "
>GPHOME</codeph>, <codeph class="+ topic/ph pr-d/codeph ">PATH</codeph> and
<codeph class="+ topic/ph pr-d/codeph ">LD_LIBRARY_PATH</codeph> can be set by
sourcing the <codeph>greenplum_path.sh</codeph> file from your Greenplum Database
installation directory</note>
</body>
<topic id="topic3" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d) (topic
hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic
indexing-d)" class="- topic/topic ">
<title id="id138636" class="- topic/title ">GPHOME</title>
<body class="- topic/body ">
<p>This is the installed location of your Greenplum Database software. For
example:</p>
<codeblock>GPHOME=/usr/local/greenplum-db-<varname>&lt;version></varname>
export GPHOME</codeblock>
</body>
</topic>
<topic id="topic4" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d) (topic
hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic
indexing-d)" class="- topic/topic ">
<title id="id139357" class="- topic/title ">PATH</title>
<body class="- topic/body ">
<p>Your <codeph class="+ topic/ph pr-d/codeph ">PATH</codeph> environment variable
should point to the location of the Greenplum Database <codeph class="+ topic/ph
pr-d/codeph ">bin</codeph> directory. For example:</p>
<codeblock>PATH=$GPHOME/bin:$PATH
export PATH</codeblock>
</body>
</topic>
<topic id="topic5" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d) (topic
hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic
indexing-d)" class="- topic/topic ">
<title id="id138662" class="- topic/title ">LD_LIBRARY_PATH</title>
<body class="- topic/body ">
<p>The <codeph class="+ topic/ph pr-d/codeph ">LD_LIBRARY_PATH</codeph> environment
variable should point to the location of the Greenplum Database/PostgreSQL
library files. For example:</p>
<codeblock>LD_LIBRARY_PATH=$GPHOME/lib
export LD_LIBRARY_PATH</codeblock>
</body>
</topic>
<topic id="topic6" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d) (topic
hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic
indexing-d)" class="- topic/topic ">
<title id="id138677" class="- topic/title ">MASTER_DATA_DIRECTORY</title>
<body class="- topic/body ">
<p>This should point to the directory created by the gpinitsystem utility in the
master data directory location. For example:</p>
<codeblock>MASTER_DATA_DIRECTORY=/data/master/gpseg-1
export MASTER_DATA_DIRECTORY</codeblock>
</body>
</topic>
</topic>
<topic id="topic7" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d) (topic
hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic indexing-d)"
class="- topic/topic ">
<title class="- topic/title ">Optional Environment Variables</title>
<body class="- topic/body ">
<p>The following are standard PostgreSQL environment variables, which are also
recognized in Greenplum Database. You may want to add the connection-related
environment variables to your profile for convenience, so you do not have to type so
many options on the command line for client connections. Note that these environment
variables should be set on the Greenplum Database master host only.</p>
</body>
<topic id="topic8" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d) (topic
hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic
indexing-d)" class="- topic/topic ">
<title id="id139713" class="- topic/title ">PGAPPNAME</title>
<body class="- topic/body ">
<p>The name of the application that is usually set by an application when it
connects to the server. This name is displayed in the activity view and in log
entries. The <codeph class="+ topic/ph pr-d/codeph ">PGAPPNAME</codeph>
environmental variable behaves the same as the <codeph class="+ topic/ph
pr-d/codeph ">application_name</codeph> connection parameter. The default
value for <codeph class="+ topic/ph pr-d/codeph ">application_name</codeph> is
<codeph>psql</codeph>. The name cannot be longer than 63
characters. </p>
</body>
</topic>
<topic id="topic9" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d) (topic
hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic
indexing-d)" class="- topic/topic ">
<title id="id139717" class="- topic/title ">PGDATABASE</title>
<body class="- topic/body ">
<p>The name of the default database to use when connecting.</p>
</body>
</topic>
<topic id="topic10" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d)
(topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic
indexing-d)" class="- topic/topic ">
<title id="id138709" class="- topic/title ">PGHOST</title>
<body class="- topic/body ">
<p>The Greenplum Database master host name.</p>
</body>
</topic>
<topic id="topic11" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d)
(topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic
indexing-d)" class="- topic/topic ">
<title id="id138715" class="- topic/title ">PGHOSTADDR</title>
<body class="- topic/body ">
<p>The numeric IP address of the master host. This can be set instead of or in
addition to <codeph class="+ topic/ph pr-d/codeph ">PGHOST</codeph> to avoid DNS
lookup overhead.</p>
</body>
</topic>
<topic id="topic12" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d)
(topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic
indexing-d)" class="- topic/topic ">
<title id="id138718" class="- topic/title ">PGPASSWORD </title>
<body class="- topic/body ">
<p>The password used if the server demands password authentication. Use of this
environment variable is not recommended for security reasons (some operating
systems allow non-root users to see process environment variables via <codeph
class="+ topic/ph pr-d/codeph ">ps</codeph>). Instead consider using the
<codeph class="+ topic/ph pr-d/codeph ">~/.pgpass</codeph> file.</p>
</body>
</topic>
<topic id="topic13" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d)
(topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic
indexing-d)" class="- topic/topic ">
<title id="id138721" class="- topic/title ">PGPASSFILE </title>
<body class="- topic/body ">
<p>The name of the password file to use for lookups. If not set, it defaults to
<codeph class="+ topic/ph pr-d/codeph ">~/.pgpass</codeph>. See the topic
about <xref href="https://www.postgresql.org/docs/8.3/libpq-pgpass.html"
scope="external" format="html" class="- topic/xref ">The Password File</xref> in the PostgreSQL documentation for more
information.</p>
</body>
</topic>
<topic id="topic14" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d)
(topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic
indexing-d)" class="- topic/topic ">
<title id="id138725" class="- topic/title ">PGOPTIONS</title>
<body class="- topic/body ">
<p>Sets additional configuration parameters for the Greenplum Database master
server.</p>
</body>
</topic>
<topic id="topic15" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d)
(topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic
indexing-d)" class="- topic/topic ">
<title id="id138731" class="- topic/title ">PGPORT</title>
<body class="- topic/body ">
<p>The port number of the Greenplum Database server on the master host. The default
port is 5432.</p>
</body>
</topic>
<topic id="topic16" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d)
(topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic
indexing-d)" class="- topic/topic ">
<title id="id138741" class="- topic/title ">PGUSER</title>
<body class="- topic/body ">
<p>The Greenplum Database user name used to connect.</p>
</body>
</topic>
<topic id="topic17" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d)
(topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic
indexing-d)" class="- topic/topic ">
<title id="id138747" class="- topic/title ">PGDATESTYLE</title>
<body class="- topic/body ">
<p>Sets the default style of date/time representation for a session. (Equivalent to
<codeph class="+ topic/ph pr-d/codeph ">SET datestyle TO...</codeph>)</p>
</body>
</topic>
<topic id="topic18" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d)
(topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic
indexing-d)" class="- topic/topic ">
<title id="id138750" class="- topic/title ">PGTZ</title>
<body class="- topic/body ">
<p>Sets the default time zone for a session. (Equivalent to <codeph class="+
topic/ph pr-d/codeph ">SET timezone TO...</codeph>)</p>
</body>
</topic>
<topic id="topic19" xml:lang="en" ditaarch:DITAArchVersion="1.1" domains="(topic ui-d)
(topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d) (topic
indexing-d)" class="- topic/topic ">
<title id="id138753" class="- topic/title ">PGCLIENTENCODING</title>
<body class="- topic/body ">
<p>Sets the default client character set encoding for a session. (Equivalent to
<codeph class="+ topic/ph pr-d/codeph ">SET client_encoding
TO...</codeph>)</p>
</body>
</topic>
</topic>
</topic>
......@@ -2,7 +2,7 @@
<!DOCTYPE topic
PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic id="topic1">
<title>Background Worker Processes</title>
<title>Developing a Background Worker Process</title>
<body>
<p> Greenplum Database can be extended to run user-supplied code in separate processes. Such
processes are started, stopped, and monitored by <codeph>postgres</codeph>, which permits them to
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map title="Procedural Languages and Analytics Extensions">
<topicref href="intro.xml">
<topicref href="pl_container.xml" linking="none"/>
<topicref href="pl_java.xml" linking="none"/>
<topicref href="pl_perl.xml" linking="none"/>
<topicref href="pl_sql.xml" linking="none"/>
<topicref href="pl_python.xml" linking="none"/>
<topicref href="pl_r.xml" linking="none"/>
<topicref href="madlib.xml" linking="none"/>
<topicref href="postGIS.xml" linking="none" otherprops="pivotal"/>
</topicref>
</map>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="topic_khf_ltc_vbb">
<title>Procedural Languages and Analytics Extensions</title>
<body>
<p>This section describes the procedural languages and analytics extensions available
with Greenplum Database.</p>
<p otherprops="oss-only">Procedural languages are typically
packaged as extensions. You register a language in a database using the
<codeph><xref href="../sql_commands/CREATE_EXTENSION.xml#topic1">CREATE EXTENSION</xref></codeph>
command. You remove a language from a database with <codeph><xref href="../sql_commands/DROP_EXTENSION.xml#topic1">DROP EXTENSION</xref></codeph>.</p>
<p>The Greenplum Database distribution supports the following procedural
languages; refer to the linked language documentation for <ph otherprops="pivotal"> installation
and </ph> usage instructions:</p>
<ul>
<li><xref href="pl_container.xml">PL/Container</xref></li>
<li><xref href="pl_java.xml" format="dita">PL/Java</xref></li>
<li><xref href="pl_perl.xml" format="dita" >PL/Perl</xref></li>
<li><xref href="pl_sql.xml" format="dita">PL/pgSQL</xref></li>
<li><xref href="pl_python.xml" format="dita" >PL/Python</xref></li>
<li><xref href="pl_r.xml" format="dita">PL/R</xref></li>
</ul>
<p>You can use the following analytics extensions with Greenplum Database; refer
to the linked documentation for installation and usage instructions:</p>
<ul>
<li><xref href="madlib.xml" format="dita">MADlib</xref></li>
<li otherprops="pivotal"><xref href="postGIS.xml" format="dita">PostGIS</xref></li>
</ul>
</body>
</topic>
......@@ -2,7 +2,7 @@
<!DOCTYPE topic
PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic id="topic1" xml:lang="en">
<title id="pz212122">Greenplum MADlib Extension for Analytics</title>
<title id="pz212122">MADlib Extension for Analytics</title>
<body>
<p>This chapter includes the following information:</p>
<ul>
......
......@@ -2,7 +2,7 @@
<!DOCTYPE topic
PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic id="topic1" xml:lang="en">
<title id="pz212122">Greenplum PL/Container Language Extension</title>
<title id="pz212122">PL/Container Language</title>
<body>
<p>This section includes the following information about PL/Container 1.1 and later:</p>
<ul>
......
......@@ -2,7 +2,7 @@
<!DOCTYPE topic
PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic id="topic1" xml:lang="en">
<title id="pv161085">Greenplum PL/Java Language Extension</title>
<title id="pv161085">PL/Java Language</title>
<body>
<p>This section contains an overview of the Greenplum Database PL/Java language.</p>
<ul>
......
......@@ -2,7 +2,7 @@
<!DOCTYPE topic
PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic id="topic1" xml:lang="en">
<title id="px216155">Greenplum PL/Perl Language Extension</title>
<title id="px216155">PL/Perl Language</title>
<body>
<p>This chapter includes the following information:</p>
<ul>
......
......@@ -2,7 +2,7 @@
<!DOCTYPE topic
PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic id="topic1" xml:lang="en">
<title id="pw216155">Greenplum PL/Python Language Extension</title>
<title id="pw216155">PL/Python Language</title>
<body>
<p>This section contains an overview of the Greenplum Database PL/Python Language.</p>
<ul>
......
......@@ -2,7 +2,7 @@
<!DOCTYPE topic
PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic id="topic1" xml:lang="en">
<title id="py212122">Greenplum PL/R Language Extension</title>
<title id="py212122">PL/R Language</title>
<body>
<p>This chapter contains the following information:</p>
<ul>
......
......@@ -2,7 +2,7 @@
<!DOCTYPE topic
PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic id="topic1" xml:lang="en">
<title id="pt212122">Greenplum PL/pgSQL Procedural Language</title>
<title id="pt212122">PL/pgSQL Language</title>
<body>
<p>This section contains an overview of the Greenplum Database PL/pgSQL language.</p>
<ul>
......
......@@ -2,7 +2,7 @@
<!DOCTYPE topic
PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic id="topic1" xml:lang="en">
<title id="ij138244">Greenplum PostGIS Extension</title>
<title id="ij138244">PostGIS Geospatial Extension</title>
<body>
<p>This chapter contains the following information:</p>
<ul>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map title="Server Programmatic Interfaces">
<topicref href="srvapi_intro.xml">
<topicref href="gppc.xml" linking="none"/>
<topicref href="bgworker.xml" linking="none"/>
</topicref>
</map>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="topic_khf_ltc_vbb">
<title>Server Programmatic Interfaces</title>
<body>
<p>This section describes programmatic interfaces to the Greenplum Database server.</p>
<ul>
<li><xref href="gppc.xml">Greenplum Partner Connector API</xref></li>
<li><xref href="bgworker.xml" format="dita">Background Worker Processes</xref></li>
</ul>
</body>
</topic>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map title="Features, Reserved and Key Words, and Compliance">
<topicref href="misc.xml">
<topicref href="feature_summary.xml" id="feature_summary" linking="none"/>
<topicref href="sql-keywords.xml" id="sql_keywords" linking="none"/>
<topicref href="SQL2008_support.xml" linking="none"/>
</topicref>
</map>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="topic_khf_ltc_vbb">
<title>SQL Features, Reserved and Key Words, and Compliance</title>
<body>
<p>This section includes topics that identify SQL features and compliance in Greenplum Database:</p>
<ul>
<li><xref href="feature_summary.xml"/></li>
<li><xref href="sql-keywords.xml"/></li>
<li><xref href="SQL2008_support.xml"/></li>
</ul>
</body>
</topic>
......@@ -2,7 +2,7 @@
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map title="Additional Supplied Modules">
<topicref href="intro.xml" navtitle="Additional Supplied Modules">
<topicref href="auto-explain.xml"/>
<topicref href="auto-explain.xml" linking="none"/>
<topicref href="citext.xml" linking="none"/>
<topicref href="dblink.xml" linking="none"/>
<topicref href="diskquota.xml" linking="none"/>
......
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA 1.1 Topic//EN"
"http://docs.oasis-open.org/dita/v1.1/OS/dtd/topic.dtd">
<topic id="topic1" xml:lang="en">
<title id="ac110126">Preface</title>
<body>
<p>This guide provides reference information for Greenplum Database.</p>
<ul>
<li id="ac164243">
<p>
<xref href="#topic2" type="topic" format="dita"/>
</p>
</li>
<li id="ac164247">
<p>
<xref href="#topic4" type="topic" format="dita"/>
</p>
</li>
<li id="ac135184">
<p>
<xref href="#topic7" type="topic" format="dita"/>
</p>
</li>
</ul>
</body>
<topic id="topic2" xml:lang="en">
<title id="ac167961">About This Guide</title>
<body>
<p>This guide provides reference information for a Greenplum Database system. This guide is
intended for system and database administrators responsible for managing a Greenplum Database
system. </p>
<p>This guide assumes knowledge of Linux/UNIX system administration, database management systems,
database administration, and structured query language (SQL).</p>
<p>Because Greenplum Database is based on PostgreSQL 8.3.23, this guide assumes some familiarity
with PostgreSQL. References to <xref href="https://www.postgresql.org/docs/8.3/index.html"
scope="external" format="html">PostgreSQL documentation</xref> are provided throughout this
guide for features that are similar to those in Greenplum Database.</p>
<p>This guide contains the following reference documentation:</p>
<ul>
<li id="ac168030">
<xref href="sql_commands/sql_ref.xml#topic1"/>
</li>
<li id="ac168956">
<xref href="SQL2008_support.xml#topic1"/>
</li>
<li>
<xref href="env_var_ref.xml#topic1"/>
</li>
<li>
<xref href="sql_keywords.xml#topic1"/>
</li>
<li id="ac168706">
<xref href="system_catalogs/catalog_ref.xml#topic1"/>
</li>
<li id="ac168758">
<xref href="gp_toolkit.xml#topic1"/>
</li>
<li id="ac168784">
<xref href="data_types.xml#topic1"/>
</li>
<li id="ac168810">
<xref href="character_sets.xml#topic1"/>
</li>
<li id="ac168836">
<xref href="config_params/guc_config.xml#topic1"/>
</li>
<li id="ac168862">
<xref href="yaml_spec.xml#topic1"/>
</li>
<li id="ac168872" otherprops="pivotal">
<xref href="extensions/postGIS.xml#topic1"/>
</li>
<li>
<xref href="extensions/pl_r.xml#topic1"/>
</li>
<li>
<xref href="extensions/fuzzystrmatch.xml#topic_fstrm"/>
</li>
<li id="ac168882">
<xref href="feature_summary.xml#topic1"/>
</li>
</ul>
</body>
</topic>
<topic id="topic3" xml:lang="en">
<title>About the Greenplum Database Documentation Set</title>
<body>
<p>The Greenplum Database 4.3 server documentation set consists of the following guides.</p>
<table id="ac169879">
<title>Greenplum Database server documentation set</title>
<tgroup cols="2">
<colspec colnum="1" colname="col1" colwidth="130pt"/>
<colspec colnum="2" colname="col2" colwidth="243pt"/>
<thead>
<row>
<entry colname="col1">
<p>Guide Name</p>
</entry>
<entry colname="col2">
<p>Description</p>
</entry>
</row>
</thead>
<tbody>
<row>
<entry colname="col1">
<p>
<i>Greenplum Database Administrator Guide</i>
</p>
</entry>
<entry colname="col2">
<p>Information for administering the Greenplum Database system and managing databases. It
covers topics such as Greenplum Database architecture and concepts and everyday system
administration tasks such as configuring the server, monitoring system activity, enabling
high-availability, backing up and restoring databases, and expanding the system. Database
administration topics include configuring access control, creating databases and database
objects, loading data into databases, writing queries, managing workloads, and monitoring
and troubleshooting performance.</p>
</entry>
</row>
<row>
<entry colname="col1">
<p>
<i>Greenplum Database Reference Guide</i>
</p>
</entry>
<entry colname="col2">
<p>Reference information for Greenplum Database systems: SQL commands, system catalogs,
environment variables, character set support, datatypes, the Greenplum MapReduce
specification, postGIS extension, server parameters, the gp_toolkit administrative schema,
and SQL 2008 support.</p>
</entry>
</row>
<row>
<entry colname="col1">
<p>
<i>Greenplum Database Utility Guide</i>
</p>
</entry>
<entry colname="col2">
<p>Reference information for command-line utilities, client programs, and Oracle
compatibility functions.</p>
</entry>
</row>
<row>
<entry colname="col1">
<p>
<i>Greenplum Database Installation Guide</i>
</p>
</entry>
<entry colname="col2">
<p>Information and instructions for installing and initializing a Greenplum Database
system.</p>
</entry>
</row>
</tbody>
</tgroup>
</table>
</body>
</topic>
<topic id="topic4" xml:lang="en">
<title id="ac169030">Document Conventions</title>
<body>
<p>The following conventions are used throughout the Greenplum Database documentation to help you
identify certain types of information.</p>
<ul>
<li id="ac164293" otherprops="op-hidden">
<p>
<xref href="#topic5"/>
</p>
</li>
<li id="ac164297">
<p>
<xref href="#topic6"/>
</p>
</li>
</ul>
</body>
<topic id="topic5" xml:lang="en" otherprops="op-hidden">
<title id="ac164370">Text Conventions</title>
<abstract>
<table id="ac164299">
<title>Text Conventions</title>
<tgroup cols="3">
<colspec colnum="1" colname="col1" colwidth="110pt"/>
<colspec colnum="2" colname="col2" colwidth="165pt"/>
<colspec colnum="3" colname="col3" colwidth="174pt"/>
<thead>
<row>
<entry colname="col1">
<p>Text Convention</p>
</entry>
<entry colname="col2">
<p>Usage</p>
</entry>
<entry colname="col3">
<p>Examples</p>
</entry>
</row>
</thead>
<tbody>
<row>
<entry colname="col1">
<p>
<b>bold</b>
</p>
</entry>
<entry colname="col2">
<p>Button, menu, tab, page, and field names in GUI applications</p>
</entry>
<entry colname="col3">
<p>Click <b>Cancel</b> to exit the page without saving your changes.</p>
</entry>
</row>
<row>
<entry colname="col1">
<p>
<i>italics</i>
</p>
</entry>
<entry colname="col2">
<p>New terms where they are defined</p>
<p>Database objects, such as schema, table, or columns names</p>
</entry>
<entry colname="col3">
<p>The <i>master instance </i>is the <codeph>postgres</codeph> process that accepts client
connections.</p>
<p>Catalog information for Greenplum Database resides in the <i>pg_catalog</i> schema.</p>
</entry>
</row>
<row>
<entry colname="col1">
<p>
<codeph>monospace</codeph>
</p>
</entry>
<entry colname="col2">
<p>File names and path names</p>
<p>Programs and executables</p>
<p>Command names and syntax</p>
<p>Parameter names</p>
</entry>
<entry colname="col3">
<p>Edit the <codeph>postgresql.conf</codeph> file.</p>
<p>Use <codeph>gpstart</codeph> to start Greenplum Database.</p>
</entry>
</row>
<row>
<entry colname="col1">
<p>
<i>monospace italics</i>
</p>
</entry>
<entry colname="col2">
<p>Variable information within file paths and file names</p>
<p>Variable information within command syntax</p>
</entry>
<entry colname="col3">
<p>
<codeph>/home/gpadmin/<i>config_file</i></codeph>
</p>
<p>
<codeph>COPY <i>tablename</i> FROM '<i>filename</i>'</codeph>
</p>
</entry>
</row>
<row>
<entry colname="col1">
<p>
<b>monospace bold</b>
</p>
</entry>
<entry colname="col2">
<p>Used to call attention to a particular part of a command, parameter, or code
snippet.</p>
</entry>
<entry colname="col3">
<p>Change the host name, port, and database name in the JDBC connection URL:</p>
<p>
<codeph>jdbc:postgresql://<b>host:5432/mydb</b></codeph>
</p>
</entry>
</row>
<row>
<entry colname="col1">
<p>
<codeph>monospace UPPERCASE</codeph>
</p>
</entry>
<entry colname="col2">
<p>Environment variables</p>
<p>SQL commands</p>
<p>Keyboard keys</p>
</entry>
<entry colname="col3">
<p>Make sure that the Java <codeph>/bin</codeph> directory is in your
<codeph>$PATH</codeph>. </p>
<p>
<codeph>SELECT * FROM <i>my_table</i>;</codeph>
</p>
<p>Press <codeph>CTRL+C</codeph> to escape.</p>
</entry>
</row>
</tbody>
</tgroup>
</table>
</abstract>
</topic>
<topic id="topic6" xml:lang="en">
<title>Command Syntax Conventions</title>
<abstract>
<table id="ac164372">
<title>Command Syntax Conventions</title>
<tgroup cols="3">
<colspec colnum="1" colname="col1" colwidth="124pt"/>
<colspec colnum="2" colname="col2" colwidth="162pt"/>
<colspec colnum="3" colname="col3" colwidth="162pt"/>
<thead>
<row>
<entry colname="col1">
<p>Text Convention</p>
</entry>
<entry colname="col2">
<p>Usage</p>
</entry>
<entry colname="col3">
<p>Examples</p>
</entry>
</row>
</thead>
<tbody>
<row>
<entry colname="col1">
<p>
<codeph>{ }</codeph>
</p>
</entry>
<entry colname="col2">
<p>Within command syntax, curly braces group related command options. Do not type the curly
braces.</p>
</entry>
<entry colname="col3">
<p>
<codeph>FROM <b>{</b> '<i>filename</i>' | STDIN <b>}</b></codeph>
</p>
</entry>
</row>
<row>
<entry colname="col1">
<p>
<codeph>[ ]</codeph>
</p>
</entry>
<entry colname="col2">
<p>Within command syntax, square brackets denote optional arguments. Do not type the
brackets.</p>
</entry>
<entry colname="col3">
<p>
<codeph>TRUNCATE <b>[</b> TABLE <b>]</b>
<i>name</i></codeph>
</p>
</entry>
</row>
<row>
<entry colname="col1">
<p>
<codeph>...</codeph>
</p>
</entry>
<entry colname="col2">
<p>Within command syntax, an ellipsis denotes repetition of a command, variable, or option.
Do not type the ellipsis.</p>
</entry>
<entry colname="col3">
<p>
<codeph>DROP TABLE <i>name</i> [, <b>...</b>]</codeph>
</p>
</entry>
</row>
<row>
<entry colname="col1">
<p>
<codeph>|</codeph>
</p>
</entry>
<entry colname="col2">
<p>Within command syntax, the pipe symbol denotes an "OR" relationship. Do not type the
pipe symbol.</p>
</entry>
<entry colname="col3">
<p>
<codeph>VACUUM [ FULL <b>|</b> FREEZE ]</codeph>
</p>
</entry>
</row>
<row>
<entry colname="col1">
<p>
<codeph>$ <i>system_command</i></codeph>
</p>
<p>
<codeph># <i>root_system_command</i></codeph>
</p>
<p>
<codeph>=&gt; <i>gpdb_command</i></codeph>
</p>
<p>
<codeph>=# <i>su_gpdb_command</i></codeph>
</p>
</entry>
<entry colname="col2">
<p>Denotes a command prompt - do not type the prompt symbol. <codeph>$</codeph> and
<codeph>#</codeph> denote terminal command prompts. <codeph>=&gt;</codeph> and
<codeph>=#</codeph> denote Greenplum Database interactive program command prompts
(<codeph>psql</codeph> or <codeph>gpssh</codeph>, for example).</p>
</entry>
<entry colname="col3">
<p>
<codeph><b>$</b> createdb mydatabase</codeph>
</p>
<p>
<codeph><b>#</b> chown gpadmin -R /datadir</codeph>
</p>
<p>
<codeph><b>=&gt;</b> SELECT * FROM mytable;</codeph>
</p>
<p>
<codeph><b>=#</b> SELECT * FROM pg_database;</codeph>
</p>
</entry>
</row>
</tbody>
</tgroup>
</table>
</abstract>
</topic>
</topic>
<topic id="topic7" xml:lang="en">
<title id="ac164426">Getting Support</title>
<body>
<p>Pivotal/Greenplum support, product, and licensing information can be obtained as follows.</p>
</body>
<topic id="topic8" xml:lang="en">
<title>Product information and Technical Support</title>
<body>
<p>For technical support, documentation, release notes, software updates, or for information
about Pivotal products, licensing, and services, go to <xref href="https://www.pivotal.io/"
scope="external" format="html"><ph>www.pivotal.io</ph></xref>.</p>
</body>
</topic>
</topic>
</topic>
......@@ -5,7 +5,7 @@
format="html" otherprops="oss-only"/>
<topicref href="../../6-0/homenav.html" scope="external" navtitle="Pivotal Greenplum® 6.0 Documentation"
format="html" otherprops="pivotal"/>
<topicref href="ref_guide.xml" navtitle="Reference Guide">
<topicref href="ref_guide.xml">
<topicref href="sql_commands/sql_ref.xml">
<topicref href="GPReferenceSQLSummaryLOP.xml"/>
<topicref href="sql_commands/ABORT.xml"/>
......@@ -163,10 +163,18 @@
<topicref href="sql_commands/VACUUM.xml"/>
<topicref href="sql_commands/VALUES.xml"/>
</topicref>
<topicref href="SQL2008_support.xml"/>
<topicref href="env_var_ref.xml" navtitle="Greenplum Environment Variables" id="env_var_ref"/>
<topicref href="sql-keywords.xml" navtitle="Reserved Identifiers and SQL Keywords" id="sql_keywords"/>
<topicref href="system_catalogs/catalog_ref.xml#topic1">
<topicref href="data_types.xml" id="data_types">
<topicref href="datatype-datetime.xml"/>
<topicref href="datatype-pseudo.xml"/>
<topicref href="datatype-textsearch.xml"/>
<topicref href="datatype-range.xml"/>
</topicref>
<topicref href="function-summary.xml" id="func_summary"/>
<topicref href="extensions/extensions.ditamap" format="ditamap"/>
<topicref href="modules/modules.ditamap" format="ditamap"/>
<topicref href="character_sets.xml" id="character_sets"/>
<topicref href="config_params/guc_config.ditamap" id="guc_config" format="ditamap"/>
<topicref href="system_catalogs/catalog_ref.xml">
<topicref href="system_catalogs/catalog_ref-tables.xml#topic1"/>
<topicref href="system_catalogs/catalog_ref-views.xml#topic1"/>
<topicref href="system_catalogs/catalog_ref-html.xml#topic1">
......@@ -271,35 +279,8 @@
</topicref>
<topicref href="gp_toolkit.ditamap" format="ditamap"/>
<topicref href="gpperfmon/gpperfmon.ditamap" format="ditamap"/>
<topicref href="data_types.xml" navtitle="Greenplum Database Data Types" id="data_types">
<topicref href="datatype-datetime.xml"/>
<topicref href="datatype-pseudo.xml"/>
<topicref href="datatype-textsearch.xml"/>
<topicref href="datatype-range.xml"/>
</topicref>
<topicref href="character_sets.xml" navtitle="Character Set Support" id="character_sets"/>
<topicref href="config_params/guc_config.ditamap" navtitle="Server Configuration Parameters"
id="guc_config" format="ditamap"/>
<topicref href="function-summary.xml" id="func_summary"/>
<topicref href="yaml_spec.xml" navtitle="Greenplum MapReduce Specification" id="yaml_spec"/>
<topicref href="extensions/pl_sql.xml" navtitle="Greenplum PL/pgSQL Extension" id="pl_sql"/>
<topicref href="extensions/postGIS.xml" navtitle="Greenplum PostGIS Extension" id="postGIS"
otherprops="pivotal"/>
<topicref href="extensions/pl_r.xml" navtitle="Greenplum PL/R Language Extension" id="pl_r"/>
<topicref href="extensions/pl_python.xml" navtitle="Greenplum PL/Python Language Extension"
id="pl_python"/>
<topicref href="extensions/pl_container.xml" navtitle="Greenplum PL/Container Extension"
id="pl_container"/>
<topicref href="extensions/pl_java.xml" navtitle="Greenplum PL/Java Language Extension"
id="pl_java"/>
<topicref href="extensions/pl_perl.xml" navtitle="Greenplum PL/Perl Language Extension"
id="pl_perl"/>
<topicref href="extensions/madlib.xml" navtitle="Greenplum MADlib Extension for Analytics"
id="madlib"/>
<topicref href="modules/modules.ditamap" format="ditamap"/>
<topicref href="extensions/gppc.xml" navtitle="Greenplum Partner Connector API" id="gppc"/>
<topicref href="extensions/bgworker.xml"/>
<topicref href="feature_summary.xml" navtitle="Summary of Greenplum Features"
id="feature_summary"/>
<topicref href="extensions/serverapi.ditamap" format="ditamap"/>
<topicref href="misc.ditamap" format="ditamap"/>
<topicref href="yaml_spec.xml"/>
</topicref>
</map>
......@@ -2,7 +2,7 @@
<!DOCTYPE topic
PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic id="topic1">
<title id="ad143465">SQL Command Reference</title>
<title id="ad143465">SQL Commands</title>
<body>
<p>The following SQL commands are available in Greenplum Database:</p>
<ul otherprops="op-print">
......
......@@ -2,7 +2,7 @@
<!DOCTYPE topic
PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic id="topic1" xml:lang="en">
<title id="eu135496">System Catalog Reference</title>
<title id="eu135496">System Catalogs</title>
<body>
<p>This reference describes the Greenplum Database system catalog tables and views. System
tables prefixed with <codeph>gp_</codeph> relate to the parallel features of Greenplum
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册