PostgreSQL 10.23 installation graphic tutorial

Table of contents

1. Introduction to PostgreSQL

2. Download the installation package

3. Installation Tutorial


Today, I will share with you a graphic tutorial on installing PostgreSQL 10.23 on Win10 operating system. I hope it will be helpful for everyone to learn PostgreSQL!

1. Introduction to PostgreSQL

PostgreSQL (Postgres for short) is a powerful open source relational database management system developed by PostgreSQL Global Development Group, which supports multiple database types and has the characteristics of high reliability, high performance, flexibility and ease of use.

Key features of Postgres:

1. High reliability: Postgres can run on a single node or distributed nodes, supports multiple backup and recovery strategies, and can ensure data reliability and integrity.

2. High performance: Postgres uses a variety of optimization technologies, including memory management, concurrent processing, index optimization, etc., which can support large-scale data query and operation and provide high performance.

3. Flexibility: Postgres provides a rich function library and built-in functions, supports various data types and data structures, and can support a variety of database types, including relational, non-relational and semi-relational databases.

4. Ease of use: Postgres provides a variety of management tools and command line tools, and supports a graphical interface, which is convenient for users to manage and maintain the database.

2. Download the installation package

Official website address:

Here we choose the 10.23 64-bit installation package postgresql-10.23-1-windows-x64, with a size of 273M.

3. Installation Tutorial

We click the installation package program, because it depends on Microsoft Visual C++ 2015, if your computer is not installed, the system will automatically install it. Then you will enter the PostgreSQL installation interface.

Click Next to enter the installation directory selection interface. After the selection is complete, click Next.

Then select the components to be installed. It is recommended to keep the system default and install them all.

Then select the storage directory of the database. It is recommended not to put it on the system disk, which can avoid a lot of trouble.

Then continue to set the super administrator password for the database, the user name is postgres, and the password should be remembered.

Next, set the database port. The default is 5432. You can adjust it according to your needs. It should be noted that there is no conflict. It is recommended to keep the default.

Then enter the advanced setting option is mainly used to set the database area, just choose the default. Click next to continue.

Enter the pre-installation information summary page, click Next.

Then go to the Ready to Install page.

The system then begins the normal installation, which is expected to take four to five minutes.

Finally, enter the installation completion interface. This page prompts whether you need to install Stack Builder. You can install it according to your own needs. Here is a brief introduction to Stack Builder:

Stack Builder is a PostgreSQL tool that helps you quickly create and manage PostgreSQL stacks. It uses Docker technology to run multiple PostgreSQL instances in a single container for high availability and scalability.

Stack Builder provides the following features:

               ● Create and manage PostgreSQL stacks: Using Stack Builder, you can easily create and manage multiple PostgreSQL instances for high availability and scalability of your database.

               ● Automatic configuration: Stack Builder can automatically configure PostgreSQL instances to adapt to different environments. It can automatically detect and configure network, firewall and other services.

               ● Rapid Deployment: Stack Builder can help you quickly deploy PostgreSQL stack, it only takes a few minutes to complete.

               ● High availability: Stack Builder can run PostgreSQL instances on multiple nodes to achieve high availability. If one node fails, your applications will automatically fail over to the other nodes, ensuring uninterrupted service.

The interface for installing Stack Builder is as follows, here select local service

Select the application program that needs to be installed, and you can check it according to your needs.

I checked the database driver and web development tools here

Then select the downloaded component directory

Once the download is complete, click the Next button

After the installation is successful, the computer will restart.

After the final installation is successful, the service starts as shown below

The effect of linking through navicat is as shown in the figure below

Click Test Connection, upgrade the connection successfully, and then create a mydb database test as follows

Guess you like

Origin blog.csdn.net/xishining/article/details/131631000