![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
BEGIN; ... ... ... END; PANIC: invalid xlog record length 236052 server closed the connection unexpectedly |
#2
| |||
| |||
|
|
BEGIN; ... ... ... END; PANIC: invalid xlog record length 236052 |
#3
| |||
| |||
|
|
On Sun, Aug 22, 2004 at 09:39:07AM +0800, ?????? wrote: PANIC: invalid xlog record length 236052 Huh, so what kind of operations did you execute within the transaction? |
#4
| |||
| |||
|
|
WARNING: out of shared memory ERROR: out of shared memory HINT: You may need to increase max_locks_per_transaction. WARNING: StartAbortedSubTransaction while in START state ERROR: current transaction is aborted, commands ignored until end of transaction block ERROR: current transaction is aborted, commands ignored until end of transaction block ... etc ... which is fine except for the StartAbortedSubTransaction warning; that may indicate a problem. (What do you think about it, Alvaro?) |
#5
| |||
| |||
|
|
On Sun, Aug 22, 2004 at 09:39:07AM +0800, ?????? wrote: BEGIN; ... ... ... END; PANIC: invalid xlog record length 236052 Huh, so what kind of operations did you execute within the transaction? -- Alvaro Herrera (<alvherre[a]dcc.uchile.cl>) Voy a acabar con todos los humanos / con los humanos yo acabar?> voy a acabar con todos / con todos los humanos acabar?(Bender) |
#6
| |||
| |||
|
|
--- Alvaro Herrera <alvherre (AT) dcc (DOT) uchile.cl> wrote: Huh, so what kind of operations did you execute within the transaction? There are 1600 tables in database 'db1', I wrote a pl/pgsql function "update_tables" like " FOR table IN SELECT relname FROM pg_class LOOP ... DROP INDEX ON ... ; ALTER TABLE DROP CONSTRAINT ...; ... CREATE INDEX xxx ON TABLE xxx; ... ALTER TABLE xxx ADD PRIMARY KEY... ALTER TABLE xxx ADD ... ... END LOOP |
#7
| |||
| |||
|
|
"˙ffffce˙ffffac" "˙ffffbd˙ffffaa" <jiangwei_1976 (AT) yahoo (DOT) com.cn> writes: --- Alvaro Herrera <alvherre (AT) dcc (DOT) uchile.cl> wrote: Huh, so what kind of operations did you execute within the transaction? There are 1600 tables in database 'db1', I wrote a pl/pgsql function "update_tables" like " FOR table IN SELECT relname FROM pg_class LOOP ... DROP INDEX ON ... ; ALTER TABLE DROP CONSTRAINT ...; ... CREATE INDEX xxx ON TABLE xxx; ... ALTER TABLE xxx ADD PRIMARY KEY... ALTER TABLE xxx ADD ... ... END LOOP Okay, so it was the number-of-deleted-files issue and not the number-of-subtransactions issue. Still says we have to allow commit records to be bigger than 64K ... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend |
![]() |
| Thread Tools | |
| Display Modes | |
| |