<div><div><div>No, a few Explain cause errors. </div><div>The trivial explain is ok. The complex explain causes this error :( </div><div>In fact, as I have seen,  even if the table has the same row/index, the explain gives differen results. I will resolve this soon. </div>
<div>I want that the explain gets only done on the master node. Only one node.</div><div>Does  the configuration “replicate_explain = off” exist ??? </div><div><br></div><div>Thanks for your answer.</div></div><div><br></div>
<div>Nicolas<br><br><div class="gmail_quote">2012/6/13 Tatsuo Ishii <span dir="ltr"><<a href="mailto:ishii@postgresql.org" target="_blank">ishii@postgresql.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Even trivial explain like "EXPLAIN SELECT 1" causes errors?<br>
--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
<div class="HOEnZb"><div class="h5"><br>
> Hi,<br>
> I would like to know if I can exclude the command EXPLAIN from the pgpool.<br>
> It generates a lot of errors:<br>
><br>
> 2012-06-13 09:35:11 ERROR: pid 15204: read_kind_from_backend: 1 th kind C<br>
> does not match with master or majority connection kind D<br>
> 2012-06-13 09:35:11 ERROR: pid 15204: kind mismatch among backends.<br>
> Possible last query was: "EXPLAIN SELECT ...... " kind details are: 0[D]<br>
> 1[C]<br>
> 2012-06-13 09:35:11 LOG:   pid 15204: do_child: exits with status 1 due to<br>
> error<br>
><br>
> pool-II-3.1.3<br>
> PostgreSQL 9.1.2<br>
> both Server same Hardware.<br>
><br>
> Pgpool configuration:<br>
><br>
> listen_addresses = '*'<br>
> port = 5432<br>
> socket_dir = '/var/run/postgresql'<br>
> pcp_port = 9898<br>
> pcp_socket_dir = '/tmp'<br>
> backend_hostname0 = 'localhost'<br>
> backend_port0 = 5434<br>
> backend_weight0 = 1<br>
> backend_data_directory0 = '/var/lib/postgresql/9.1/main'<br>
> backend_flag0 = 'ALLOW_TO_FAILOVER'<br>
> backend_hostname1 = '172.16.0.1'<br>
> backend_port1 = 5434 #doveva essere a 5434<br>
> backend_weight1 = 1<br>
> backend_data_directory1 = '/var/lib/postgresql/9.1/main'<br>
> backend_flag1 = 'ALLOW_TO_FAILOVER'<br>
> enable_pool_hba = off<br>
> authentication_timeout = 60<br>
> # - SSL Connections -<br>
> num_init_children = 32<br>
> max_pool = 10<br>
> child_life_time = 300<br>
> child_max_connections = 0<br>
> connection_life_time = 0<br>
> client_idle_limit = 0<br>
> log_destination = 'stderr'<br>
> print_timestamp = on<br>
> log_connections = off<br>
> log_hostname = on<br>
> log_statement = off<br>
> log_per_node_statement = off<br>
> log_standby_delay = 'none'<br>
> syslog_facility = 'LOCAL0'<br>
> syslog_ident = 'pgpool'<br>
> debug_level = 0<br>
> pid_file_name = '/var/run/pgpool/pgpool.pid'<br>
> logdir = '/tmp'<br>
> connection_cache = on<br>
> reset_query_list = 'ABORT; DISCARD ALL'<br>
> replication_mode = on<br>
> replicate_select = off<br>
> insert_lock = on<br>
> lobj_lock_table = ''<br>
> replication_stop_on_mismatch = off<br>
> failover_if_affected_tuples_mismatch = off<br>
> load_balance_mode =  off<br>
> ignore_leading_white_space = on<br>
> white_function_list = ''<br>
> black_function_list = 'nextval,setval'<br>
> master_slave_mode = off<br>
> sr_check_period = 0<br>
> sr_check_user = 'nobody'<br>
> sr_check_password = ''<br>
> delay_threshold = 0<br>
> follow_master_command = ''<br>
> parallel_mode = off<br>
> enable_query_cache = off<br>
> pgpool2_hostname = 'localhost'<br>
> system_db_hostname  = 'localhost'<br>
> system_db_port = 5434<br>
> system_db_dbname = 'pgpool'<br>
> system_db_schema = 'pgpool_catalog'<br>
> system_db_user = 'pgpool'<br>
> system_db_password = ''<br>
> health_check_period = 0<br>
> health_check_timeout = 20<br>
> health_check_user = 'nobody'<br>
> health_check_password = ''<br>
><br>
> ------------------------------------<br>
><br>
> The answers about these questions are welcome.<br>
><br>
> Best Regards<br>
><br>
> Nicolas<br>
</div></div></blockquote></div><br></div></div>