From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | ffffce ffffac ffffbd ffffaa <jiangwei_1976(at)yahoo(dot)com(dot)cn>, Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: server crash in very big transaction [postgresql 8.0beta1] |
Date: | 2004-08-29 02:59:22 |
Message-ID: | 200408290259.i7T2xMa16480@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
Is this fixed?
---------------------------------------------------------------------------
Tom Lane wrote:
> "ffffceffffac" "ffffbdffffaa" <jiangwei_1976(at)yahoo(dot)com(dot)cn> writes:
> > --- Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)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
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-08-29 03:13:38 | Re: pgsql 8.0 beta1 patch for token and timezone |
Previous Message | Bruce Momjian | 2004-08-28 22:55:11 | Re: [PATCHES] BUG #1219: pgxs does not work fully |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-08-29 03:37:16 | pgindent run? |
Previous Message | Marc G. Fournier | 2004-08-29 02:47:34 | Re: pgsql-server: Update that 8.0 will support MS Win |