Skip to content

Commit

Permalink
Updated README (normalize GUC, order of queries).
Browse files Browse the repository at this point in the history
  • Loading branch information
tvondra committed Nov 26, 2011
1 parent 34e055b commit f66095c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README
Expand Up @@ -43,6 +43,7 @@ the config file (or update the current values)
query_recorder.size_limit = 1GB
query_recorder.buffer_size = 8MB
query_recorder.enabled = false
query_recorder.normalize = false

The meaning of those config options is this:

Expand All @@ -59,6 +60,8 @@ The meaning of those config options is this:

(e) query_recorder.enabled - is the recording enabled or disabled

(f) query_recorder.normalize - replace EOL with a space?

By default, the recording is disabled - you have to enable it, either
in postgresql.conf or by setting it later

Expand Down Expand Up @@ -94,3 +97,6 @@ The file is quite simple to read and process. There are five fields
- length of the query (number of characters)
- query (may include EOL, use the previous field to parse it)

Don't expect the queries to be exactly in the order as executed, i.e.
sorted by the first field. Right now this is true, but in the future this
may change due to performance optimizations.

0 comments on commit f66095c

Please sign in to comment.