Create database from template very slow

Mark Phillips <[email protected]>
Newsgroups gmane.comp.db.postgresql.bugs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.