Re: How to bulk load a schema using JDBC multiple times?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to bulk load a schema using JDBC multiple times?
Дата
Msg-id 4498.1129434042@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to bulk load a schema using JDBC multiple times?  (Andres Olarte <olarte.andres@gmail.com>)
Список pgsql-jdbc
Andres Olarte <olarte.andres@gmail.com> writes:
> I need to load and drop my schema multiple times during my unit tests.
> This happens several thousand times per run of my test suite.  I'm
> loading the schema from the file that's generated by pg_dump, and it
> works, but it's SLOW.

Sounds to me like you've been neglecting to vacuum the system catalogs.

            regards, tom lane

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

Предыдущее
От: Andres Olarte
Дата:
Сообщение: How to bulk load a schema using JDBC multiple times?
Следующее
От: Alberto
Дата:
Сообщение: unsuscribe