Re: Drop table vs begin/end transaction

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Drop table vs begin/end transaction
Дата
Msg-id 2100.1006061854@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Drop table vs begin/end transaction  (Francisco Reyes <lists@natserv.com>)
Ответы Re: Drop table vs begin/end transaction  (Francisco Reyes <lists@natserv.com>)
Список pgsql-novice
Francisco Reyes <lists@natserv.com> writes:
> My alternative is to use delete from <table>. Besides been slower I wonder
> if this would not make my "vacuum analyze" run much slower.

Consider TRUNCATE TABLE, also.  However, that's not transactional,
so the drop/create/fill might be a better bet if you are worried
about bad data during the fill.

            regards, tom lane

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

Предыдущее
От: Francisco Reyes
Дата:
Сообщение: Drop table vs begin/end transaction
Следующее
От: Francisco Reyes
Дата:
Сообщение: Re: Drop table vs begin/end transaction