|
36 | 36 |
|
37 | 37 | pg_autovacuum requires that the statistics system be enabled and
|
38 | 38 | reporting row level stats. The overhead of the stats system has been
|
39 |
| -shown to have a significant cost under certain workloads. For |
40 |
| -instance, a tight loop of queries performing "select 1" was found to |
41 |
| -run nearly 30% slower when stats were enabled. However, in practice, |
| 39 | +shown to be significant under certain workloads. For instance, a |
| 40 | +tight loop of queries performing "select 1" was found to run nearly |
| 41 | +30% slower when row-level stats were enabled. However, in practice, |
42 | 42 | with more realistic workloads, the stats system overhead is usually
|
43 | 43 | nominal.
|
44 | 44 |
|
@@ -127,8 +127,11 @@ pg_autovacuum has the following optional arguments:
|
127 | 127 | -U username: Username pg_autovacuum will use to connect with, if not
|
128 | 128 | specified the current username is used.
|
129 | 129 | -P password: Password pg_autovacuum will use to connect with. *WARNING*
|
130 |
| - When installed as a Windows Service, this option will be stored in plain |
131 |
| - text in the registry. |
| 130 | + This option is insecure. When installed as a Windows Service, this |
| 131 | + option will be stored in plain text in the registry. When used with |
| 132 | + most Unix variants, other users will be able to see the argument to |
| 133 | + the "-P" option via ps(1). The ~/.pgpass file can be used to |
| 134 | + specify a password more securely. |
132 | 135 | -H host: host name or IP to connect to.
|
133 | 136 | -p port: port used for connection.
|
134 | 137 | -h help: list of command line options.
|
|
0 commit comments