PostgreSQL installation failed--the database cluster initialisatio

Source: Internet
Author: User
Tags postgresql knowledge base

PostgreSQL can never accept more than about 125 connections at the same time, my hardware is very powerful!

This happens because some PostgreSQL says that dependent libraries depend on user32.dll, and user32.dll to allocate memory from the Desktop Heap. The desktop heap allocates memory for each login session, allocating approximately 512KB per non-interactive session, while each Postgres.exe process consumes about 3.2KB of the "desktop heap", so that approximately 125 connections can run out of all " Desktop Heap "space.   However, this does not happen when running from the command line, because the command line is an interactive logon session, and usually requires only a 3MB size "Desktop Heap". http://support.microsoft.com/kb/184802

To solve this problem, you must increase the size of the noninteractive "Desktop Heap" by modifying the SharedSection value in the registry, as described in the Microsoft Knowledge Base article. It is important to note that setting too high a value can cause the system to fail to start.



Installation failed on Windows2003, reported warning, and no PostgreSQL service

Problem running Post-Install step. Installation correctly
The database cluster initialisation failed


Http://forums.enterprisedb.com/posts/list/3984.page
Andy, this man is PostgreSQL 9.3.5.
http://my.oschina.net/congqian/blog/135590
This person is the postgresql-windows-9.2.4 version.
are related to permissions.


Subsequently consulted with the implementation of the colleagues,

1. Before installation, if installed, please uninstall, and delete the PostgreSQL directory

2. Before installing, create the directory you want to install, such as the D:\xxx\postgresql directory.

Right-click the PostgreSQL folder and set user to have CONTROL permission

3. During installation, select Locale to select Chinese Singnapore

4. Follow the normal installation to succeed.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.