The process structure of PostgreSQL database system

Source: Internet
Author: User

The main functions of the PostgreSQL database system are focused on the Postgres program, whose entry is the main function in the main module, where the data set cluster is initialized and the database server is started. Main module mainly work when determine the current operating system platform, and accordingly do some platform-related environment variable setting and initialization, and then through the command line parameters, the control to the corresponding module. is the invocation flow of the main function.

                    

The process of main function main of PostgreSQL system

The PostgreSQL daemon postmaster assigns the background Postgres service process to the user connection request and also initiates the associated background service process: Syslogger (syslog process), Pgstat (Statistics data collection process),

Autovacuum (System automatic cleanup process). When postmaster enters the loop listener, it starts as follows: Bgwriter (background write process), Walwriter (pre-write log write process), Pgarch (pre-write log archive process). These processes are described in a subsequent article.

Is the background flowchart for PostgreSQL:

                        

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.