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
e854d3da
Commit
e854d3da
authored
Mar 31, 2000
by
Hiroshi Inoue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
f43974f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
181 additions
and
0 deletions
+181
-0
doc/src/sgml/ref/reindex.sgml
doc/src/sgml/ref/reindex.sgml
+181
-0
No files found.
doc/src/sgml/ref/reindex.sgml
0 → 100644
View file @
e854d3da
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/reindex.sgml,v 1.1 2000/03/31 08:16:33 inoue Exp $
Postgres documentation
-->
<refentry id="SQL-REINDEX">
<refmeta>
<refentrytitle id="SQL-REINDEX-TITLE">
REINDEX
</refentrytitle>
<refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta>
<refnamediv>
<refname>
REINDEX
</refname>
<refpurpose>
Recover corrupted system indexes under standalone Postgres
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<refsynopsisdivinfo>
<date>2000-03-30</date>
</refsynopsisdivinfo>
<synopsis>
REINDEX { TABLE | DATABASE | INDEX } <replaceable class="PARAMETER">name</replaceable> [ FORCE ]
</synopsis>
<refsect2 id="R2-SQL-REINDEX-1">
<refsect2info>
<date>2000-03-30</date>
</refsect2info>
<title>
Inputs
</title>
<para>
<variablelist>
<varlistentry>
<term>TABLE</term>
<listitem>
<para>
Recreate all indexes of a specfied table.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>DATABASE</term>
<listitem>
<para>
Recreate all system indexes of a specfied database.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>INDEX</term>
<listitem>
<para>
Recreate a specfied index.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term>
<listitem>
<para>
The name of the specific table/database/index to be be reindexed.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>FORCE</term>
<listitem>
<para>
Recreate indexes forcedly. Without this keyword REINDEX does
nothing unless target indexes are invalidated.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect2>
<refsect2 id="R2-SQL-REINDEX-2">
<refsect2info>
<date>2000-03-30</date>
</refsect2info>
<title>
Outputs
</title>
<para>
<variablelist>
<varlistentry>
<term><computeroutput>
REINDEX
</computeroutput></term>
<listitem>
<para>
Message returned if the table is successfully reindexed.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect2>
</refsynopsisdiv>
<refsect1 id="R1-SQL-REINDEX-1">
<refsect1info>
<date>2000-03-30</date>
</refsect1info>
<title>
Description
</title>
<para>
<command>REINDEX</command> is used to recover corrupted system indexes.
In order to run REINDEX command,Postmaster must be shutdown and
standalone Postgres should be started instead with options -O and
-P(an option to ignore system indexes). Note that we couldn't rely
on system indexes for the recovery of system indexes.
</para>
</refsect1>
<refsect1 id="R1-SQL-REINDEX-2">
<title>
Usage
</title>
<para>
Recreate the table <literal>mytable</literal>:
<programlisting>
REINDEX TABLE mytable;
</programlisting>
</para>
<para>
Some more examples:
<programlisting>
REINDEX DATABASE my_database FORCE;
REINDEX INDEX my_index;
</programlisting>
</para>
</refsect1>
<refsect1 id="R1-SQL-REINDEX-3">
<title>
Compatibility
</title>
<refsect2 id="R2-SQL-REINDEX-4">
<refsect2info>
<date>2000-03-30</date>
</refsect2info>
<title>
SQL92
</title>
<para>
There is no <command>REINDEX</command> in <acronym>SQL92</acronym>.
</para>
</refsect2>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../reference.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:"/usr/lib/sgml/catalog"
sgml-local-ecat-files:nil
End:
-->
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