Re: How to efficiently duplicate a whole schema?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to efficiently duplicate a whole schema?
Дата
Msg-id 9140.1060206456@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to efficiently duplicate a whole schema?  (Sebastien Lemieux <slemieux@elitra.com>)
Ответы Re: How to efficiently duplicate a whole schema?
Список pgsql-performance
Sebastien Lemieux <slemieux@elitra.com> writes:
> On Wed, 6 Aug 2003, Tom Lane wrote:
>> The idea here is to make sure that the planner's statistics reflect the
>> "full" state of the table, not the "empty" state.  Otherwise it may pick
>> plans for the foreign key checks that are optimized for small tables.

> I added the 'analyze' but without any noticable gain in speed.  I can't
> use 'truncate' since I need to 'set constraints all deferred'.

What are you using, exactly?

            regards, tom lane

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