Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PostgreSQL Tutorial

PostgreSQL Tutorial

PostgreSQL is a free object-relational database server (ORDBMS), released under the flexible BSD license.

PostgreSQL developers pronounce it post-gress-Q-L.

PostgreSQL's slogan is "the world's most advanced open-source relational database".

References:PostgreSQL 10.1 Manual


What is a database?

A database is a repository that organizes, stores, and manages data according to a data structure.

Every database has one or more different APIs for creating, accessing, managing, searching, and replicating the stored data.

We can also store data in files, but reading and writing data in files is relatively slow.

Therefore, we now use a relational database management system (RDBMS) to store and manage large amounts of data. A so-called relational database is a database based on the relational model, which uses mathematical concepts and methods such as set algebra to process the data in the database.

ORDBMS (object-relational database system) is the product of combining object-oriented technology with traditional relational databases. Query processing is an important part of ORDBMS, and its performance directly affects the performance of the DBMS.

ORDBMS adds some new features on the basis of the original relational database.

RDBMS is a relational database management system that establishes relationships between entities, ultimately resulting in relational tables.

OODBMS (object-oriented database management system) treats all entities as objects and encapsulates these object classes; communication between objects is through messages. OODBMS object-relational databases are essentially still relational databases.


ORDBMS terminology

Before we start learning the PostgreSQL database, let's first understand some ORDBMS terminology:


PostgreSQL features


Related Resources

PostgreSQL 10.1 Manual Online Manual:http://www.runoob.com/manual/PostgreSQL/

Offline Manual - PDF Version: https://pan.baidu.com/s/1h1J14i8tzJUY3p9yyeW0mA, extraction code: xs7r。

Offline Manual - CHM Version: https://pan.baidu.com/s/1h1J14i8tzJUY3p9yyeW0mA, extraction code: tq4z。

View the latest version:https://github.com/postgres-cn/pgdoc-cn/releases