Create database from template very slow

Поиск
Список
Период
Сортировка
От Mark Phillips
Тема Create database from template very slow
Дата
Msg-id 4C4A7183-75F5-4B11-8CE1-93B1FA231BE7@mophilly.com
обсуждение исходный текст
Ответы Re: Create database from template very slow  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs
This is likely not a bug, so please point me in the right direction if that is the case.

In our application, a copy of the local database is made at launch using...
CREATE DATABASE myCopy FROM TEMPLATE currentDB;

On linux and MacOS this operation completed in 5 seconds or so. On Windows (10 at present) it takes over a minute or
more.

I would like to understand why this would be, and what might be done to speed it up on Windows.

- Mark Phillips



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

Предыдущее
От: MOHAN KUMAR DORAIRAJ
Дата:
Сообщение: Re: BUG #16145: Not able to terminate active session
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Create database from template very slow