Skip to content

Instantly share code, notes, and snippets.

@dlangille dlangille/batch_testing
Last active Feb 10, 2016

Embed
What would you like to do?
PostgreSQL 9.4.5 on FreeBSD 10.2
bacula=# \d batch_testing
Table "public.batch_testing"
Column | Type | Modifiers
-----------+-------------------+-----------
fileindex | integer |
jobid | integer |
path | character varying |
name | character varying |
lstat | character varying |
md5 | character varying |
deltaseq | smallint |
bacula=#
bacula=# \d file
Table "public.file"
Column | Type | Modifiers
------------+----------+-------------------------------------------------------
fileid | bigint | not null default nextval('file_fileid_seq'::regclass)
fileindex | integer | not null default 0
jobid | integer | not null
pathid | integer | not null
markid | integer | not null default 0
lstat | text | not null
md5 | text | not null
filenameid | integer | not null
deltaseq | smallint | default 0
Indexes:
"file_pkey" PRIMARY KEY, btree (fileid)
"file_fileindex" btree (fileindex)
"file_filenameid_idx" btree (filenameid)
"file_jobid_fileindex" btree (jobid, fileindex)
"file_jobid_idx" btree (jobid)
"file_jpfid_idx" btree (jobid, pathid, filenameid)
"file_pathid_idx" btree (pathid)
bacula=#
bacula=# \d Filename
Table "public.filename"
Column | Type | Modifiers
------------+---------+---------------------------------------------------------------
filenameid | integer | not null default nextval('filename_filenameid_seq'::regclass)
name | text | not null
Indexes:
"filename_pkey" PRIMARY KEY, btree (filenameid)
"filename_name_idx" btree (name)
bacula=#
# gpart show
=> 34 62533229 ada0 GPT (30G)
34 6 - free - (3.0K)
40 16777216 1 freebsd-zfs (8.0G)
16777256 45756007 - free - (22G)
=> 34 62533229 ada1 GPT (30G)
34 6 - free - (3.0K)
40 16777216 1 freebsd-zfs (8.0G)
16777256 45756007 - free - (22G)
The above two are the SSD. There is enough space for WAL logs... on the same SSDs as the SLOG?
=> 34 5860533101 ada2 GPT (2.7T)
34 94 1 freebsd-boot (47K)
128 4194304 2 freebsd-swap (2.0G)
4194432 5851054080 3 freebsd-zfs (2.7T)
5855248512 5284623 - free - (2.5G)
=> 34 5860533101 ada3 GPT (2.7T)
34 94 1 freebsd-boot (47K)
128 4194304 2 freebsd-swap (2.0G)
4194432 5851054080 3 freebsd-zfs (2.7T)
5855248512 5284623 - free - (2.5G)
=> 34 5860533101 ada4 GPT (2.7T)
34 94 1 freebsd-boot (47K)
128 4194304 2 freebsd-swap (2.0G)
4194432 5851054080 3 freebsd-zfs (2.7T)
5855248512 5284623 - free - (2.5G)
=> 34 5860533101 ada5 GPT (2.7T)
34 94 1 freebsd-boot (47K)
128 4194304 2 freebsd-swap (2.0G)
4194432 5851054080 3 freebsd-zfs (2.7T)
5855248512 5284623 - free - (2.5G)
=> 34 5860533101 ada6 GPT (2.7T)
34 94 1 freebsd-boot (47K)
128 4194304 2 freebsd-swap (2.0G)
4194432 5851054080 3 freebsd-zfs (2.7T)
5855248512 5284623 - free - (2.5G)
=> 34 5860533101 ada7 GPT (2.7T)
34 94 1 freebsd-boot (47K)
128 4194304 2 freebsd-swap (2.0G)
4194432 5851054080 3 freebsd-zfs (2.7T)
5855248512 5284623 - free - (2.5G)
bacula=# \d path
Table "public.path"
Column | Type | Modifiers
--------+---------+-------------------------------------------------------
pathid | integer | not null default nextval('path_pathid_seq'::regclass)
path | text | not null
Indexes:
"path_pkey" PRIMARY KEY, btree (pathid)
"path_name_idx" btree (path)
bacula=#
# ls -l pg_xlog
total 9141720
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:47 00000001000003A30000002A
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:48 00000001000003A30000002B
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:48 00000001000003A30000002C
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:49 00000001000003A30000002D
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:49 00000001000003A30000002E
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:52 00000001000003A30000002F
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:53 00000001000003A300000030
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:53 00000001000003A300000031
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:28 00000001000003A300000032
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:31 00000001000003A300000033
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:31 00000001000003A300000034
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:29 00000001000003A300000035
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:30 00000001000003A300000036
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:32 00000001000003A300000037
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:31 00000001000003A300000038
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:28 00000001000003A300000039
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:27 00000001000003A30000003A
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:31 00000001000003A30000003B
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:29 00000001000003A30000003C
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:29 00000001000003A30000003D
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:30 00000001000003A30000003E
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:30 00000001000003A30000003F
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:29 00000001000003A300000040
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:32 00000001000003A300000041
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:28 00000001000003A300000042
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:36 00000001000003A300000043
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:32 00000001000003A300000044
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:34 00000001000003A300000045
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:36 00000001000003A300000046
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:33 00000001000003A300000047
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:33 00000001000003A300000048
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:35 00000001000003A300000049
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:37 00000001000003A30000004A
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:34 00000001000003A30000004B
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:32 00000001000003A30000004C
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:32 00000001000003A30000004D
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:34 00000001000003A30000004E
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:36 00000001000003A30000004F
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:32 00000001000003A300000050
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:35 00000001000003A300000051
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:35 00000001000003A300000052
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:33 00000001000003A300000053
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:40 00000001000003A300000054
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:39 00000001000003A300000055
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:38 00000001000003A300000056
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:41 00000001000003A300000057
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:42 00000001000003A300000058
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:38 00000001000003A300000059
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:39 00000001000003A30000005A
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:40 00000001000003A30000005B
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:37 00000001000003A30000005C
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:41 00000001000003A30000005D
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:38 00000001000003A30000005E
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:40 00000001000003A30000005F
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:41 00000001000003A300000060
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:44 00000001000003A300000061
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:44 00000001000003A300000062
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:42 00000001000003A300000063
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:43 00000001000003A300000064
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:42 00000001000003A300000065
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:44 00000001000003A300000066
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:43 00000001000003A300000067
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:43 00000001000003A300000068
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:53 00000001000003A300000069
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:57 00000001000003A30000006A
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:55 00000001000003A30000006B
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:53 00000001000003A30000006C
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:56 00000001000003A30000006D
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:54 00000001000003A30000006E
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:52 00000001000003A30000006F
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:57 00000001000003A300000070
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:54 00000001000003A300000071
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:52 00000001000003A300000072
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:56 00000001000003A300000073
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:53 00000001000003A300000074
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:59 00000001000003A300000075
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:58 00000001000003A300000076
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:02 00000001000003A300000077
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:58 00000001000003A300000078
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:59 00000001000003A300000079
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:00 00000001000003A30000007A
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:57 00000001000003A30000007B
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:59 00000001000003A30000007C
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:01 00000001000003A30000007D
-rw------- 1 pgsql pgsql 16777216 Feb 9 21:58 00000001000003A30000007E
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:05 00000001000003A30000007F
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:06 00000001000003A300000080
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:02 00000001000003A300000081
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:04 00000001000003A300000082
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:03 00000001000003A300000083
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:06 00000001000003A300000084
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:08 00000001000003A300000085
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:10 00000001000003A300000086
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:11 00000001000003A300000087
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:07 00000001000003A300000088
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:11 00000001000003A300000089
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:09 00000001000003A30000008A
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:08 00000001000003A30000008B
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:12 00000001000003A30000008C
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:13 00000001000003A30000008D
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:14 00000001000003A30000008E
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:16 00000001000003A30000008F
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:14 00000001000003A300000090
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:12 00000001000003A300000091
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:17 00000001000003A300000092
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:15 00000001000003A300000093
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:17 00000001000003A300000094
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:18 00000001000003A300000095
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:21 00000001000003A300000096
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:19 00000001000003A300000097
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:21 00000001000003A300000098
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:20 00000001000003A300000099
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:19 00000001000003A30000009A
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:24 00000001000003A30000009B
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:25 00000001000003A30000009C
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:23 00000001000003A30000009D
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:26 00000001000003A30000009E
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:25 00000001000003A30000009F
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:22 00000001000003A3000000A0
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:26 00000001000003A3000000A1
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:23 00000001000003A3000000A2
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:25 00000001000003A3000000A3
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:24 00000001000003A3000000A4
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:26 00000001000003A3000000A5
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:22 00000001000003A3000000A6
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:24 00000001000003A3000000A7
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:27 00000001000003A3000000A8
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:27 00000001000003A3000000A9
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:28 00000001000003A3000000AA
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:30 00000001000003A3000000AB
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:27 00000001000003A3000000AC
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:30 00000001000003A3000000AD
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:28 00000001000003A3000000AE
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:32 00000001000003A3000000AF
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:29 00000001000003A3000000B0
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:31 00000001000003A3000000B1
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:32 00000001000003A3000000B2
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:36 00000001000003A3000000B3
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:34 00000001000003A3000000B4
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:34 00000001000003A3000000B5
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:33 00000001000003A3000000B6
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:35 00000001000003A3000000B7
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:36 00000001000003A3000000B8
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:33 00000001000003A3000000B9
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:41 00000001000003A3000000BA
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:39 00000001000003A3000000BB
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:41 00000001000003A3000000BC
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:41 00000001000003A3000000BD
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:37 00000001000003A3000000BE
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:38 00000001000003A3000000BF
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:42 00000001000003A3000000C0
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:40 00000001000003A3000000C1
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:42 00000001000003A3000000C2
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:40 00000001000003A3000000C3
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:38 00000001000003A3000000C4
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:41 00000001000003A3000000C5
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:45 00000001000003A3000000C6
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:46 00000001000003A3000000C7
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:43 00000001000003A3000000C8
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:44 00000001000003A3000000C9
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:43 00000001000003A3000000CA
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:46 00000001000003A3000000CB
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:42 00000001000003A3000000CC
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:45 00000001000003A3000000CD
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:44 00000001000003A3000000CE
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:43 00000001000003A3000000CF
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:46 00000001000003A3000000D0
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:43 00000001000003A3000000D1
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:46 00000001000003A3000000D2
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:44 00000001000003A3000000D3
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:43 00000001000003A3000000D4
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:45 00000001000003A3000000D5
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:42 00000001000003A3000000D6
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:43 00000001000003A3000000D7
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:44 00000001000003A3000000D8
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:50 00000001000003A3000000D9
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:47 00000001000003A3000000DA
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:50 00000001000003A3000000DB
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:47 00000001000003A3000000DC
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:48 00000001000003A3000000DD
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:49 00000001000003A3000000DE
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:51 00000001000003A3000000DF
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:49 00000001000003A3000000E0
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:52 00000001000003A3000000E1
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:53 00000001000003A3000000E2
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:54 00000001000003A3000000E3
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:57 00000001000003A3000000E4
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:52 00000001000003A3000000E5
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:54 00000001000003A3000000E6
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:53 00000001000003A3000000E7
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:55 00000001000003A3000000E8
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:56 00000001000003A3000000E9
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:57 00000001000003A3000000EA
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:00 00000001000003A3000000EB
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:00 00000001000003A3000000EC
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:58 00000001000003A3000000ED
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:02 00000001000003A3000000EE
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:01 00000001000003A3000000EF
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:59 00000001000003A3000000F0
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:01 00000001000003A3000000F1
-rw------- 1 pgsql pgsql 16777216 Feb 9 22:58 00000001000003A3000000F2
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:05 00000001000003A3000000F3
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:03 00000001000003A3000000F4
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:03 00000001000003A3000000F5
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:05 00000001000003A3000000F6
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:03 00000001000003A3000000F7
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:07 00000001000003A3000000F8
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:05 00000001000003A3000000F9
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:02 00000001000003A3000000FA
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:06 00000001000003A3000000FB
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:04 00000001000003A3000000FC
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:04 00000001000003A3000000FD
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:06 00000001000003A3000000FE
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:10 00000001000003A3000000FF
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:11 00000001000003A400000000
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:09 00000001000003A400000001
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:10 00000001000003A400000002
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:08 00000001000003A400000003
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:11 00000001000003A400000004
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:10 00000001000003A400000005
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:09 00000001000003A400000006
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:12 00000001000003A400000007
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:09 00000001000003A400000008
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:10 00000001000003A400000009
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:07 00000001000003A40000000A
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:11 00000001000003A40000000B
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:08 00000001000003A40000000C
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:10 00000001000003A40000000D
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:09 00000001000003A40000000E
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:11 00000001000003A40000000F
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:09 00000001000003A400000010
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:11 00000001000003A400000011
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:10 00000001000003A400000012
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:07 00000001000003A400000013
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:11 00000001000003A400000014
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:11 00000001000003A400000015
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:10 00000001000003A400000016
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:08 00000001000003A400000017
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:21 00000001000003A400000018
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:12 00000001000003A400000019
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:17 00000001000003A40000001A
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:20 00000001000003A40000001B
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:19 00000001000003A40000001C
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:15 00000001000003A40000001D
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:15 00000001000003A40000001E
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:12 00000001000003A40000001F
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:17 00000001000003A400000020
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:12 00000001000003A400000021
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:13 00000001000003A400000022
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:21 00000001000003A400000023
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:16 00000001000003A400000024
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:12 00000001000003A400000025
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:14 00000001000003A400000026
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:18 00000001000003A400000027
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:23 00000001000003A400000028
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:24 00000001000003A400000029
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:23 00000001000003A40000002A
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:22 00000001000003A40000002B
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:24 00000001000003A40000002C
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:30 00000001000003A40000002D
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:29 00000001000003A40000002E
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:31 00000001000003A40000002F
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:29 00000001000003A400000030
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:31 00000001000003A400000031
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:32 00000001000003A400000032
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:30 00000001000003A400000033
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:29 00000001000003A400000034
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:28 00000001000003A400000035
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:30 00000001000003A400000036
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:30 00000001000003A400000037
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:31 00000001000003A400000038
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:31 00000001000003A400000039
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:32 00000001000003A40000003A
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:32 00000001000003A40000003B
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:34 00000001000003A40000003C
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:33 00000001000003A40000003D
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:34 00000001000003A40000003E
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:34 00000001000003A40000003F
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:32 00000001000003A400000040
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:33 00000001000003A400000041
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:33 00000001000003A400000042
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:38 00000001000003A400000043
-rw------- 1 pgsql pgsql 16777216 Feb 9 23:40 00000001000003A400000044
drwx------ 2 pgsql pgsql 2 Dec 27 2014 archive_status
[root@slocum:/usr/local/pgsql/data] #
# cat postgresql.conf
# -----------------------------
# PostgreSQL configuration file
# -----------------------------
#
# This file consists of lines of the form:
#
# name = value
#
# (The "=" is optional.) Whitespace may be used. Comments are introduced with
# "#" anywhere on a line. The complete list of parameter names and allowed
# values can be found in the PostgreSQL documentation.
#
# The commented-out settings shown in this file represent the default values.
# Re-commenting a setting is NOT sufficient to revert it to the default value;
# you need to reload the server.
#
# This file is read on server startup and when the server receives a SIGHUP
# signal. If you edit the file on a running system, you have to SIGHUP the
# server for the changes to take effect, or use "pg_ctl reload". Some
# parameters, which are marked below, require a server shutdown and restart to
# take effect.
#
# Any parameter can also be given as a command-line option to the server, e.g.,
# "postgres -c log_connections=on". Some parameters can be changed at run time
# with the "SET" SQL command.
#
# Memory units: kB = kilobytes Time units: ms = milliseconds
# MB = megabytes s = seconds
# GB = gigabytes min = minutes
# TB = terabytes h = hours
# d = days
#------------------------------------------------------------------------------
# FILE LOCATIONS
#------------------------------------------------------------------------------
# The default values of these variables are driven from the -D command-line
# option or PGDATA environment variable, represented here as ConfigDir.
#data_directory = 'ConfigDir' # use data in another directory
# (change requires restart)
#hba_file = 'ConfigDir/pg_hba.conf' # host-based authentication file
# (change requires restart)
#ident_file = 'ConfigDir/pg_ident.conf' # ident configuration file
# (change requires restart)
# If external_pid_file is not explicitly set, no extra PID file is written.
#external_pid_file = '' # write an extra PID file
# (change requires restart)
#------------------------------------------------------------------------------
# CONNECTIONS AND AUTHENTICATION
#------------------------------------------------------------------------------
# - Connection Settings -
listen_addresses = '127.0.0.1,10.55.0.73' # what IP address(es) to listen on;
# comma-separated list of addresses;
# defaults to 'localhost'; use '*' for all
# (change requires restart)
#port = 5432 # (change requires restart)
max_connections = 100 # (change requires restart)
# Note: Increasing max_connections costs ~400 bytes of shared memory per
# connection slot, plus lock space (see max_locks_per_transaction).
#superuser_reserved_connections = 3 # (change requires restart)
#unix_socket_directories = '/tmp' # comma-separated list of directories
# (change requires restart)
#unix_socket_group = '' # (change requires restart)
#unix_socket_permissions = 0777 # begin with 0 to use octal notation
# (change requires restart)
#bonjour = off # advertise server via Bonjour
# (change requires restart)
#bonjour_name = '' # defaults to the computer name
# (change requires restart)
# - Security and Authentication -
#authentication_timeout = 1min # 1s-600s
#ssl = off # (change requires restart)
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
# (change requires restart)
#ssl_prefer_server_ciphers = on # (change requires restart)
#ssl_ecdh_curve = 'prime256v1' # (change requires restart)
#ssl_renegotiation_limit = 512MB # amount of data between renegotiations
#ssl_cert_file = 'server.crt' # (change requires restart)
#ssl_key_file = 'server.key' # (change requires restart)
#ssl_ca_file = '' # (change requires restart)
#ssl_crl_file = '' # (change requires restart)
#password_encryption = on
#db_user_namespace = off
# GSSAPI using Kerberos
#krb_server_keyfile = ''
#krb_caseins_users = off
# - TCP Keepalives -
# see "man 7 tcp" for details
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
# 0 selects the system default
#tcp_keepalives_interval = 0 # TCP_KEEPINTVL, in seconds;
# 0 selects the system default
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
# 0 selects the system default
#------------------------------------------------------------------------------
# RESOURCE USAGE (except WAL)
#------------------------------------------------------------------------------
# - Memory -
shared_buffers = 4GB # min 128kB
# (change requires restart)
#huge_pages = try # on, off, or try
# (change requires restart)
temp_buffers = 8MB # min 800kB
# tried this, took 8 hours on test, vs
#temp_buffers = 128MB
#max_prepared_transactions = 0 # zero disables the feature
# (change requires restart)
# Note: Increasing max_prepared_transactions costs ~600 bytes of shared memory
# per transaction slot, plus lock space (see max_locks_per_transaction).
# It is not advisable to set max_prepared_transactions nonzero unless you
# actively intend to use prepared transactions.
work_mem = 1GB # min 64kB
maintenance_work_mem = 1GB # min 1MB
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
#max_stack_depth = 2MB # min 100kB
dynamic_shared_memory_type = posix # the default is the first option
# supported by the operating system:
# posix
# sysv
# windows
# mmap
# use none to disable dynamic shared memory
# - Disk -
#temp_file_limit = -1 # limits per-session temp file space
# in kB, or -1 for no limit
# - Kernel Resource Usage -
#max_files_per_process = 1000 # min 25
# (change requires restart)
#shared_preload_libraries = '' # (change requires restart)
# - Cost-Based Vacuum Delay -
#vacuum_cost_delay = 0 # 0-100 milliseconds
#vacuum_cost_page_hit = 1 # 0-10000 credits
#vacuum_cost_page_miss = 10 # 0-10000 credits
#vacuum_cost_page_dirty = 20 # 0-10000 credits
#vacuum_cost_limit = 200 # 1-10000 credits
# - Background Writer -
#bgwriter_delay = 200ms # 10-10000ms between rounds
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multipler on buffers scanned/round
# - Asynchronous Behavior -
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
#max_worker_processes = 8
#------------------------------------------------------------------------------
# WRITE AHEAD LOG
#------------------------------------------------------------------------------
# - Settings -
#wal_level = minimal # minimal, archive, hot_standby, or logical
# (change requires restart)
#fsync = on # turns forced synchronization on or off
#synchronous_commit = on # synchronization level;
# off, local, remote_write, or on
#wal_sync_method = fsync # the default is the first option
# supported by the operating system:
# open_datasync
# fdatasync (default on Linux)
# fsync
# fsync_writethrough
# open_sync
#full_page_writes = on # recover from partial page writes
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
# (change requires restart)
#wal_writer_delay = 200ms # 1-10000 milliseconds
#commit_delay = 0 # range 0-100000, in microseconds
#commit_siblings = 5 # range 1-1000
# - Checkpoints -
checkpoint_segments = 512 # in logfile segments, min 1, 16MB each
#checkpoint_timeout = 5min # range 30s-1h
checkpoint_completion_target = 0.7 # checkpoint target duration, 0.0 - 1.0
#checkpoint_warning = 30s # 0 disables
# - Archiving -
#archive_mode = off # allows archiving to be done
# (change requires restart)
#archive_command = '' # command to use to archive a logfile segment
# placeholders: %p = path of file to archive
# %f = file name only
# e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'
#archive_timeout = 0 # force a logfile segment switch after this
# number of seconds; 0 disables
#------------------------------------------------------------------------------
# REPLICATION
#------------------------------------------------------------------------------
# - Sending Server(s) -
# Set these on the master and on any standby that will send replication data.
#max_wal_senders = 0 # max number of walsender processes
# (change requires restart)
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
#wal_sender_timeout = 60s # in milliseconds; 0 disables
#max_replication_slots = 0 # max number of replication slots
# (change requires restart)
# - Master Server -
# These settings are ignored on a standby server.
#synchronous_standby_names = '' # standby servers that provide sync rep
# comma-separated list of application_name
# from standby(s); '*' = all
#vacuum_defer_cleanup_age = 0 # number of xacts by which cleanup is delayed
# - Standby Servers -
# These settings are ignored on a master server.
#hot_standby = off # "on" allows queries during recovery
# (change requires restart)
#max_standby_archive_delay = 30s # max delay before canceling queries
# when reading WAL from archive;
# -1 allows indefinite delay
#max_standby_streaming_delay = 30s # max delay before canceling queries
# when reading streaming WAL;
# -1 allows indefinite delay
#wal_receiver_status_interval = 10s # send replies at least this often
# 0 disables
#hot_standby_feedback = off # send info from standby to prevent
# query conflicts
#wal_receiver_timeout = 60s # time that receiver waits for
# communication from master
# in milliseconds; 0 disables
#------------------------------------------------------------------------------
# QUERY TUNING
#------------------------------------------------------------------------------
# - Planner Method Configuration -
#enable_bitmapscan = on
#enable_hashagg = on
#enable_hashjoin = on
#enable_indexscan = on
#enable_indexonlyscan = on
#enable_material = on
#enable_mergejoin = on
#enable_nestloop = on
#enable_seqscan = on
#enable_sort = on
#enable_tidscan = on
# - Planner Cost Constants -
#seq_page_cost = 1.0 # measured on an arbitrary scale
#random_page_cost = 4.0 # same scale as above
#cpu_tuple_cost = 0.01 # same scale as above
#cpu_index_tuple_cost = 0.005 # same scale as above
#cpu_operator_cost = 0.0025 # same scale as above
#effective_cache_size = 4GB
# - Genetic Query Optimizer -
#geqo = on
#geqo_threshold = 12
#geqo_effort = 5 # range 1-10
#geqo_pool_size = 0 # selects default based on effort
#geqo_generations = 0 # selects default based on effort
#geqo_selection_bias = 2.0 # range 1.5-2.0
#geqo_seed = 0.0 # range 0.0-1.0
# - Other Planner Options -
#default_statistics_target = 100 # range 1-10000
#constraint_exclusion = partition # on, off, or partition
#cursor_tuple_fraction = 0.1 # range 0.0-1.0
#from_collapse_limit = 8
#join_collapse_limit = 8 # 1 disables collapsing of explicit
# JOIN clauses
#------------------------------------------------------------------------------
# ERROR REPORTING AND LOGGING
#------------------------------------------------------------------------------
# - Where to Log -
log_destination = 'syslog'
#log_destination = 'stderr' # Valid values are combinations of
# stderr, csvlog, syslog, and eventlog,
# depending on platform. csvlog
# requires logging_collector to be on.
# This is used when logging to stderr:
#logging_collector = off # Enable capturing of stderr and csvlog
# into log files. Required to be on for
# csvlogs.
# (change requires restart)
# These are only used if logging_collector is on:
#log_directory = 'pg_log' # directory where log files are written,
# can be absolute or relative to PGDATA
#log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,
# can include strftime() escapes
#log_file_mode = 0600 # creation mode for log files,
# begin with 0 to use octal notation
#log_truncate_on_rotation = off # If on, an existing log file with the
# same name as the new log file will be
# truncated rather than appended to.
# But such truncation only occurs on
# time-driven rotation, not on restarts
# or size-driven rotation. Default is
# off, meaning append to existing files
# in all cases.
#log_rotation_age = 1d # Automatic rotation of logfiles will
# happen after that time. 0 disables.
#log_rotation_size = 10MB # Automatic rotation of logfiles will
# happen after that much log output.
# 0 disables.
# These are relevant when logging to syslog:
#syslog_facility = 'LOCAL0'
#syslog_ident = 'postgres'
# This is only relevant when logging to eventlog (win32):
#event_source = 'PostgreSQL'
# - When to Log -
client_min_messages = warning # values in order of decreasing detail:
# debug5
# debug4
# debug3
# debug2
# debug1
# log
# notice
# warning
# error
log_min_messages = warning # values in order of decreasing detail:
# debug5
# debug4
# debug3
# debug2
# debug1
# info
# notice
# warning
# error
# log
# fatal
# panic
#log_min_error_statement = error # values in order of decreasing detail:
# debug5
# debug4
# debug3
# debug2
# debug1
# info
# notice
# warning
# error
# log
# fatal
# panic (effectively off)
#log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
# and their durations, > 0 logs only
# statements running at least this number
# of milliseconds
# - What to Log -
#debug_print_parse = off
#debug_print_rewritten = off
#debug_print_plan = off
#debug_pretty_print = on
log_checkpoints = on
log_connections = on
log_disconnections = on
log_duration = off
#log_error_verbosity = default # terse, default, or verbose messages
#log_hostname = off
#log_line_prefix = '' # special values:
# %a = application name
# %u = user name
# %d = database name
# %r = remote host and port
# %h = remote host
# %p = process ID
# %t = timestamp without milliseconds
# %m = timestamp with milliseconds
# %i = command tag
# %e = SQL state
# %c = session ID
# %l = session line number
# %s = session start timestamp
# %v = virtual transaction ID
# %x = transaction ID (0 if none)
# %q = stop here in non-session
# processes
# %% = '%'
# e.g. '<%u%%%d> '
log_lock_waits = on # log lock waits >= deadlock_timeout
#log_statement = 'none' # none, ddl, mod, all
#log_temp_files = -1 # log temporary files equal or larger
# than the specified size in kilobytes;
# -1 disables, 0 logs all temp files
log_timezone = 'UTC'
#------------------------------------------------------------------------------
# RUNTIME STATISTICS
#------------------------------------------------------------------------------
# - Query/Index Statistics Collector -
#track_activities = on
#track_counts = on
#track_io_timing = off
#track_functions = none # none, pl, all
#track_activity_query_size = 1024 # (change requires restart)
# On FreeBSD, this is a performance hog, so keep it off if you need speed
update_process_title = off
#update_process_title = on
#stats_temp_directory = 'pg_stat_tmp'
# - Statistics Monitoring -
#log_parser_stats = off
#log_planner_stats = off
#log_executor_stats = off
#log_statement_stats = off
#------------------------------------------------------------------------------
# AUTOVACUUM PARAMETERS
#------------------------------------------------------------------------------
#autovacuum = on # Enable autovacuum subprocess? 'on'
# requires track_counts to also be on.
#log_autovacuum_min_duration = -1 # -1 disables, 0 logs all actions and
# their durations, > 0 logs only
# actions running at least this number
# of milliseconds.
#autovacuum_max_workers = 3 # max number of autovacuum subprocesses
# (change requires restart)
#autovacuum_naptime = 1min # time between autovacuum runs
#autovacuum_vacuum_threshold = 50 # min number of row updates before
# vacuum
#autovacuum_analyze_threshold = 50 # min number of row updates before
# analyze
#autovacuum_vacuum_scale_factor = 0.2 # fraction of table size before vacuum
#autovacuum_analyze_scale_factor = 0.1 # fraction of table size before analyze
#autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum
# (change requires restart)
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
# before forced vacuum
# (change requires restart)
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
# autovacuum, in milliseconds;
# -1 means use vacuum_cost_delay
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
# autovacuum, -1 means use
# vacuum_cost_limit
#------------------------------------------------------------------------------
# CLIENT CONNECTION DEFAULTS
#------------------------------------------------------------------------------
# - Statement Behavior -
#search_path = '"$user",public' # schema names
#default_tablespace = '' # a tablespace name, '' uses the default
#temp_tablespaces = '' # a list of tablespace names, '' uses
# only default tablespace
#check_function_bodies = on
#default_transaction_isolation = 'read committed'
#default_transaction_read_only = off
#default_transaction_deferrable = off
#session_replication_role = 'origin'
#statement_timeout = 0 # in milliseconds, 0 is disabled
#lock_timeout = 0 # in milliseconds, 0 is disabled
#vacuum_freeze_min_age = 50000000
#vacuum_freeze_table_age = 150000000
#vacuum_multixact_freeze_min_age = 5000000
#vacuum_multixact_freeze_table_age = 150000000
#bytea_output = 'hex' # hex, escape
#xmlbinary = 'base64'
#xmloption = 'content'
# - Locale and Formatting -
datestyle = 'iso, mdy'
#intervalstyle = 'postgres'
timezone = 'UTC'
#timezone_abbreviations = 'Default' # Select the set of available time zone
# abbreviations. Currently, there are
# Default
# Australia (historical usage)
# India
# You can create your own file in
# share/timezonesets/.
#extra_float_digits = 0 # min -15, max 3
#client_encoding = sql_ascii # actually, defaults to database
# encoding
# These settings are initialized by initdb, but they can be changed.
lc_messages = 'C' # locale for system error message
# strings
lc_monetary = 'C' # locale for monetary formatting
lc_numeric = 'C' # locale for number formatting
lc_time = 'C' # locale for time formatting
# default configuration for text search
default_text_search_config = 'pg_catalog.english'
# - Other Defaults -
#dynamic_library_path = '$libdir'
#local_preload_libraries = ''
#session_preload_libraries = ''
#------------------------------------------------------------------------------
# LOCK MANAGEMENT
#------------------------------------------------------------------------------
#deadlock_timeout = 1s
#max_locks_per_transaction = 64 # min 10
# (change requires restart)
# Note: Each lock table slot uses ~270 bytes of shared memory, and there are
# max_locks_per_transaction * (max_connections + max_prepared_transactions)
# lock table slots.
#max_pred_locks_per_transaction = 64 # min 10
# (change requires restart)
#------------------------------------------------------------------------------
# VERSION/PLATFORM COMPATIBILITY
#------------------------------------------------------------------------------
# - Previous PostgreSQL Versions -
#array_nulls = on
#backslash_quote = safe_encoding # on, off, or safe_encoding
#default_with_oids = off
#escape_string_warning = on
#lo_compat_privileges = off
#quote_all_identifiers = off
#sql_inheritance = on
#standard_conforming_strings = on
#synchronize_seqscans = on
# - Other Platforms and Clients -
#transform_null_equals = off
#------------------------------------------------------------------------------
# ERROR HANDLING
#------------------------------------------------------------------------------
#exit_on_error = off # terminate session on any error?
#restart_after_crash = on # reinitialize after backend crash?
#------------------------------------------------------------------------------
# CONFIG FILE INCLUDES
#------------------------------------------------------------------------------
# These options allow settings to be loaded from files other than the
# default postgresql.conf.
#include_dir = 'conf.d' # include files ending in '.conf' from
# directory 'conf.d'
#include_if_exists = 'exists.conf' # include file only if it exists
#include = 'special.conf' # include file
#------------------------------------------------------------------------------
# CUSTOMIZED OPTIONS
#------------------------------------------------------------------------------
# Add settings for extensions here
This is /usr/local/pgsql
# zfs get all system/data/pgsql
NAME PROPERTY VALUE SOURCE
system/data/pgsql type filesystem -
system/data/pgsql creation Fri May 3 9:38 2013 -
system/data/pgsql used 731G -
system/data/pgsql available 6.91T -
system/data/pgsql referenced 306G -
system/data/pgsql compressratio 1.40x -
system/data/pgsql mounted yes -
system/data/pgsql quota none default
system/data/pgsql reservation none default
system/data/pgsql recordsize 8K local
system/data/pgsql mountpoint /usr/local/pgsql local
system/data/pgsql sharenfs off default
system/data/pgsql checksum fletcher4 inherited from system
system/data/pgsql compression lz4 local
system/data/pgsql atime off inherited from system
system/data/pgsql devices on default
system/data/pgsql exec on default
system/data/pgsql setuid on inherited from system/data
system/data/pgsql readonly off default
system/data/pgsql jailed off default
system/data/pgsql snapdir hidden default
system/data/pgsql aclmode discard default
system/data/pgsql aclinherit restricted default
system/data/pgsql canmount on local
system/data/pgsql xattr off temporary
system/data/pgsql copies 1 default
system/data/pgsql version 5 -
system/data/pgsql utf8only off -
system/data/pgsql normalization none -
system/data/pgsql casesensitivity sensitive -
system/data/pgsql vscan off default
system/data/pgsql nbmand off default
system/data/pgsql sharesmb off default
system/data/pgsql refquota none default
system/data/pgsql refreservation none default
system/data/pgsql primarycache metadata local
system/data/pgsql secondarycache all default
system/data/pgsql usedbysnapshots 426G -
system/data/pgsql usedbydataset 306G -
system/data/pgsql usedbychildren 0 -
system/data/pgsql usedbyrefreservation 0 -
system/data/pgsql logbias latency default
system/data/pgsql dedup off default
system/data/pgsql mlslabel -
system/data/pgsql sync standard default
system/data/pgsql refcompressratio 1.55x -
system/data/pgsql written 33.0M -
system/data/pgsql logicalused 493G -
system/data/pgsql logicalreferenced 231G -
system/data/pgsql volmode default default
system/data/pgsql filesystem_limit none default
system/data/pgsql snapshot_limit none default
system/data/pgsql filesystem_count none default
system/data/pgsql snapshot_count none default
system/data/pgsql redundant_metadata all default
# zpool status
pool: system
state: ONLINE
scan: scrub canceled on Tue Feb 9 23:49:04 2016
config:
NAME STATE READ WRITE CKSUM
system ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gpt/disk0 ONLINE 0 0 0
gpt/disk1 ONLINE 0 0 0
gpt/disk2 ONLINE 0 0 0
gpt/disk3 ONLINE 0 0 0
gpt/disk4 ONLINE 0 0 0
gpt/disk5 ONLINE 0 0 0
logs
mirror-1 ONLINE 0 0 0
gpt/disk_134106400102 ONLINE 0 0 0
gpt/disk_133887400683 ONLINE 0 0 0
errors: No known data errors
The logs are paritions on an SSD. The rest is on HDD.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.