Greetings,
I have a 23GB data table upon which I am building a primary key of three
columns. The data is mounted in a 137GB device and pg_xlog is mounted
on a separate 3.5GB device. I have configured 24 checkpoint segments,
which I expect gives me a worst-case usage in pg_xlog of 384MB.
Unfortunately, during the CREATE INDEX, pg_xlog becomes full!
[There's an ls(1) listing at the end of this mail, if you care to see]
The operation created 222 files in pg_xlog before it filled the device,
and there's no indication that it was planning to stop there. Is there
some factor, other than checkpoint segments, which controls the size of
pg_xlog, or is there some other operation that also writes files in
pg_xlog, or, is the server just running away?
I have reset the xlogs and I'm trying again.
Regards,
Jeffrey
mistral:/pg_xlog_full# ls -l
total 3641692
-rw------- 1 postgres postgres 16777216 May 12 15:51 000000060000009 2
-rw------- 1 postgres postgres 16777216 May 12 15:51 000000060000009 3
-rw------- 1 postgres postgres 16777216 May 12 15:51 000000060000009 4
-rw------- 1 postgres postgres 16777216 May 12 15:51 000000060000009 5
-rw------- 1 postgres postgres 16777216 May 12 15:52 000000060000009 6
-rw------- 1 postgres postgres 16777216 May 12 15:52 000000060000009 7
-rw------- 1 postgres postgres 16777216 May 12 15:52 000000060000009 8
-rw------- 1 postgres postgres 16777216 May 12 15:52 000000060000009 9
-rw------- 1 postgres postgres 16777216 May 12 15:52 000000060000009 A
-rw------- 1 postgres postgres 16777216 May 12 15:52 000000060000009 B
-rw------- 1 postgres postgres 16777216 May 12 15:53 000000060000009 C
-rw------- 1 postgres postgres 16777216 May 12 15:53 000000060000009 D
-rw------- 1 postgres postgres 16777216 May 12 15:53 000000060000009 E
-rw------- 1 postgres postgres 16777216 May 12 15:53 000000060000009 F
-rw------- 1 postgres postgres 16777216 May 12 15:53 00000006000000A 0
-rw------- 1 postgres postgres 16777216 May 12 15:53 00000006000000A 1
-rw------- 1 postgres postgres 16777216 May 12 15:54 00000006000000A 2
-rw------- 1 postgres postgres 16777216 May 12 15:54 00000006000000A 3
-rw------- 1 postgres postgres 16777216 May 12 15:54 00000006000000A 4
-rw------- 1 postgres postgres 16777216 May 12 15:54 00000006000000A 5
-rw------- 1 postgres postgres 16777216 May 12 15:54 00000006000000A 6
-rw------- 1 postgres postgres 16777216 May 12 15:54 00000006000000A 7
-rw------- 1 postgres postgres 16777216 May 12 15:54 00000006000000A 8
-rw------- 1 postgres postgres 16777216 May 12 15:55 00000006000000A 9
-rw------- 1 postgres postgres 16777216 May 12 15:55 00000006000000A A
-rw------- 1 postgres postgres 16777216 May 12 15:55 00000006000000A B
-rw------- 1 postgres postgres 16777216 May 12 15:55 00000006000000A C
-rw------- 1 postgres postgres 16777216 May 12 15:55 00000006000000A D
-rw------- 1 postgres postgres 16777216 May 12 15:55 00000006000000A E
-rw------- 1 postgres postgres 16777216 May 12 15:56 00000006000000A F
-rw------- 1 postgres postgres 16777216 May 12 15:56 00000006000000B 0
-rw------- 1 postgres postgres 16777216 May 12 15:56 00000006000000B 1
-rw------- 1 postgres postgres 16777216 May 12 15:56 00000006000000B 2
-rw------- 1 postgres postgres 16777216 May 12 15:56 00000006000000B 3
-rw------- 1 postgres postgres 16777216 May 12 15:56 00000006000000B 4
-rw------- 1 postgres postgres 16777216 May 12 15:57 00000006000000B 5
-rw------- 1 postgres postgres 16777216 May 12 15:57 00000006000000B 6
-rw------- 1 postgres postgres 16777216 May 12 15:57 00000006000000B 7
-rw------- 1 postgres postgres 16777216 May 12 15:57 00000006000000B 8
-rw------- 1 postgres postgres 16777216 May 12 15:57 00000006000000B 9
-rw------- 1 postgres postgres 16777216 May 12 15:57 00000006000000B A
-rw------- 1 postgres postgres 16777216 May 12 15:58 00000006000000B B
-rw------- 1 postgres postgres 16777216 May 12 15:58 00000006000000B C
-rw------- 1 postgres postgres 16777216 May 12 15:58 00000006000000B D
-rw------- 1 postgres postgres 16777216 May 12 15:58 00000006000000B E
-rw------- 1 postgres postgres 16777216 May 12 15:58 00000006000000B F
-rw------- 1 postgres postgres 16777216 May 12 15:58 00000006000000C 0
-rw------- 1 postgres postgres 16777216 May 12 15:58 00000006000000C 1
-rw------- 1 postgres postgres 16777216 May 12 15:59 00000006000000C 2
-rw------- 1 postgres postgres 16777216 May 12 15:59 00000006000000C 3
-rw------- 1 postgres postgres 16777216 May 12 15:59 00000006000000C 4
-rw------- 1 postgres postgres 16777216 May 12 15:59 00000006000000C 5
-rw------- 1 postgres postgres 16777216 May 12 15:59 00000006000000C 6
-rw------- 1 postgres postgres 16777216 May 12 15:59 00000006000000C 7
-rw------- 1 postgres postgres 16777216 May 12 16:00 00000006000000C 8
-rw------- 1 postgres postgres 16777216 May 12 16:00 00000006000000C 9
-rw------- 1 postgres postgres 16777216 May 12 16:00 00000006000000C A
-rw------- 1 postgres postgres 16777216 May 12 16:00 00000006000000C B
-rw------- 1 postgres postgres 16777216 May 12 16:00 00000006000000C C
-rw------- 1 postgres postgres 16777216 May 12 16:01 00000006000000C D
-rw------- 1 postgres postgres 16777216 May 12 16:01 00000006000000C E
-rw------- 1 postgres postgres 16777216 May 12 16:01 00000006000000C F
-rw------- 1 postgres postgres 16777216 May 12 16:01 00000006000000D 0
-rw------- 1 postgres postgres 16777216 May 12 16:01 00000006000000D 1
-rw------- 1 postgres postgres 16777216 May 12 16:01 00000006000000D 2
-rw------- 1 postgres postgres 16777216 May 12 16:02 00000006000000D 3
-rw------- 1 postgres postgres 16777216 May 12 16:02 00000006000000D 4
-rw------- 1 postgres postgres 16777216 May 12 16:02 00000006000000D 5
-rw------- 1 postgres postgres 16777216 May 12 16:02 00000006000000D 6
-rw------- 1 postgres postgres 16777216 May 12 16:02 00000006000000D 7
-rw------- 1 postgres postgres 16777216 May 12 16:03 00000006000000D 8
-rw------- 1 postgres postgres 16777216 May 12 16:03 00000006000000D 9
-rw------- 1 postgres postgres 16777216 May 12 16:03 00000006000000D A
-rw------- 1 postgres postgres 16777216 May 12 16:03 00000006000000D B
-rw------- 1 postgres postgres 16777216 May 12 16:03 00000006000000D C
-rw------- 1 postgres postgres 16777216 May 12 16:03 00000006000000D D
-rw------- 1 postgres postgres 16777216 May 12 16:04 00000006000000D E
-rw------- 1 postgres postgres 16777216 May 12 16:04 00000006000000D F
-rw------- 1 postgres postgres 16777216 May 12 16:04 00000006000000E 0
-rw------- 1 postgres postgres 16777216 May 12 16:04 00000006000000E 1
-rw------- 1 postgres postgres 16777216 May 12 16:04 00000006000000E 2
-rw------- 1 postgres postgres 16777216 May 12 16:04 00000006000000E 3
-rw------- 1 postgres postgres 16777216 May 12 16:05 00000006000000E 4
-rw------- 1 postgres postgres 16777216 May 12 16:05 00000006000000E 5
-rw------- 1 postgres postgres 16777216 May 12 16:05 00000006000000E 6
-rw------- 1 postgres postgres 16777216 May 12 16:05 00000006000000E 7
-rw------- 1 postgres postgres 16777216 May 12 16:05 00000006000000E 8
-rw------- 1 postgres postgres 16777216 May 12 16:06 00000006000000E 9
-rw------- 1 postgres postgres 16777216 May 12 16:06 00000006000000E A
-rw------- 1 postgres postgres 16777216 May 12 16:06 00000006000000E B
-rw------- 1 postgres postgres 16777216 May 12 16:06 00000006000000E C
-rw------- 1 postgres postgres 16777216 May 12 16:07 00000006000000E D
-rw------- 1 postgres postgres 16777216 May 12 16:07 00000006000000E E
-rw------- 1 postgres postgres 16777216 May 12 16:07 00000006000000E F
-rw------- 1 postgres postgres 16777216 May 12 16:07 00000006000000F 0
-rw------- 1 postgres postgres 16777216 May 12 16:07 00000006000000F 1
-rw------- 1 postgres postgres 16777216 May 12 16:08 00000006000000F 2
-rw------- 1 postgres postgres 16777216 May 12 16:08 00000006000000F 3
-rw------- 1 postgres postgres 16777216 May 12 16:08 00000006000000F 4
-rw------- 1 postgres postgres 16777216 May 12 16:08 00000006000000F 5
-rw------- 1 postgres postgres 16777216 May 12 16:08 00000006000000F 6
-rw------- 1 postgres postgres 16777216 May 12 16:09 00000006000000F 7
-rw------- 1 postgres postgres 16777216 May 12 16:09 00000006000000F 8
-rw------- 1 postgres postgres 16777216 May 12 16:09 00000006000000F 9
-rw------- 1 postgres postgres 16777216 May 12 16:09 00000006000000F A
-rw------- 1 postgres postgres 16777216 May 12 16:09 00000006000000F B
-rw------- 1 postgres postgres 16777216 May 12 16:09 00000006000000F C
-rw------- 1 postgres postgres 16777216 May 12 16:10 00000006000000F D
-rw------- 1 postgres postgres 16777216 May 12 16:10 00000006000000F E
-rw------- 1 postgres postgres 16777216 May 12 16:10 000000070000000 0
-rw------- 1 postgres postgres 16777216 May 12 16:10 000000070000000 1
-rw------- 1 postgres postgres 16777216 May 12 16:10 000000070000000 2
-rw------- 1 postgres postgres 16777216 May 12 16:11 000000070000000 3
-rw------- 1 postgres postgres 16777216 May 12 16:11 000000070000000 4
-rw------- 1 postgres postgres 16777216 May 12 16:11 000000070000000 5
-rw------- 1 postgres postgres 16777216 May 12 16:11 000000070000000 6
-rw------- 1 postgres postgres 16777216 May 12 16:12 000000070000000 7
-rw------- 1 postgres postgres 16777216 May 12 16:12 000000070000000 8
-rw------- 1 postgres postgres 16777216 May 12 16:12 000000070000000 9
-rw------- 1 postgres postgres 16777216 May 12 16:12 000000070000000 A
-rw------- 1 postgres postgres 16777216 May 12 16:12 000000070000000 B
-rw------- 1 postgres postgres 16777216 May 12 16:13 000000070000000 C
-rw------- 1 postgres postgres 16777216 May 12 16:13 000000070000000 D
-rw------- 1 postgres postgres 16777216 May 12 16:13 000000070000000 E
-rw------- 1 postgres postgres 16777216 May 12 16:13 000000070000000 F
-rw------- 1 postgres postgres 16777216 May 12 16:13 000000070000001 0
-rw------- 1 postgres postgres 16777216 May 12 16:14 000000070000001 1
-rw------- 1 postgres postgres 16777216 May 12 16:14 000000070000001 2
-rw------- 1 postgres postgres 16777216 May 12 16:14 000000070000001 3
-rw------- 1 postgres postgres 16777216 May 12 16:14 000000070000001 4
-rw------- 1 postgres postgres 16777216 May 12 16:15 000000070000001 5
-rw------- 1 postgres postgres 16777216 May 12 16:15 000000070000001 6
-rw------- 1 postgres postgres 16777216 May 12 16:15 000000070000001 7
-rw------- 1 postgres postgres 16777216 May 12 16:15 000000070000001 8
-rw------- 1 postgres postgres 16777216 May 12 16:15 000000070000001 9
-rw------- 1 postgres postgres 16777216 May 12 16:16 000000070000001 A
-rw------- 1 postgres postgres 16777216 May 12 16:16 000000070000001 B
-rw------- 1 postgres postgres 16777216 May 12 16:16 000000070000001 C
-rw------- 1 postgres postgres 16777216 May 12 16:16 000000070000001 D
-rw------- 1 postgres postgres 16777216 May 12 16:17 000000070000001 E
-rw------- 1 postgres postgres 16777216 May 12 16:17 000000070000001 F
-rw------- 1 postgres postgres 16777216 May 12 16:17 000000070000002 0
-rw------- 1 postgres postgres 16777216 May 12 16:17 000000070000002 1
-rw------- 1 postgres postgres 16777216 May 12 16:18 000000070000002 2
-rw------- 1 postgres postgres 16777216 May 12 16:18 000000070000002 3
-rw------- 1 postgres postgres 16777216 May 12 16:18 000000070000002 4
-rw------- 1 postgres postgres 16777216 May 12 16:18 000000070000002 5
-rw------- 1 postgres postgres 16777216 May 12 16:19 000000070000002 6
-rw------- 1 postgres postgres 16777216 May 12 16:19 000000070000002 7
-rw------- 1 postgres postgres 16777216 May 12 16:19 000000070000002 8
-rw------- 1 postgres postgres 16777216 May 12 16:19 000000070000002 9
-rw------- 1 postgres postgres 16777216 May 12 16:20 000000070000002 A
-rw------- 1 postgres postgres 16777216 May 12 16:20 000000070000002 B
-rw------- 1 postgres postgres 16777216 May 12 16:20 000000070000002 C
-rw------- 1 postgres postgres 16777216 May 12 16:20 000000070000002 D
-rw------- 1 postgres postgres 16777216 May 12 16:20 000000070000002 E
-rw------- 1 postgres postgres 16777216 May 12 16:21 000000070000002 F
-rw------- 1 postgres postgres 16777216 May 12 16:21 000000070000003 0
-rw------- 1 postgres postgres 16777216 May 12 16:21 000000070000003 1
-rw------- 1 postgres postgres 16777216 May 12 16:21 000000070000003 2
-rw------- 1 postgres postgres 16777216 May 12 16:22 000000070000003 3
-rw------- 1 postgres postgres 16777216 May 12 16:22 000000070000003 4
-rw------- 1 postgres postgres 16777216 May 12 16:22 000000070000003 5
-rw------- 1 postgres postgres 16777216 May 12 16:22 000000070000003 6
-rw------- 1 postgres postgres 16777216 May 12 16:23 000000070000003 7
-rw------- 1 postgres postgres 16777216 May 12 16:23 000000070000003 8
-rw------- 1 postgres postgres 16777216 May 12 16:23 000000070000003 9
-rw------- 1 postgres postgres 16777216 May 12 16:23 000000070000003 A
-rw------- 1 postgres postgres 16777216 May 12 16:24 000000070000003 B
-rw------- 1 postgres postgres 16777216 May 12 16:24 000000070000003 C
-rw------- 1 postgres postgres 16777216 May 12 16:24 000000070000003 D
-rw------- 1 postgres postgres 16777216 May 12 16:24 000000070000003 E
-rw------- 1 postgres postgres 16777216 May 12 16:25 000000070000003 F
-rw------- 1 postgres postgres 16777216 May 12 16:25 000000070000004 0
-rw------- 1 postgres postgres 16777216 May 12 16:25 000000070000004 1
-rw------- 1 postgres postgres 16777216 May 12 16:25 000000070000004 2
-rw------- 1 postgres postgres 16777216 May 12 16:26 000000070000004 3
-rw------- 1 postgres postgres 16777216 May 12 16:26 000000070000004 4
-rw------- 1 postgres postgres 16777216 May 12 16:26 000000070000004 5
-rw------- 1 postgres postgres 16777216 May 12 16:26 000000070000004 6
-rw------- 1 postgres postgres 16777216 May 12 16:26 000000070000004 7
-rw------- 1 postgres postgres 16777216 May 12 16:27 000000070000004 8
-rw------- 1 postgres postgres 16777216 May 12 16:27 000000070000004 9
-rw------- 1 postgres postgres 16777216 May 12 16:27 000000070000004 A
-rw------- 1 postgres postgres 16777216 May 12 16:27 000000070000004 B
-rw------- 1 postgres postgres 16777216 May 12 16:28 000000070000004 C
-rw------- 1 postgres postgres 16777216 May 12 16:28 000000070000004 D
-rw------- 1 postgres postgres 16777216 May 12 16:28 000000070000004 E
-rw------- 1 postgres postgres 16777216 May 12 16:28 000000070000004 F
-rw------- 1 postgres postgres 16777216 May 12 16:29 000000070000005 0
-rw------- 1 postgres postgres 16777216 May 12 16:29 000000070000005 1
-rw------- 1 postgres postgres 16777216 May 12 16:29 000000070000005 2
-rw------- 1 postgres postgres 16777216 May 12 16:29 000000070000005 3
-rw------- 1 postgres postgres 16777216 May 12 16:30 000000070000005 4
-rw------- 1 postgres postgres 16777216 May 12 16:30 000000070000005 5
-rw------- 1 postgres postgres 16777216 May 12 16:30 000000070000005 6
-rw------- 1 postgres postgres 16777216 May 12 16:30 000000070000005 7
-rw------- 1 postgres postgres 16777216 May 12 16:31 000000070000005 8
-rw------- 1 postgres postgres 16777216 May 12 16:31 000000070000005 9
-rw------- 1 postgres postgres 16777216 May 12 16:31 000000070000005 A
-rw------- 1 postgres postgres 16777216 May 12 16:32 000000070000005 B
-rw------- 1 postgres postgres 16777216 May 12 16:32 000000070000005 C
-rw------- 1 postgres postgres 16777216 May 12 16:32 000000070000005 D
-rw------- 1 postgres postgres 16777216 May 12 16:32 000000070000005 E
-rw------- 1 postgres postgres 16777216 May 12 16:33 000000070000005 F
-rw------- 1 postgres postgres 16777216 May 12 16:33 000000070000006 0
-rw------- 1 postgres postgres 16777216 May 12 16:33 000000070000006 1
-rw------- 1 postgres postgres 16777216 May 12 16:33 000000070000006 2
-rw------- 1 postgres postgres 16777216 May 12 16:34 000000070000006 3
-rw------- 1 postgres postgres 16777216 May 12 16:34 000000070000006 4
-rw------- 1 postgres postgres 16777216 May 12 16:34 000000070000006 5
-rw------- 1 postgres postgres 16777216 May 12 16:34 000000070000006 6
-rw------- 1 postgres postgres 16777216 May 12 16:34 000000070000006 7
-rw------- 1 postgres postgres 16777216 May 12 16:35 000000070000006 8
-rw------- 1 postgres postgres 16777216 May 12 16:35 000000070000006 9
-rw------- 1 postgres postgres 16777216 May 12 16:35 000000070000006 A
-rw------- 1 postgres postgres 16777216 May 12 16:35 000000070000006 B
-rw------- 1 postgres postgres 16777216 May 12 16:36 000000070000006 C
-rw------- 1 postgres postgres 16777216 May 12 16:36 000000070000006 D
-rw------- 1 postgres postgres 16777216 May 12 16:36 000000070000006 E
-rw------- 1 postgres postgres 16777216 May 12 16:36 000000070000006 F
-rw------- 1 postgres postgres 16777216 May 12 16:45 000000070000007 0
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postg resql.org so that your
message can get through to the mailing list cleanly