「Main Page」の版間の差分

提供: pgpool Wiki
移動先: 案内検索
(pgpool-II 3.2)
(pgpool-II 3.2.5, 3.1.8, 3.0.12 officially released (2013/07/10))
 
(4人の利用者による、間の40版が非表示)
5行目: 5行目:
  
 
== Getting started ==
 
== Getting started ==
 +
 
* [http://www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list]
 
* [http://www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list]
 
* [http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]
 
* [http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]
 
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]
 
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]
 
-->
 
-->
 +
 +
<!-- MAINTENANCE MESSAGE -->
 +
<!-- '''[!] Sorry, this site will be stopped due to system maintenance on Nov 17th.''' -->
 +
 
= Welcome to Pgpool Wiki! =
 
= Welcome to Pgpool Wiki! =
  
32行目: 37行目:
 
pgpool-II talks PostgreSQL's backend and frontend protocol, and relays a connection between them. Therefore, a database application (frontend) thinks that pgpool-II is the actual PostgreSQL server, and the server (backend) sees pgpool-II as one of its clients. Because pgpool-II is transparent to both the server and the client, an existing database application can be used with pgpool-II almost without a change to its sources.
 
pgpool-II talks PostgreSQL's backend and frontend protocol, and relays a connection between them. Therefore, a database application (frontend) thinks that pgpool-II is the actual PostgreSQL server, and the server (backend) sees pgpool-II as one of its clients. Because pgpool-II is transparent to both the server and the client, an existing database application can be used with pgpool-II almost without a change to its sources.
  
 +
== pgpool-II License ==
  
= pgpool-II 3.2 =
+
Copyright (c) 2003-2013  PgPool Global Development Group
 
 
Pgpool-II 3.2 is the latest stable version released in Aug 2012.
 
 
 
== On Memory Query Cache ==
 
 
 
* '''New fast query cache !'''
 
: On memory query cache is faster because cache storage is on memory. Moreover you don't need to restart pgpool-II when the cache is outdated because the underlying table gets updated.
 
: On memory cache saves pair of SELECT statements (with its Bind parameters if the SELECT is an extended query). If the same SELECTs comes in, it returns the value from cache. Since no SQL parsing nor access to PostgreSQL are involed, it's extremely fast.
 
 
 
* '''Choosing cache storage'''
 
