Introduction to PostGresSQL and installation tutorial on Windows

Scenes

PostgreSQL

PostgreSQL is a powerful open source object-relational database management system (ORDBMS). Used to store data securely; supports best practices and allows them to be retrieved when processing requests.
PostgreSQL (also known as Post-gress-QL) was developed by the PostgreSQL Global Development Group (a global team of volunteers). It is not controlled by any company or other private entity. It is open source, and its source code is freely available.
PostgreSQL is cross-platform and can run on many operating systems, such as Linux, FreeBSD, OS X, Solaris, and Microsoft Windows.
The official website of PostgreSQL is: https://www.postgresql.org/

Areas of expertise

PostgreSql is an object-oriented relational database, postgis is a spatial database plug-in based on PostgreSql, mainly used to manage geospatial data. Therefore, in the GIS field, PostgreSql is widely used as a spatial database.

Features

PostgreSQL features Cross-platform support for text, image, video, sound, etc. and provides C/C++, Java, Perl, Python, Ruby and database connection (ODBC) programming interface. Support many functions of SQL, such as complex SQL queries, subqueries, foreign keys, triggers, views, views, multi-process concurrency control (MVCC), asynchronous replication. In PostgreSQL, a table can be set to inherit its characteristics from the "parent" table. PostgreSQL is the first database management system to implement multi-version concurrency control (MVCC), even before Oracle. The MVCC function is called snapshot isolation in Oracle. PostgreSQL is a general object-relational database management system. It allows you to add custom functions developed in different programming languages ​​(such as C/C++, Java, etc.). PostgreSQL aims to achieve scalability. In PostgreSQL, you can define your own data types, index types, function languages, etc. If you don't like any part of the system, you can always develop custom plugins to enhance it to meet your requirements, for example, adding new optimizations. If you need any support, you can use the active community to help. You can always find answers from the PostgreSQL community to understand the problems you may encounter when using PostgreSQL. Many companies provide commercial support services when you need them.

Note:

Blog:
https://blog.csdn.net/badao_liumang_qizhi
Follow the public
account Domineering
programmers Get programming-related e-books, tutorial pushes and free downloads.

achieve

The browser opens the postgresql official website:

https://www.postgresql.org/

Then click download

 

Then select the Windows version to download

 

Click Download the install

 

Select the corresponding version, here is Windows 64 bit

Then download the exe installation package to the local, double-click to install

 

Click Next

 

Set the installation path, click next

 

Select other tools, select all here, click next

 

Set the data storage directory, click next

 

Set the password of the administrator postgress. Postgresql is used here to prevent forgetting the password

 

Set the port, it is recommended to use the default

 

Select the default, click next

 

Check to install Stack Builder and click Finish

 

Click next

After the installation is complete, search for pgAdmin in the program, then start it, log in with the password set above, and you will be able to connect to the postgresql database

 

Then in the File-Preferences-User language in the upper left corner, you can set the language of pgAdmin to Simplified Chinese

 

Then you can use the Chinese interface for subsequent operations

 

pgAdmin will open in the default browser of the system by default. If you want to open it in other browsers, right-click on pgAdmin and select Copy Server URL

 

Guess you like

Origin blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/113981563