File: autovacuum.html

package info (click to toggle)
pgadmin3 1.4.3-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 29,796 kB
  • ctags: 10,758
  • sloc: cpp: 55,356; sh: 6,164; ansic: 1,520; makefile: 576; sql: 482; xml: 100; perl: 18
file content (30 lines) | stat: -rw-r--r-- 1,135 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link rel="STYLESHEET" type="text/css" href="../pgadmin3.css">
<title>Guru Hints</title>
</head>

<body>

<h3>Running pg_autovacuum recommended</h3>
<p>
Introduced in PostgreSQL 8.1, the pg_autovacuum process which was previously 
implemented as an external service process is now integrated into the backend. It will
run VACUUM automatically if a configurable amount of data has changed.
</p>
<p>
Running VACUUM is mandatory on a PostgreSQL server to keep data consistent 
and the server performant. As a start, it is recommended to enable the pg_autovacuum 
daemon by setting 'autovacuum', 'stats_start_collector' and 'stats_row_level' 
in postgresql.conf to 'on'. With a usually neglectable performance penalty from the
data change tracking, you will gain automatic performing VACUUM runs.
</p>
<p>
To adjust pg_autovacuum performance for individual needs, you might need to tune
its settings using global parameters in postgresql.conf, or individually on each table; see
the documentation.
</p>
</body>
</html>