: You can choose a cache storage: shared memory or memcached (you can't use the both).
 
: Query cache with shared memory is fast and easy because you don't have to install and config memcached, but restricted the max size of cache by the one of shared memory. Query cache with memcached needs a overhead to access network, but you can set the size as you like.
 
 
 
== Watchdog ==
 
 
 
"Watchdog" is a sub process of pgpool-II aiming for adding high availability feature to it. Features added by watchdog include:
 
 
 
* '''Life checking of pgpool service'''
 
: Watchdog monitors responses of pgpool service rather than process. It sends queries to PostgreSQL via pgpool which is being monitored by watchdog and watchdog checks the response.
 
: Also watchdog monitors connections to up stream servers (application servers etc.) from the pgpool.
 
: The connection between the up stream servers and the pgpool is monitored as service of pgpool.
 
  
* '''Mutually monitoring of watchdog processes'''
+
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the author not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The author makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
: Watchdog processes exchange information on the monitored servers to keep the information up to date, and to allow watchdog processes to mutually monitor each other.
 
  
* '''Changing active/standby state in case of certain faults detected'''
+
== Stable versions ==
: When a fault is detected in the pgpool service, watchdog notifies the other watchdogs of it. Watchdogs decide the new active pgpool if previous active pgpool is broken by voting and change active/standby state.
 
  
* '''Automatic virtual IP address assigning synchronous to server switching'''
+
* pgppool-II 3.3
: When a standby pgpool server promotes to active, the new active server brings up virtual IP interface. Meanwhile, the previous active server brings down the virtual IP interface.
+
* [[pgppool-II 3.2]]
: This enables the active pgpool to work using the same IP address even when servers is switched over.
+
* pgppool-II 3.1
 +
* pgppool-II 3.0
  
* '''Automatic registration of a server as standby in recovery'''
+
= What's new =
: When broken server recovers or new server is attached, the watchdog process notifies the other watchdog process along with information of the new server, and the watchdog process receives information on the active server and other servers. Then, the attached server is registered as standby.
+
== Stable ==
  
= What's new (Stable) =
+
=== Missing regression test suite in pgpool-II 3.3.0.tar.gz (2013/07/31) ===
  
== pgpool-II 3.2 and pgpoolAdmin 3.2 officially released (2012/08/03) ==
+
New regression test suite was not accidentally included in the pgpool-II 3.3.0.tar.gz tar ball.
 +
You can get it from git repository or download from
 +
[http://www.pgpool.net/download.php?f=regression-3.3.0.tar.gz here].
  
Pgpool-II 3.2 is now officially released. This version supports "On memory query cache" and "Watchfog".
+
=== pgpool-II 3.3 and pgpoolAdmin 3.3 officially released (2013/07/30) ===
Learn more about pgpool-II 3.2:
 
  
* [http://www.pgpool.net/pgpool-web/NEWS.txt pgpool-II 3.2 release note(English)]
+
Pgpool-II 3.3 is now officially released.
* [http://www.pgpool.net/pgpool-web/pgpool-II/doc/pgpool-ja.html#release3.2.0 pgpool-II 3.2 release note(Japanese)]
 
  
 +
You can download them [http://pgpool.net/mediawiki/index.php/Downloads here].
  
== pgpool-II 3.1.3 and 3.0.7 officially released (2012/04/23) ==
+
V3.3's new features are:
  
Pgpool-II 3.1.3 and 3.0.7 are now officially released. These are the latest stable versions of each major series.
+
* Enhancements for watchdog
 +
** New monitoring method of watchdog lifecheck using heartbeat signal
 +
** Interlocking of failover/failback script
 +
** Secure watchdog communication
 +
** PCP command for retrieving the watchdog status
 +
** etc.  
 +
* Othres
 +
** Import PostgreSQL 9.2 raw parser
 +
** New pgpool_setup tool
 +
** Support for using CREATE EXTENSION to install pgpool specific extensions
 +
** regression test suit
 +
** etc.  
  
Learn more about pgpool-II 3.1.3:
+
* [http://www.pgpool.net/docs/latest/NEWS.txt pgpool-II 3.3 release note(English)]
 +
* [http://www.pgpool.net/docs/latest/pgpool-ja.html#release3.3.0 pgpool-II 3.3 release note(Japanese)]
  
* [http://www.pgpool.net/docs/pgpool-II-3.1.3/doc/NEWS.txt pgpool-II 3.1.3 release note(English)]
+
=== pgpool-II 3.2.5, 3.1.8, 3.0.12 officially released (2013/07/10) ===
* [http://www.pgpool.net/docs/pgpool-II-3.1.3/doc/pgpool-ja.html#release3.1.3 pgpool-II 3.1.3 release note(Japanese)]
 
  
Learn more about pgpool-II 3.0.7:
+
These are the latest stable versions of each major branches.  
  
* [http://www.pgpool.net/docs/pgpool-II-3.0.7/doc/NEWS.txt pgpool-II 3.0.7 release note(English)]
+
You can download them [http://pgpool.net/mediawiki/index.php/Downloads here].
* [http://www.pgpool.net/docs/pgpool-II-3.0.7/doc/pgpool-ja.html#release3.0.7 pgpool-II 3.0.7 release note(Japanese)]
 
  
== pgpool-II 3.1.2 and 3.0.6 officially released (2012/01/31) ==
+
Learn more about pgpool-II 3.2.5:
  
Pgpool-II 3.1.2 and 3.0.6 are now officially released. These are the latest stable versions of each major series.
+
* [http://www.pgpool.net/docs/pgpool-II-3.2.5/NEWS.txt pgpool-II 3.2.5 release note(English)]
 +
* [http://www.pgpool.net/docs/pgpool-II-3.2.5/pgpool-ja.html#release3.2.5 pgpool-II 3.2.5 release note(Japanese)]
  
Learn more about pgpool-II 3.1.2:
+
Learn more about pgpool-II 3.1.8:
  
* [http://www.pgpool.net/docs/pgpool-II-3.1.2/doc/NEWS.txt pgpool-II 3.1.2 release note(English)]
+
* [http://www.pgpool.net/docs/pgpool-II-3.1.8/NEWS.txt pgpool-II 3.1.8 release note(English)]
* [http://www.pgpool.net/docs/pgpool-II-3.1.2/doc/pgpool-ja.html#release3.1.2 pgpool-II 3.1.2 release note(Japanese)]
+
* [http://www.pgpool.net/docs/pgpool-II-3.1.8/pgpool-ja.html#release3.1.8 pgpool-II 3.1.8 release note(Japanese)]
  
Learn more about pgpool-II 3.0.6:
+
Learn more about pgpool-II 3.0.12:
  
* [http://www.pgpool.net/docs/pgpool-II-3.0.6/doc/NEWS.txt pgpool-II 3.0.6 release note(English)]
+
* [http://www.pgpool.net/docs/pgpool-II-3.0.12/NEWS.txt pgpool-II 3.0.12 release note(English)]
* [http://www.pgpool.net/docs/pgpool-II-3.0.6/doc/pgpool-ja.html#release3.0.6 pgpool-II 3.0.6 release note(Japanese)]
+
* [http://www.pgpool.net/docs/pgpool-II-3.0.12/pgpool-ja.html#release pgpool-II 3.0.12 release note(Japanese)]
  
== pgpool-II 3.1.1 and pgpoolAdmin 3.1.1 officially released (2011/12/06) ==
+
== Development ==
  
Pgpool-II 3.1.1 is now officially released. This is the latest stable version of pgpool-II 3.1 series.
+
=== pgpool-II 3.3 RC1 released (2013/07/25) ===
And we also released pgpoolAdmin 3.1.
 
  
== pgpool-II 3.1 officially released (2011/09/08) ==
+
Pgpool-II 3.3 RC1 is now relased. This is not a stable version but just for developers.
 
 
Pgpool-II 3.1 is now officially released. This version supports syslog, more than one standby nodes in streaming replication mode, allow to specify user name with pg_md5 command. You can add new DB node or do online recovery without disturbing existing client sessions.
 
 
 
Also documents are enhanced. Simplified Chinese and French verion of documnets are added.
 
 
 
Learn more about pgpool-II 3.1:
 
 
 
* [http://www.pgpool.net/pgpool-web/NEWS.txt pgpool-II 3.1 release note(English)]
 
* [http://www.pgpool.net/pgpool-web/pgpool-II/doc/pgpool-ja.html#release3.1.0 pgpool-II 3.1 release note(Japanese)]
 
 
 
 
 
= What's new (Development) =
 
 
 
== pgpool-II 3.2 RC3 released (2012/07/31) ==
 
 
 
Pgpool-II 3.2 RC3 is now relased. This is not a stable version but just for developers. We're going to release 3.2 as stable on Aug 3rd.
 
  
 
You can download it from [http://pgpool.net/mediawiki/index.php/Developer_releases here].
 
You can download it from [http://pgpool.net/mediawiki/index.php/Developer_releases here].
  
== pgpool-II 3.2 RC2 released (2012/07/27) ==
+
=== pgpool-II 3.3 beta1 released (2013/06/12) ===
 
 
Pgpool-II 3.2 RC2 is now relased. This is not a stable version but just for developers.
 
 
 
You can download it from [http://pgpool.net/mediawiki/index.php/Developer_releases here].
 
 
 
== pgpool-II 3.2 RC1 released (2012/07/20) ==
 
 
 
Pgpool-II 3.2 RC1 is now relased. This is not a stable version but just for developers.
 
 
 
You can download it from [http://pgpool.net/mediawiki/index.php/Developer_releases here].
 
 
 
== pgpool-II 3.2 beta2 released (2012/07/13) ==
 
 
 
Pgpool-II 3.2 beta2 is now relased. This is not a stable version but just for developers.
 
 
 
Users are encouraged to take part in our beta test program. Please help us in testing and making pgpool-II 3.2 better!
 
 
 
You can download it from [http://pgpool.net/mediawiki/index.php/Developer_releases here].
 
 
 
== pgpool-II 3.2 beta1 released (2012/07/06) ==
 
 
 
Pgpool-II 3.2 beta1 is now relased. This is not a stable version but just for developers.
 
 
 
Users are encouraged to take part in our beta test program. Please help us in testing and making pgpool-II 3.2 better!
 
 
 
You can download it from [http://pgpool.net/mediawiki/index.php/Developer_releases here].
 
  
== pgpool-II 3.2 alpha2 released (2012/06/29) ==
+
Pgpool-II 3.3 beta1 is now relased. This is not a stable version but just for developers.
  
Pgpool-II 3.2 alpha2 is now relased. This is not a stable version but just for developers.
+
Users are encouraged to take part in our beta test program. Please help us in testing and making pgpool-II 3.3 better!
  
V3.2 is added a new feature: watchdog. This is a sub process of pgpool-II aiming for adding high availability feature.
 
 
You can download it from [http://pgpool.net/mediawiki/index.php/Developer_releases here].
 
You can download it from [http://pgpool.net/mediawiki/index.php/Developer_releases here].
  
== pgpoolAdmin 3.2 alpha1 released (2012/06/04) ==
+
=== pgpool-II 3.3 alpha1 released (2013/05/17) ===
  
PgpoolAdmin 3.2 alpha1 is now relased. This is not a stable version but just for developers.
+
Pgpool-II 3.3 alpha1 is now relased. This is not a stable version but just for developers.
V3.2 is not only for pgpool-II V3.2 but also for older versions (V2.0 -).
 
  
 +
V3.3 has a new feature:
 +
* Enhancements for watchdog
 +
** New monitoring method of watchdog lifecheck using heartbeat signal
 +
** Interlocking of failover/failback script
 +
** Secure watchdog communication
 +
** etc.
 +
* Othres
 +
** Import PostgreSQL 9.2 raw parser
 +
** New pgpool_setup tool
 +
** Support for using CREATE EXTENSION to install pgpool specific extensions
 
You can download it from [http://pgpool.net/mediawiki/index.php/Developer_releases here].
 
You can download it from [http://pgpool.net/mediawiki/index.php/Developer_releases here].
  
== pgpool-II 3.2 alpha1 released (2012/05/16) ==
+
== Old ==
 +
See [[Old news|this page]].
  
Pgpool-II 3.2 alpha1 is now relased. This is not a stable version but just for developers.
+
= Where can I get commercial support for pgpool-II? =
  
V3.2 has a new feature: On memory query cache. You can download it from [http://pgpool.net/mediawiki/index.php/Developer_releases here].
+
Some commercial packages include pgpool-II support. Consulting and annual support can be purchased from SRA OSS, Inc. Japan(http://www.sraoss.co.jp/index_en.php).

2013年8月12日 (月) 00:51時点における最新版


Welcome to Pgpool Wiki!

What is pgpool-II?

pgpool-II is a middleware that works between PostgreSQL servers and a PostgreSQL database client. It is licensed under BSD license. 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.
  • Replication
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.

pgpool-II talks PostgreSQL's backend and frontend protocol, and relays a connection between them. Therefore, a database application (frontend) thinks that pgpool-II is the actual PostgreSQL server, and the server (backend) sees pgpool-II as one of its clients. Because pgpool-II is transparent to both the server and the client, an existing database application can be used with pgpool-II almost without a change to its sources.

pgpool-II License

Copyright (c) 2003-2013 PgPool Global Development Group

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the author not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The author makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.

Stable versions

What's new

Stable

Missing regression test suite in pgpool-II 3.3.0.tar.gz (2013/07/31)

New regression test suite was not accidentally included in the pgpool-II 3.3.0.tar.gz tar ball. You can get it from git repository or download from here.

pgpool-II 3.3 and pgpoolAdmin 3.3 officially released (2013/07/30)

Pgpool-II 3.3 is now officially released.

You can download them here.

V3.3's new features are:

  • Enhancements for watchdog
    • New monitoring method of watchdog lifecheck using heartbeat signal
    • Interlocking of failover/failback script
    • Secure watchdog communication
    • PCP command for retrieving the watchdog status
    • etc.
  • Othres
    • Import PostgreSQL 9.2 raw parser
    • New pgpool_setup tool
    • Support for using CREATE EXTENSION to install pgpool specific extensions
    • regression test suit
    • etc.

pgpool-II 3.2.5, 3.1.8, 3.0.12 officially released (2013/07/10)

These are the latest stable versions of each major branches.

You can download them here.

Learn more about pgpool-II 3.2.5:

Learn more about pgpool-II 3.1.8:

Learn more about pgpool-II 3.0.12:

Development

pgpool-II 3.3 RC1 released (2013/07/25)

Pgpool-II 3.3 RC1 is now relased. This is not a stable version but just for developers.

You can download it from here.

pgpool-II 3.3 beta1 released (2013/06/12)

Pgpool-II 3.3 beta1 is now relased. This is not a stable version but just for developers.

Users are encouraged to take part in our beta test program. Please help us in testing and making pgpool-II 3.3 better!

You can download it from here.

pgpool-II 3.3 alpha1 released (2013/05/17)

Pgpool-II 3.3 alpha1 is now relased. This is not a stable version but just for developers.

V3.3 has a new feature:

  • Enhancements for watchdog
    • New monitoring method of watchdog lifecheck using heartbeat signal
    • Interlocking of failover/failback script
    • Secure watchdog communication
    • etc.
  • Othres
    • Import PostgreSQL 9.2 raw parser
    • New pgpool_setup tool
    • Support for using CREATE EXTENSION to install pgpool specific extensions

You can download it from here.

Old

See this page.

Where can I get commercial support for pgpool-II?

Some commercial packages include pgpool-II support. Consulting and annual support can be purchased from SRA OSS, Inc. Japan(http://www.sraoss.co.jp/index_en.php).