Re: server crash in very big transaction [postgresql 8.0beta1]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: " ffffce ffffac" " ffffbd ffffaa" <jiangwei_1976(at)yahoo(dot)com(dot)cn>
Cc: 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-26 02:25:42
Message-ID: 11248.1093487142@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

"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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Zhong Jacky 2004-08-26 02:43:45 pgsql 8.0 beta1 patch for token and timezone
Previous Message César Arnold 2004-08-26 02:14:35 Re: replacing a function called "isnull" reports an error

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-08-26 02:47:28 Re: pgsql-server: Update that 8.0 will support MS Win
Previous Message Gaetano Mendola 2004-08-26 01:38:53 Re: rpm for RH AS 2.1 ?