Preamble
We will take a closer look at how to install PostgreSQL 11 on Windows, you will learn where to download PostgreSQL 11 for Windows, how the installation process looks like and how to connect to the PostgreSQL server.
PostgreSQL is a free database management system (DBMS). PostgreSQL 11 is the new version of this DBMS.
Step-by-step description of PostgreSQL 11 installation on Windows
PostgreSQL is implemented for many operating systems: Windows, Linux, macOS. Now we will consider in detail all the steps you need to perform in order to install PostgreSQL on Windows operating system: starting from loading graphical installer, which, by the way, includes pgAdmin 4 – a graphical management tool PostgreSQL, with which you can write SQL queries, and ending with the Russification of pgAdmin 4.
Step 1; Booting the graphical PostgreSQL 11 installer for Windows
You can of course download PostgreSQL 11 for Windows from the official PostgreSQL website, here is the link – https://www.postgresql.org/download/windows/.
After going to the page we can immediately click on the link “Download the installer”, in this case we will be taken to the site of EnterpriseDB company, which prepares graphics distributions PostgreSQL for many platforms, including Windows.
Then we choose the platform and version of PostgreSQL, in our case – it is Windows and PostgreSQL 11. Click on the link “Windows x86-64” – this is the version for 64-bit versions of Windows.
As a result, you should download the file postgresql-11.0-1-windows-x64.exe with the size of approximately 187 megabytes.
Step 2; Running the PostgreSQL installer 11
Run the downloaded file. At first the installer will check if all the necessary components are present, in particular Visual C++ Redistributable, if necessary, i.e. if they are absent, it will install them itself.
After that a welcome window will be opened, click “Next”.
Step 3; Specify the directory to install PostgreSQL 11
Then we need to specify the path to the directory where we want to install PostgreSQL 11, but we can leave it as default. If necessary, specify the path and click “Next”.
Step 4; Choose components for installation
On this step we can mark the components that we need to install, as you can see, among the components there is pgAdmin 4, leave the checkboxes against the components that we need and click “Next”.
Step 5; Specify a directory for database files
Next, we need to specify the directory where the database files will be located by default. In this case it is better to specify a separate drive. Click “Next”.
Step 6; Set a password for the postgres system user
Now we need to set a password for the postgres user, in other words, for the PostgreSQL Server administrator. We enter the password and confirm it. Click “Next”.
Step 7; Specify the port for your PostgreSQL instance
Next, if necessary, we can change the port where PostgreSQL Server will work, but we can leave it by default. Click “Next”.
Step 8; Specify the encoding in the database
Then, if there is a need to specify a specific data encoding in the database, we can select the desired Locale from the drop-down list. I leave it as default, click “Next”.
Step 9; Checking PostgreSQL installation parameters
Here we just check the parameters we entered earlier for PostgreSQL installation, if everything is correct, i.e. everything you entered is pressed “Next”.
Step 10; Start the installation process
To start the PostgreSQL installation process in this window, click “Next”.
The installation has begun.
Step 11; Finishing the installation
The PostgreSQL 11 installation process takes only 2-3 minutes. When you see the message “Completing the PostgreSQL Setup Wizard” the PostgreSQL installation, pgAdmin 4 and other components will be completed.
In the last window we will be offered to run Stack Builder to load and install additional components, if you do not need anything, then uncheck “Lanch Stack Builder at exit?” and press “Finish”.
Run pgAdmin 4 and connect to PostgreSQL server 11
pgAdmin 4 you have installed together with PostgreSQL, to start pgAdmin 4 press “Start Menu – > PostgreSQL 11 -> pgAdmin 4”.
The new version of pgAdmin 4 has a web interface, so you will launch a browser that will open the pgAdmin 4 application.
To connect to your newly installed local PostgreSQL 11 server in your server browser, click on “PostgreSQL 11”.
This will launch the “Connect to Server” window, where you need to enter the password of the system user postgres, i.e. it is the password that you invented when installing PostgreSQL. Enter the password, tick “Save Password” to save the password, and each time you do not enter it, click “OK”.
As a result you will connect to a local PostgreSQL server.
Getting Started with PostgreSQL 11 for Windows 10 | 2020
About Enteros
Enteros offers a patented database performance management SaaS platform. It proactively identifies root causes of complex business-impacting database scalability and performance issues across a growing number of clouds, RDBMS, NoSQL, and machine learning database platforms.
The views expressed on this blog are those of the author and do not necessarily reflect the opinions of Enteros Inc. This blog may contain links to the content of third-party sites. By providing such links, Enteros Inc. does not adopt, guarantee, approve, or endorse the information, views, or products available on such sites.
Are you interested in writing for Enteros’ Blog? Please send us a pitch!
RELATED POSTS
Enteros: Revolutionizing Database Performance with AIOps, RevOps, and DevOps for the Insurance Sector
- 20 December 2024
- Database Performance Management
In the fast-evolving world of finance, where banking and insurance sectors rely on massive data streams for real-time decisions, efficient anomaly man…
Enteros: Transforming Database Software with Cloud FinOps for the Technology Sector
In the fast-evolving world of finance, where banking and insurance sectors rely on massive data streams for real-time decisions, efficient anomaly man…
Enhancing Enterprise Performance: Enteros Database Architecture and Cloud FinOps Solutions for the Healthcare Industry
- 19 December 2024
- Database Performance Management
In the fast-evolving world of finance, where banking and insurance sectors rely on massive data streams for real-time decisions, efficient anomaly man…
Revolutionizing Database Performance in the Financial Sector with Enteros: A Deep Dive into Cost Estimation and Optimization
In the fast-evolving world of finance, where banking and insurance sectors rely on massive data streams for real-time decisions, efficient anomaly man…