LogoopenSUSE Build Service > Projects
Sign Up | Log In

Pgpool II

  pgpool-II is a middleware that works between PostgreSQL servers and a PostgreSQL database client. It provides the following features.

Connection Pooling
pgpool-II saves connections to the PostgreSQL servers, and reuse them whenever a new connection with the same properties (i.e. username, database, protocol version) comes in. It reduces connection overhead, and improves system's overall throughput.

pgpool-II can manage multiple PostgreSQL servers. Using the replication function enables creating a realtime backup on 2 or more physical disks, so that the service can continue without stopping servers in case of a disk failure.

Load Balance
If a database is replicated, executing a SELECT query on any server will return the same result. pgpool-II takes an advantage of the replication feature to reduce the load on each PostgreSQL server by distributing SELECT queries among multiple servers, improving system's overall throughput. At best, performance improves proportionally to the number of PostgreSQL servers. Load balance works best in a situation where there are a lot of users executing many queries at the same time.

Limiting Exceeding Connections
There is a limit on the maximum number of concurrent connections with PostgreSQL, and connections are rejected after this many connections. Setting the maximum number of connections, however, increases resource consumption and affect system performance. pgpool-II also has a limit on the maximum number of connections, but extra connections will be queued instead of returning an error immediately.

Parallel Query
Using the parallel query function, data can be divided among the multiple servers, so that a query can be executed on all the servers concurrently to reduce the overall execution time. Parallel query works the best when searching large-scale data.

Source Files

Filename Size Changed Actions
debian.changelog 1.71 KB Download File
debian.control 1.2 KB Download File
debian.rules 795 Bytes Download File
debian.series 14 Bytes Download File
debian.tar.gz 3.59 KB Download File
manpage.patch 377 Bytes Download File
pgpool2-debian-config.patch 1.86 KB Download File
pgpool2.orig.tar.gz 1.1 MB Download File
pgpool2_2.3.3.dsc 522 Bytes Download File

Comments for home:atitov1:branches:home:atitov1 (0)

Login required, please login or signup in order to comment