Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5f69890

Browse files
committed
Editorialize a bit on the recent patch, reverting to the original versions
of the text where appropiate.
1 parent 2c6d96c commit 5f69890

File tree

2 files changed

+50
-39
lines changed

2 files changed

+50
-39
lines changed

doc/src/sgml/external-projects.sgml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/external-projects.sgml,v 1.11 2006/08/01 00:09:06 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/external-projects.sgml,v 1.12 2006/08/01 19:17:18 alvherre Exp $ -->
22

33
<appendix id="external-projects">
44
<title>PgFoundry and External Projects</title>
@@ -22,13 +22,13 @@
2222

2323
<para>
2424
Secondly, many <productname>PostgreSQL</productname>-related projects are
25-
still hosted at <ulink url="http://gborg.postgresql.org"><productname>GBorg</></ulink>.
25+
still hosted at <ulink url="http://gborg.postgresql.org/"><productname>GBorg</></ulink>.
2626
GBorg is the original external community developer site, and while it is
2727
currently closed to new projects in favor of PgFoundry, it still contains
2828
many active and relevant projects. There are other popular <productname>PostgreSQL</productname>
2929
related projects that are hosted independently as well at other community
30-
sites such as <ulink url="http://www.sf.net">SourceForge</ulink>. You should
31-
google if you don't find the project you are looking for.
30+
sites such as <ulink url="http://www.sf.net/">SourceForge</ulink>. You should
31+
search the web if you don't find the project you are looking for.
3232
</para>
3333

3434
<sect1 id="external-interfaces">
@@ -41,10 +41,11 @@
4141
<para>
4242
<productname>PostgreSQL</productname> includes very few interfaces
4343
with the base distribution. <application>libpq</> is packaged because
44-
it is the primary dependecy of most interfaces available to PostgreSQL.
45-
We also package <application>ecpg</> because it is tied to the
46-
server-side grammar. All other interfaces, such as PHP, Perl, Python,
47-
and Ruby, are external projects.
44+
it is the primary <application>C</> interface and many other interfaces
45+
are build on top of it. <application>ecpg</> is also packaged because it is
46+
tied to the server-side grammar so is very dependent on the database
47+
version. All the other interfaces, such as ODBC, Java, Perl, Python, and
48+
others, are external projects and must be installed separately.
4849
</para>
4950

5051
<para>
@@ -72,7 +73,7 @@
7273
</varlistentry>
7374

7475
<varlistentry>
75-
<term>pgjdbc</term>
76+
<term>PostgreSQL JDBC Driver</term>
7677
<listitem>
7778
<para>
7879
A <application>JDBC</> interface.
@@ -85,7 +86,7 @@
8586
<term>Npgsql</term>
8687
<listitem>
8788
<para>
88-
<application>.Net</> interface for more recent <application>mono/C#</> applications.
89+
<application>.Net</> data provider for <application>C#</> applications.
8990
<ulink url="http://pgfoundry.org/projects/npgsql/">Website.</ulink>
9091
</para>
9192
</listitem>
@@ -95,7 +96,7 @@
9596
<term>libpqxx</term>
9697
<listitem>
9798
<para>
98-
A newer <application>C++</> interface.
99+
A <application>C++</> interface.
99100
<ulink url="http://thaiopensource.org/development/libpqxx/">Website.</ulink>
100101
</para>
101102
</listitem>
@@ -115,14 +116,14 @@
115116
<term>pgtclng</term>
116117
<listitem>
117118
<para>
118-
A newer version of the <application>Tcl</> interface.
119+
A <application>Tcl</> interface.
119120
<ulink url="http://gborg.postgresql.org/project/pgtclng/projdisplay.php">Website.</ulink>
120121
</para>
121122
</listitem>
122123
</varlistentry>
123124

124125
<varlistentry>
125-
<term>Pyscopg</term>
126+
<term>pyscopg</term>
126127
<listitem>
127128
<para>
128129
A <application>Python</> interface library that is DB API 2.0 compliant.

doc/src/sgml/maintenance.sgml

Lines changed: 36 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.57 2006/08/01 00:09:06 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.58 2006/08/01 19:17:17 alvherre Exp $ -->
22

33
<chapter id="maintenance">
44
<title>Routine Database Maintenance Tasks</title>
@@ -8,39 +8,48 @@
88
</indexterm>
99

1010
<indexterm zone="maintenance">
11-
<primary>Routine maintenance</primary>
11+
<primary>routine maintenance</primary>
1212
</indexterm>
1313

