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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: server crash in very big transaction [postgresql 8.0beta1]
Дата
Msg-id 11248.1093487142@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: server crash in very big transaction [postgresql 8.0beta1]  ("ÿffffceÿffffac" "ÿffffbdÿffffaa" <jiangwei_1976@yahoo.com.cn>)
Ответы Re: server crash in very big transaction [postgresql 8.0beta1]
Список pgsql-bugs
"ÿffffceÿffffac" "ÿffffbdÿffffaa" <jiangwei_1976@yahoo.com.cn> writes:
> --- Alvaro Herrera <alvherre@dcc.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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: BUG #1231: Probelm with transactions in stored code.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #1231: Probelm with transactions in stored code.