<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Pgpool-Ⅱ on grep Tips *</title>
		<link>https://www.greptips.com/tags/pgpool-/</link>
		<description>Recent content in Pgpool-Ⅱ on grep Tips *</description>
		<generator>Hugo</generator>
		<language>ja-JP</language>
		
		
		
		
			<lastBuildDate>Mon, 27 Jul 2015 12:32:46 +0900</lastBuildDate>
		
			<atom:link href="https://www.greptips.com/tags/pgpool-/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>pgpool-Ⅱ 3.2 replication &#43; load balanceで更新系クエリを含んだfunctionを実行すると、レプリケーションされない</title>
				<link>https://www.greptips.com/posts/454/</link>
				<pubDate>Mon, 27 Jul 2015 12:32:46 +0900</pubDate>
				<guid>https://www.greptips.com/posts/454/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://www.greptips.com/posts/266&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;pgpool-Ⅱ 3.2 replication + load balanceでSQLの先頭にコメントを書いてはいけない&lt;/a&gt;&#xA;で書いた内容と根本は同じだが、現象としては逆の現象が発生してしまった。&lt;/p&gt;&#xA;&lt;p&gt;今回は更新系クエリを含んだfunctionなので、ロードバランスではなくレプリケーションされる必要がある。&lt;br&gt;&#xA;しかし、functionの実行方法はselectをfunctionの前につけることなので、pgpool-Ⅱはロードバランスしてしまう。&lt;/p&gt;</description>
			</item>
			<item>
				<title>pgpool-Ⅱ 3.2 replication &#43; load balanceでSQLの先頭にコメントを書いてはいけない</title>
				<link>https://www.greptips.com/posts/266/</link>
				<pubDate>Wed, 01 Apr 2015 13:54:06 +0900</pubDate>
				<guid>https://www.greptips.com/posts/266/</guid>
				<description>&lt;p&gt;&lt;code&gt;select&lt;/code&gt;, &lt;code&gt;with&lt;/code&gt;からはじまるものは&lt;code&gt;replicate_select=false&lt;/code&gt;になっているときload balanceされるはずだが、コメント文からはじまっていれば&lt;code&gt;select&lt;/code&gt;文でも両ノードに発行されてしまう。&lt;/p&gt;</description>
			</item>
			<item>
				<title>pgpool-Ⅱでpgpool_regclassがinstallされたか確認する方法</title>
				<link>https://www.greptips.com/posts/240/</link>
				<pubDate>Wed, 01 Apr 2015 12:20:10 +0900</pubDate>
				<guid>https://www.greptips.com/posts/240/</guid>
				<description>&lt;p&gt;違うスキーマで同じテーブル名を定義していて、 SQL 文の中でスキーマ名を省略している場合に生じる可能性がある不具合を解消してくれるpgpool_regclass。&lt;/p&gt;</description>
			</item>
			<item>
				<title>Seasar2でのトランザクション制御</title>
				<link>https://www.greptips.com/posts/232/</link>
				<pubDate>Wed, 01 Apr 2015 12:14:59 +0900</pubDate>
				<guid>https://www.greptips.com/posts/232/</guid>
				<description>&lt;h2 id=&#34;注意事項20160720追加&#34;&gt;注意事項　2016/07/20追加&lt;/h2&gt;&#xA;&lt;p&gt;本記事はpgpool-Ⅱのバージョン3.2.9で検証したものである。&lt;br&gt;&#xA;pgpool-Ⅱのロードバランスの条件についてのドキュメントが、バージョン3.4.3から大きく変わっている。&lt;br&gt;&#xA;replicationモードにおいて、v3.2.9では、BEGINコマンド発行後はselectしか実行しなくてもロードバランスしてくれなかった。&lt;br&gt;&#xA;v3.4.3以降では、BEGINコマンド発行後でもmaster slaveモードと同じように、更新系クエリが実行されるまでロードバランスしてくれるそうだ。&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