1414
<para>
15-
PostgreSQL, like any database software, requires that certain tasks
16-
be performed regularly to achieve optimum performance. The tasks
15+
<productname>PostgreSQL</>, like any database software, requires that certain tasks
16+
be performed regularly to achieve optimum performance. The tasks
1717
discussed here are <emphasis>required</emphasis>, but they
18-
are repetitive in nature and can easily be automated using standard
19-
Unix tools such as <application>cron</application> scripts.
18+
are repetitive in nature and can easily be automated using standard
19+
Unix tools such as <application>cron</application> scripts or
20+
Windows' <application>Task Scheduler</>. But it is the database
21+
administrator's responsibility to set up appropriate scripts, and to
22+
check that they execute successfully.
2023
</para>
21-
24+
2225
<para>
23-
<productname>PostgreSQL</productname> is low-maintenance compared
24-
to other database management systems. It is also fairly easy, provided
25-
you read the documentation.
26+
One obvious maintenance task is creation of backup copies of the data on a
27+
regular schedule. Without a recent backup, you have no chance of recovery
28+
after a catastrophe (disk failure, fire, mistakenly dropping a critical
29+
table, etc.). The backup and recovery mechanisms available in
30+
<productname>PostgreSQL</productname> are discussed at length in
31+
<xref linkend="backup">.
2632
</para>
2733

2834
<para>
29-
There are three tasks that <emphasis>must</emphasis> be performed on
30-
a periodic basis. The first is backups. If you do not have a current backup
31-
and your system experiences a catastrophic failure, you will lose your data.
32-
You can read further about backups procedures in <xref linkend="backup">.
33-
The second is vacuum which is discussed in <xref linkend="routine-vacuuming">.
34-
The third is to update the planner statistics using the analyze command as
35-
discussed in <xref linkend="vacuum-for-statistics">.
35+
The other main category of maintenance task is periodic <quote>vacuuming</>
36+
of the database. This activity is discussed in
37+
<xref linkend="routine-vacuuming">. Closely related to this is to update
38+
the statistics that will be used by the query planner, as discussed in
39+
<xref linkend="vacuum-for-statistics">.
3640
</para>
3741

3842
<para>
39-
Another task that may need periodic attention is log file management.
43+
Another task that might need periodic attention is log file management.
4044
This is discussed in <xref linkend="logfile-maintenance">.
4145
</para>
4246

43-
47+
<para>
48+
<productname>PostgreSQL</productname> is low-maintenance compared
49+
to some other database management systems. Nonetheless,
50+
appropriate attention to these tasks will go far towards ensuring a
51+
pleasant and productive experience with the system.
52+
</para>
4453

4554
<sect1 id="routine-vacuuming">
4655
<title>Routine Vacuuming</title>
@@ -80,12 +89,13 @@
8089
</para>
8190

8291
<para>
83-
The standard form of <command>VACUUM</> does not intefere with production
84-
database operations. Items such as SELECTS, INSERTS, UPDATES and DELETES
92+
The standard form of <command>VACUUM</> can run in parallel with production
93+
database operations. Commands such as SELECTs, INSERTs, UPDATEs and DELETEs
8594
will continue to function as normal, though you will not be able to modify the
86-
definition (Such as ALTER TABLE ADD COLUMN) of a table while it is being vacuumed.
87-
The release of <productname>PostgreSQL</productname> 8.0, introduced new
88-
configuration parameters to further reduce the potentially negative
95+
definition of a table with commands such as ALTER TABLE ADD COLUMN
96+
while it is being vacuumed.
97+
Beginning in <productname>PostgreSQL</productname> 8.0, there are
98+
configuration parameters that can be adjusted to further reduce the
8999
performance impact of background vacuuming. See
90100
<xref linkend="runtime-config-resource-vacuum-cost">.
91101
</para>
@@ -187,8 +197,8 @@
187197

188198
<para>
189199
If you have a table whose entire contents are deleted on a periodic
190-
basis, consider doing it with the <command>TRUNCATE</command> rather
191-
than using the <command>DELETE</command> followed by
200+
basis, consider doing it with <command>TRUNCATE</command> rather
201+
than using <command>DELETE</command> followed by
192202
<command>VACUUM</command>. <command>TRUNCATE</command> removes the
193203
entire content of the table immediately, without requiring a
194204
subsequent <command>VACUUM</command> or <command>VACUUM

0 commit comments

Comments
 (0)