You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(6) |
Sep
|
Oct
(19) |
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
(12) |
Feb
(1) |
Mar
(4) |
Apr
(4) |
May
(32) |
Jun
(12) |
Jul
(11) |
Aug
(1) |
Sep
(6) |
Oct
(3) |
Nov
|
Dec
(10) |
2012 |
Jan
(11) |
Feb
(1) |
Mar
(3) |
Apr
(25) |
May
(53) |
Jun
(38) |
Jul
(103) |
Aug
(54) |
Sep
(31) |
Oct
(66) |
Nov
(77) |
Dec
(20) |
2013 |
Jan
(91) |
Feb
(86) |
Mar
(103) |
Apr
(107) |
May
(25) |
Jun
(37) |
Jul
(17) |
Aug
(59) |
Sep
(38) |
Oct
(78) |
Nov
(29) |
Dec
(15) |
2014 |
Jan
(23) |
Feb
(82) |
Mar
(118) |
Apr
(101) |
May
(103) |
Jun
(45) |
Jul
(6) |
Aug
(10) |
Sep
|
Oct
(32) |
Nov
|
Dec
(9) |
2015 |
Jan
(3) |
Feb
(5) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(9) |
Aug
(4) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
1
|
2
(3) |
3
|
4
|
5
(5) |
6
(22) |
7
(1) |
8
(4) |
9
|
10
|
11
|
12
|
13
(4) |
14
(6) |
15
(5) |
16
(18) |
17
|
18
|
19
(8) |
20
(1) |
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
|
From: Matteo D. <M.D...@gs...> - 2012-11-20 09:26:28
|
Hello, this will probably does not add anything to the thread but just as a 2 cents tip: when you are not really sure about the libraries linked with your binary you can just use the ldd command via the shell. Something like this: ldd /usr/local/pgsql/bin/postgres should come out with the output (on a Debian Squeeze machine on AMD64 arch): linux-vdso.so.1 => (0x00007fff807ff000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f1512c24000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00000....) libdl.so.2 => /lib/libdl.so.2 (0x00007f1512a20000) libm.so.6 => /lib/libm.so.6 (0x00007f151279d000) libc.so.6 => /lib/libc.so.6 (0x00007f151243b000) /lib64/ld-linux-x86-64.so.2 (0x00007f1512e69000) Bye, Matteo On 19.11.2012 05:41, Michael Paquier wrote: > > The only problem I see is related to your environment. > I believe that pg_ctl is trying to kick a binary postgres that has NOT > been compiled with --libxml at configuration. > > So, please check the following: > 1) What is the output of this command which postgres > If the result is NOT /usr/local/pgsql/bin/, it means that pg_ctl is > trying to kick a different binary, which has not been compiled with > --libxml > 2) Try to launch pg_ctl once again and add this option => -p > /usr/local/pgsql/bin/ > This will enforce pg_ctl to launch the binary postgres in given directory. > > Once again, you would obtain the same problems with vanilla postgres. > This is not related to XC at all but with the way you install and > manage your binaries in your environment. > > -- > Michael Paquier > http://michael.otacoo.com > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > > > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > -- Matteo Dessalvi Abteilung: HPC Ort: SB3.1.250 Fax.: +49 6159 71 2986 E-Mail:m.d...@gs... GSI Helmholtzzentrum für Schwerionenforschung GmbH Planckstraße 1 64291 Darmstadt www.gsi.de Gesellschaft mit beschränkter Haftung Sitz der Gesellschaft: Darmstadt Handelsregister: Amtsgericht Darmstadt, HRB 1528 Geschäftsführung: Professor Dr. Dr. h.c. mult. Horst Stöcker, Peter Hassenbach Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt |
From: Roumalyn T. <rt...@nt...> - 2012-11-19 04:54:51
|
Ok, I understand now. Thank you very much! On Mon, 19 Nov 2012 13:41:00 +0900, Michael Paquier <mic...@gm...> wrote: > On Mon, Nov 19, 2012 at 1:33 PM, Roumalyn Tiru <rt...@nt...> > wrote: > >> Hi! >> >> Sorry for the confusion. This is still related to the problem I posted >> about the XML data type. >> >> Previously, I started the servers using pg_ctl commands: >> gtm_ctl -Z gtm -D /usr/local/pgsql/data_gtm start >> pg_ctl start -D /usr/local/pgsql/data_datanode1 -Z datanode >> pg_ctl start -D /usr/local/pgsql/data_datanode2 -Z datanode >> pg_ctl start -D /usr/local/pgsql/data_coordinator1 -Z coordinator >> >> Then, I execute INSERT statements for a table with XML data type: >> CREATE TABLE test (y int, x xml); >> INSERT INTO test VALUES (1, '<foo>abc</foo>'); >> >> Then, I get the error: >> ERROR: unsupported XML feature >> >> When I read this message, I tried to change the way I started the >> servers: >> >>The error message is clear, the binary "postgres" you are using to >> launch your nodes has not been compiled with libxml. >> >>You would get the same error with vanilla postgres. >> >> I used postgres directly to start the servers. >> /usr/local/pgsql/bin/gtm -D /usr/local/pgsql/data_gtm 1>&1 & >> /usr/local/pgsql/bin/postgres -X -p 15432 -D >> /usr/local/pgsql/data_datanode1 1>&1 & >> /usr/local/pgsql/bin/postgres -X -p 15433 -D >> /usr/local/pgsql/data_datanode2 1>&1 & >> /usr/local/pgsql/bin/postgres -C -D /usr/local/pgsql/data_coordinator1 >> 1>&1 & >> >> When I executed the INSERT statement again, it was successful. >> >> Does using pg_ctl instead of postgres have any limitation? >> > The only problem I see is related to your environment. > I believe that pg_ctl is trying to kick a binary postgres that has NOT been > compiled with --libxml at configuration. > > So, please check the following: > 1) What is the output of this command which postgres > If the result is NOT /usr/local/pgsql/bin/, it means that pg_ctl is trying > to kick a different binary, which has not been compiled with --libxml > 2) Try to launch pg_ctl once again and add this option => -p > /usr/local/pgsql/bin/ > This will enforce pg_ctl to launch the binary postgres in given directory. > > Once again, you would obtain the same problems with vanilla postgres. This > is not related to XC at all but with the way you install and manage your > binaries in your environment. |
From: Michael P. <mic...@gm...> - 2012-11-19 04:41:09
|
On Mon, Nov 19, 2012 at 1:33 PM, Roumalyn Tiru <rt...@nt...> wrote: > Hi! > > Sorry for the confusion. This is still related to the problem I posted > about the XML data type. > > Previously, I started the servers using pg_ctl commands: > gtm_ctl -Z gtm -D /usr/local/pgsql/data_gtm start > pg_ctl start -D /usr/local/pgsql/data_datanode1 -Z datanode > pg_ctl start -D /usr/local/pgsql/data_datanode2 -Z datanode > pg_ctl start -D /usr/local/pgsql/data_coordinator1 -Z coordinator > > Then, I execute INSERT statements for a table with XML data type: > CREATE TABLE test (y int, x xml); > INSERT INTO test VALUES (1, '<foo>abc</foo>'); > > Then, I get the error: > ERROR: unsupported XML feature > > When I read this message, I tried to change the way I started the servers: > >>The error message is clear, the binary "postgres" you are using to > launch your nodes has not been compiled with libxml. > >>You would get the same error with vanilla postgres. > > I used postgres directly to start the servers. > /usr/local/pgsql/bin/gtm -D /usr/local/pgsql/data_gtm 1>&1 & > /usr/local/pgsql/bin/postgres -X -p 15432 -D > /usr/local/pgsql/data_datanode1 1>&1 & > /usr/local/pgsql/bin/postgres -X -p 15433 -D > /usr/local/pgsql/data_datanode2 1>&1 & > /usr/local/pgsql/bin/postgres -C -D /usr/local/pgsql/data_coordinator1 > 1>&1 & > > When I executed the INSERT statement again, it was successful. > > Does using pg_ctl instead of postgres have any limitation? > The only problem I see is related to your environment. I believe that pg_ctl is trying to kick a binary postgres that has NOT been compiled with --libxml at configuration. So, please check the following: 1) What is the output of this command which postgres If the result is NOT /usr/local/pgsql/bin/, it means that pg_ctl is trying to kick a different binary, which has not been compiled with --libxml 2) Try to launch pg_ctl once again and add this option => -p /usr/local/pgsql/bin/ This will enforce pg_ctl to launch the binary postgres in given directory. Once again, you would obtain the same problems with vanilla postgres. This is not related to XC at all but with the way you install and manage your binaries in your environment. -- Michael Paquier http://michael.otacoo.com |
From: Roumalyn T. <rt...@nt...> - 2012-11-19 04:34:01
|
Hi! Sorry for the confusion. This is still related to the problem I posted about the XML data type. Previously, I started the servers using pg_ctl commands: gtm_ctl -Z gtm -D /usr/local/pgsql/data_gtm start pg_ctl start -D /usr/local/pgsql/data_datanode1 -Z datanode pg_ctl start -D /usr/local/pgsql/data_datanode2 -Z datanode pg_ctl start -D /usr/local/pgsql/data_coordinator1 -Z coordinator Then, I execute INSERT statements for a table with XML data type: CREATE TABLE test (y int, x xml); INSERT INTO test VALUES (1, '<foo>abc</foo>'); Then, I get the error: ERROR: unsupported XML feature When I read this message, I tried to change the way I started the servers: >>The error message is clear, the binary "postgres" you are using to launch your nodes has not been compiled with libxml. >>You would get the same error with vanilla postgres. I used postgres directly to start the servers. /usr/local/pgsql/bin/gtm -D /usr/local/pgsql/data_gtm 1>&1 & /usr/local/pgsql/bin/postgres -X -p 15432 -D /usr/local/pgsql/data_datanode1 1>&1 & /usr/local/pgsql/bin/postgres -X -p 15433 -D /usr/local/pgsql/data_datanode2 1>&1 & /usr/local/pgsql/bin/postgres -C -D /usr/local/pgsql/data_coordinator1 1>&1 & When I executed the INSERT statement again, it was successful. Does using pg_ctl instead of postgres have any limitation? Thank you! On Mon, 19 Nov 2012 13:19:56 +0900, Michael Paquier <mic...@gm...> wrote: > On Mon, Nov 19, 2012 at 1:10 PM, Roumalyn Tiru <rt...@nt...> > wrote: > >> I have noticed the following: >> When I start the servers using pg_ctl, I get the error. >> But when I use postgres, the error does not occur. >> For example: >> /usr/local/pgsql/bin/gtm -D /usr/local/pgsql/data_gtm 1>&1 & >> /usr/local/pgsql/bin/postgres -X -p 15432 -D >> /usr/local/pgsql/data_datanode1 1>&1 & >> /usr/local/pgsql/bin/postgres -X -p 15433 -D >> /usr/local/pgsql/data_datanode2 1>&1 & >> /usr/local/pgsql/bin/postgres -C -D /usr/local/pgsql/data_coordinator1 >> 1>&1 & >> >> Do you have any idea why this happens? >> > Sorry I do not understand your problem. > What is the error message you are seeing and when (at which command) does > it occur? |
From: Michael P. <mic...@gm...> - 2012-11-19 04:20:04
|
On Mon, Nov 19, 2012 at 1:10 PM, Roumalyn Tiru <rt...@nt...> wrote: > I have noticed the following: > When I start the servers using pg_ctl, I get the error. > But when I use postgres, the error does not occur. > For example: > /usr/local/pgsql/bin/gtm -D /usr/local/pgsql/data_gtm 1>&1 & > /usr/local/pgsql/bin/postgres -X -p 15432 -D > /usr/local/pgsql/data_datanode1 1>&1 & > /usr/local/pgsql/bin/postgres -X -p 15433 -D > /usr/local/pgsql/data_datanode2 1>&1 & > /usr/local/pgsql/bin/postgres -C -D /usr/local/pgsql/data_coordinator1 > 1>&1 & > > Do you have any idea why this happens? > Sorry I do not understand your problem. What is the error message you are seeing and when (at which command) does it occur? -- Michael Paquier http://michael.otacoo.com |
From: Roumalyn T. <rt...@nt...> - 2012-11-19 04:10:46
|
Hi! Thank you for your suggestion. I have checked the build list and -lxml is included. I have noticed the following: When I start the servers using pg_ctl, I get the error. But when I use postgres, the error does not occur. For example: /usr/local/pgsql/bin/gtm -D /usr/local/pgsql/data_gtm 1>&1 & /usr/local/pgsql/bin/postgres -X -p 15432 -D /usr/local/pgsql/data_datanode1 1>&1 & /usr/local/pgsql/bin/postgres -X -p 15433 -D /usr/local/pgsql/data_datanode2 1>&1 & /usr/local/pgsql/bin/postgres -C -D /usr/local/pgsql/data_coordinator1 1>&1 & Do you have any idea why this happens? Thank you very much for your help. On Sat, 17 Nov 2012 00:02:05 +0900, Koichi Suzuki <koi...@gm...> wrote: > If you are not sure that libxml is loaded to postgres, you can use nm > command to see if libxml entries are included in your binary, or you > can see build list if -lxml is included in compiler command line. > > Sorry for just general suggestion but hope this helps. > > Regards; > ---------- > Koichi Suzuki > > > 2012/11/16 Michael Paquier <mic...@gm...>: >> >> >> On Fri, Nov 16, 2012 at 5:28 PM, Roumalyn Tiru <rt...@nt...> >> wrote: >>> >>> Hi! >>> >>> Please disregard my previous email. >>> I just created a new database instead of using postgres. >>> It worked! >>> >>> Thank you very much for your support! :) >> >> OK cool. >> Please note that it works also on template postgres. >> I am sure you missed only a little thing :) >> -- >> Michael Paquier >> http://michael.otacoo.com >> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> Postgres-xc-general mailing list >> Pos...@li... >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >> |
From: Michael P. <mic...@gm...> - 2012-11-19 01:55:47
|
On Mon, Nov 19, 2012 at 10:12 AM, Devrim Gündüz <de...@gu...> wrote: > Hi, > > New PostgreSQL minor releases are due soon. We may see some more fixes on > upstream before then. What about waiting for 2 weeks? > OK understood, thanks for the information. I'll see if this is possible. -- Michael Paquier http://michael.otacoo.com |
From: Devrim G. <de...@gu...> - 2012-11-19 01:30:34
|
Hi, New PostgreSQL minor releases are due soon. We may see some more fixes on upstream before then. What about waiting for 2 weeks? Regards, Devrim Michael Paquier <mic...@gm...> wrote: >Hi, > >We have done something like 20 bugs fixes since the release of 1.0.1. >It looks to be a good timing to wrap up a minor release including all >the >latest fixes of Postgres 9.1 stable. >Any comments? -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. |
From: Michael P. <mic...@gm...> - 2012-11-19 00:56:40
|
Hi, We have done something like 20 bugs fixes since the release of 1.0.1. It looks to be a good timing to wrap up a minor release including all the latest fixes of Postgres 9.1 stable. Any comments? -- Michael Paquier http://michael.otacoo.com |
From: Koichi S. <koi...@gm...> - 2012-11-16 15:02:16
|
If you are not sure that libxml is loaded to postgres, you can use nm command to see if libxml entries are included in your binary, or you can see build list if -lxml is included in compiler command line. Sorry for just general suggestion but hope this helps. Regards; ---------- Koichi Suzuki 2012/11/16 Michael Paquier <mic...@gm...>: > > > On Fri, Nov 16, 2012 at 5:28 PM, Roumalyn Tiru <rt...@nt...> wrote: >> >> Hi! >> >> Please disregard my previous email. >> I just created a new database instead of using postgres. >> It worked! >> >> Thank you very much for your support! :) > > OK cool. > Please note that it works also on template postgres. > I am sure you missed only a little thing :) > -- > Michael Paquier > http://michael.otacoo.com > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > |
From: Michael P. <mic...@gm...> - 2012-11-16 09:06:39
|
On Fri, Nov 16, 2012 at 5:28 PM, Roumalyn Tiru <rt...@nt...> wrote: > Hi! > > Please disregard my previous email. > I just created a new database instead of using postgres. > It worked! > > Thank you very much for your support! :) > OK cool. Please note that it works also on template postgres. I am sure you missed only a little thing :) -- Michael Paquier http://michael.otacoo.com |
From: Roumalyn T. <rt...@nt...> - 2012-11-16 08:28:32
|
Hi! Please disregard my previous email. I just created a new database instead of using postgres. It worked! Thank you very much for your support! :) On Fri, 16 Nov 2012 17:06:10 +0900, Michael Paquier <mic...@gm...> wrote: > On Fri, Nov 16, 2012 at 4:25 PM, Roumalyn Tiru <rt...@nt...> > wrote: > >> Below is the output: >> >> === >> postgres=# CREATE TABLE xmltest ( >> postgres(# id int, >> postgres(# data xml >> postgres(# ); >> CREATE TABLE >> postgres=# INSERT INTO xmltest VALUES (1, '<value>one</value>'); >> ERROR: unsupported XML feature >> LINE 1: INSERT INTO xmltest VALUES (1, '<value>one</value>'); >> ^ >> DETAIL: This functionality requires the server to be built with libxml >> support. >> HINT: You need to rebuild PostgreSQL using --with-libxml. >> postgres=# INSERT INTO xmltest VALUES (2, '<value>two</value>'); >> ERROR: unsupported XML feature >> LINE 1: INSERT INTO xmltest VALUES (2, '<value>two</value>'); >> ^ >> DETAIL: This functionality requires the server to be built with libxml >> support. >> HINT: You need to rebuild PostgreSQL using --with-libxml. >> postgres=# >> > The error message is clear, the binary "postgres" you are using to launch > your nodes has not been compiled with libxml. > You would get the same error with vanilla postgres. |
From: Roumalyn T. <rt...@nt...> - 2012-11-16 08:19:58
|
Hi! Could you explain a little further? I have built postgres-xc with --with-libxml option. Do I also need to set XML2_CONFIG variable or other options? Thank you! On Fri, 16 Nov 2012 17:06:10 +0900, Michael Paquier <mic...@gm...> wrote: > On Fri, Nov 16, 2012 at 4:25 PM, Roumalyn Tiru <rt...@nt...> > wrote: > >> Below is the output: >> >> === >> postgres=# CREATE TABLE xmltest ( >> postgres(# id int, >> postgres(# data xml >> postgres(# ); >> CREATE TABLE >> postgres=# INSERT INTO xmltest VALUES (1, '<value>one</value>'); >> ERROR: unsupported XML feature >> LINE 1: INSERT INTO xmltest VALUES (1, '<value>one</value>'); >> ^ >> DETAIL: This functionality requires the server to be built with libxml >> support. >> HINT: You need to rebuild PostgreSQL using --with-libxml. >> postgres=# INSERT INTO xmltest VALUES (2, '<value>two</value>'); >> ERROR: unsupported XML feature >> LINE 1: INSERT INTO xmltest VALUES (2, '<value>two</value>'); >> ^ >> DETAIL: This functionality requires the server to be built with libxml >> support. >> HINT: You need to rebuild PostgreSQL using --with-libxml. >> postgres=# >> > The error message is clear, the binary "postgres" you are using to launch > your nodes has not been compiled with libxml. > You would get the same error with vanilla postgres. |
From: Michael P. <mic...@gm...> - 2012-11-16 08:06:23
|
On Fri, Nov 16, 2012 at 4:25 PM, Roumalyn Tiru <rt...@nt...> wrote: > Below is the output: > > === > postgres=# CREATE TABLE xmltest ( > postgres(# id int, > postgres(# data xml > postgres(# ); > CREATE TABLE > postgres=# INSERT INTO xmltest VALUES (1, '<value>one</value>'); > ERROR: unsupported XML feature > LINE 1: INSERT INTO xmltest VALUES (1, '<value>one</value>'); > ^ > DETAIL: This functionality requires the server to be built with libxml > support. > HINT: You need to rebuild PostgreSQL using --with-libxml. > postgres=# INSERT INTO xmltest VALUES (2, '<value>two</value>'); > ERROR: unsupported XML feature > LINE 1: INSERT INTO xmltest VALUES (2, '<value>two</value>'); > ^ > DETAIL: This functionality requires the server to be built with libxml > support. > HINT: You need to rebuild PostgreSQL using --with-libxml. > postgres=# > The error message is clear, the binary "postgres" you are using to launch your nodes has not been compiled with libxml. You would get the same error with vanilla postgres. -- Michael Paquier http://michael.otacoo.com |
From: Roumalyn T. <rt...@nt...> - 2012-11-16 07:26:12
|
Below is the output: === postgres=# CREATE TABLE xmltest ( postgres(# id int, postgres(# data xml postgres(# ); CREATE TABLE postgres=# INSERT INTO xmltest VALUES (1, '<value>one</value>'); ERROR: unsupported XML feature LINE 1: INSERT INTO xmltest VALUES (1, '<value>one</value>'); ^ DETAIL: This functionality requires the server to be built with libxml support. HINT: You need to rebuild PostgreSQL using --with-libxml. postgres=# INSERT INTO xmltest VALUES (2, '<value>two</value>'); ERROR: unsupported XML feature LINE 1: INSERT INTO xmltest VALUES (2, '<value>two</value>'); ^ DETAIL: This functionality requires the server to be built with libxml support. HINT: You need to rebuild PostgreSQL using --with-libxml. postgres=# === On Fri, 16 Nov 2012 16:22:06 +0900, Michael Paquier <mic...@gm...> wrote: > Knowing that you installed libxml2 on your machine, this should work > correctly. > Could you run those queries? > CREATE TABLE xmltest ( > id int, > data xml > ); > > INSERT INTO xmltest VALUES (1, '<value>one</value>'); > INSERT INTO xmltest VALUES (2, '<value>two</value>'); > > On Fri, Nov 16, 2012 at 3:34 PM, Roumalyn Tiru <rt...@nt...> > wrote: > >> I found the following in my config.log >> >> ---- >> $ ./configure --with-libxml >> >> configure:7478: gcc -o conftest -O2 -Wall -Wmissing-prototypes >> -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels >> -Wformat-security -fno-strict-aliasing -fwrapv -D_GNU_SOURCE >> -I/usr/include/libxml2 conftest.c -lm >&5 >> (Note: A lot of similar lines) >> <...> >> >> configure:29757: using CPPFLAGS= -D_GNU_SOURCE -I/usr/include/libxml2 >> >> >> ## ---------------- ## >> ## Cache variables. ## >> ## ---------------- ## >> ac_cv_header_libxml_parser_h=yes >> >> ## ----------------- ## >> ## Output variables. ## >> ## ----------------- ## >> CPPFLAGS=' -D_GNU_SOURCE -I/usr/include/libxml2 ' >> configure_args=' '\''--with-libxml'\''' >> with_libxml='yes' >> >> ## ----------- ## >> ## confdefs.h. ## >> ## ----------- ## >> #define USE_LIBXML 1 >> #define HAVE_LIBXML2 1 >> >> ---- >> >> I am also using CentOS6.0 and libxml2.7.6 >> >> >> >> >> On Fri, 16 Nov 2012 15:06:06 +0900, Michael Paquier >> <mic...@gm...> wrote: >> > On Fri, Nov 16, 2012 at 2:14 PM, Roumalyn Tiru <rt...@nt...> >> > wrote: >> > >> >> Hi! >> >> >> >> Thank you for your reply. I just received a subscription confirmation. >> >> I am re-sending my email. >> >> >> >> >> >> I have installed a basic Postgres-QC cluster (1 GTM, 1C oordinator, >> >> and >> 2 >> >> datanodes) on a single machine. >> >> I launched ./configure only in this machine. >> >> >> > That's honestly strange. >> > Here is the libxml command I use and it works. >> > configure --prefix=$PSQL_INSTALL_FOLDER --with-libxml >> > >> > What is the output of config.log after launching configure and by >> searching >> > on a keyword like "libxml"? >> > >> > >> >> >> >> >> >> >> >> >> >> On Fri, 16 Nov 2012 13:02:40 +0900, Michael Paquier >> >> <mic...@gm...> wrote: >> >> > On Fri, Nov 16, 2012 at 10:36 AM, Roumalyn Tiru >> >> > <rt...@nt...>wrote: >> >> > >> >> >> Hi All, >> >> >> >> >> >> I am performing a functionality test of Postgres-XC. >> >> >> For XML data type, I am able to create a table with xml type but >> when >> >> >> I >> >> >> try to insert values, the following error message is displayed. >> >> >> >> >> >> >> >> >> ERROR: unsupported XML feature >> >> >> DETAIL: This functionality requires the server to be built with >> >> >> libxml >> >> >> support. >> >> >> HINT: You need to rebuild PostgreSQL using --with-libxml. >> >> >> >> >> >> >> >> >> I have configured and installed Postgres-XC with --with-libxml >> option. >> >> >> >> >> > Have you launched ./configure with option --with-libxml on ALL the >> >> > nodes >> >> > where binaries are installed if you use multiple servers? >> >> > I use xml libs myself and I got: >> >> > postgres=# CREATE TABLE xmltest ( >> >> > postgres(# id int, >> >> > postgres(# data xml >> >> > postgres(# ); >> >> > CREATE TABLE >> >> > postgres=# >> >> > postgres=# INSERT INTO xmltest VALUES (1, '<value>one</value>'); >> >> > INSERT 0 1 >> >> > postgres=# INSERT INTO xmltest VALUES (2, '<value>two</value>'); >> >> > INSERT 0 1 >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Monitor your physical, virtual and cloud infrastructure from a single >> >> web console. Get in-depth insight into apps, servers, databases, >> vmware, >> >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> >> Pricing starts from $795 for 25 servers or applications! >> >> http://p.sf.net/sfu/zoho_dev2dev_nov >> >> _______________________________________________ >> >> Postgres-xc-general mailing list >> >> Pos...@li... >> >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >> >> >> >> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> Postgres-xc-general mailing list >> Pos...@li... >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >> |
From: Michael P. <mic...@gm...> - 2012-11-16 07:23:34
|
On Fri, Nov 16, 2012 at 3:31 PM, Tatsuo Ishii <is...@po...> wrote: > Each server has data node, coordinator, and GTM proxy. Every > postgresql.conf has gtm_host = 'localhost' and gtm_port = 6666. We > double checked all postgresql.conf has same value and also GTM proxy > is up and running. > Do you have error messages in gtm.log, located in gtm data folder, related to thread cleanup or transaction IDs that cannot be taken? -- Michael Paquier http://michael.otacoo.com |
From: Michael P. <mic...@gm...> - 2012-11-16 07:22:13
|
Knowing that you installed libxml2 on your machine, this should work correctly. Could you run those queries? CREATE TABLE xmltest ( id int, data xml ); INSERT INTO xmltest VALUES (1, '<value>one</value>'); INSERT INTO xmltest VALUES (2, '<value>two</value>'); On Fri, Nov 16, 2012 at 3:34 PM, Roumalyn Tiru <rt...@nt...> wrote: > I found the following in my config.log > > ---- > $ ./configure --with-libxml > > configure:7478: gcc -o conftest -O2 -Wall -Wmissing-prototypes > -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels > -Wformat-security -fno-strict-aliasing -fwrapv -D_GNU_SOURCE > -I/usr/include/libxml2 conftest.c -lm >&5 > (Note: A lot of similar lines) > <...> > > configure:29757: using CPPFLAGS= -D_GNU_SOURCE -I/usr/include/libxml2 > > > ## ---------------- ## > ## Cache variables. ## > ## ---------------- ## > ac_cv_header_libxml_parser_h=yes > > ## ----------------- ## > ## Output variables. ## > ## ----------------- ## > CPPFLAGS=' -D_GNU_SOURCE -I/usr/include/libxml2 ' > configure_args=' '\''--with-libxml'\''' > with_libxml='yes' > > ## ----------- ## > ## confdefs.h. ## > ## ----------- ## > #define USE_LIBXML 1 > #define HAVE_LIBXML2 1 > > ---- > > I am also using CentOS6.0 and libxml2.7.6 > > > > > On Fri, 16 Nov 2012 15:06:06 +0900, Michael Paquier > <mic...@gm...> wrote: > > On Fri, Nov 16, 2012 at 2:14 PM, Roumalyn Tiru <rt...@nt...> > > wrote: > > > >> Hi! > >> > >> Thank you for your reply. I just received a subscription confirmation. > >> I am re-sending my email. > >> > >> > >> I have installed a basic Postgres-QC cluster (1 GTM, 1C oordinator, and > 2 > >> datanodes) on a single machine. > >> I launched ./configure only in this machine. > >> > > That's honestly strange. > > Here is the libxml command I use and it works. > > configure --prefix=$PSQL_INSTALL_FOLDER --with-libxml > > > > What is the output of config.log after launching configure and by > searching > > on a keyword like "libxml"? > > > > > >> > >> > >> > >> > >> On Fri, 16 Nov 2012 13:02:40 +0900, Michael Paquier > >> <mic...@gm...> wrote: > >> > On Fri, Nov 16, 2012 at 10:36 AM, Roumalyn Tiru > >> > <rt...@nt...>wrote: > >> > > >> >> Hi All, > >> >> > >> >> I am performing a functionality test of Postgres-XC. > >> >> For XML data type, I am able to create a table with xml type but > when > >> >> I > >> >> try to insert values, the following error message is displayed. > >> >> > >> >> > >> >> ERROR: unsupported XML feature > >> >> DETAIL: This functionality requires the server to be built with > >> >> libxml > >> >> support. > >> >> HINT: You need to rebuild PostgreSQL using --with-libxml. > >> >> > >> >> > >> >> I have configured and installed Postgres-XC with --with-libxml > option. > >> >> > >> > Have you launched ./configure with option --with-libxml on ALL the > >> > nodes > >> > where binaries are installed if you use multiple servers? > >> > I use xml libs myself and I got: > >> > postgres=# CREATE TABLE xmltest ( > >> > postgres(# id int, > >> > postgres(# data xml > >> > postgres(# ); > >> > CREATE TABLE > >> > postgres=# > >> > postgres=# INSERT INTO xmltest VALUES (1, '<value>one</value>'); > >> > INSERT 0 1 > >> > postgres=# INSERT INTO xmltest VALUES (2, '<value>two</value>'); > >> > INSERT 0 1 > >> > >> > >> > > ------------------------------------------------------------------------------ > >> Monitor your physical, virtual and cloud infrastructure from a single > >> web console. Get in-depth insight into apps, servers, databases, > vmware, > >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >> Pricing starts from $795 for 25 servers or applications! > >> http://p.sf.net/sfu/zoho_dev2dev_nov > >> _______________________________________________ > >> Postgres-xc-general mailing list > >> Pos...@li... > >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > >> > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > -- Michael Paquier http://michael.otacoo.com |
From: Roumalyn T. <rt...@nt...> - 2012-11-16 06:35:01
|
I found the following in my config.log ---- $ ./configure --with-libxml configure:7478: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -D_GNU_SOURCE -I/usr/include/libxml2 conftest.c -lm >&5 (Note: A lot of similar lines) <...> configure:29757: using CPPFLAGS= -D_GNU_SOURCE -I/usr/include/libxml2 ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_header_libxml_parser_h=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## CPPFLAGS=' -D_GNU_SOURCE -I/usr/include/libxml2 ' configure_args=' '\''--with-libxml'\''' with_libxml='yes' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define USE_LIBXML 1 #define HAVE_LIBXML2 1 ---- I am also using CentOS6.0 and libxml2.7.6 On Fri, 16 Nov 2012 15:06:06 +0900, Michael Paquier <mic...@gm...> wrote: > On Fri, Nov 16, 2012 at 2:14 PM, Roumalyn Tiru <rt...@nt...> > wrote: > >> Hi! >> >> Thank you for your reply. I just received a subscription confirmation. >> I am re-sending my email. >> >> >> I have installed a basic Postgres-QC cluster (1 GTM, 1C oordinator, and 2 >> datanodes) on a single machine. >> I launched ./configure only in this machine. >> > That's honestly strange. > Here is the libxml command I use and it works. > configure --prefix=$PSQL_INSTALL_FOLDER --with-libxml > > What is the output of config.log after launching configure and by searching > on a keyword like "libxml"? > > >> >> >> >> >> On Fri, 16 Nov 2012 13:02:40 +0900, Michael Paquier >> <mic...@gm...> wrote: >> > On Fri, Nov 16, 2012 at 10:36 AM, Roumalyn Tiru >> > <rt...@nt...>wrote: >> > >> >> Hi All, >> >> >> >> I am performing a functionality test of Postgres-XC. >> >> For XML data type, I am able to create a table with xml type but when >> >> I >> >> try to insert values, the following error message is displayed. >> >> >> >> >> >> ERROR: unsupported XML feature >> >> DETAIL: This functionality requires the server to be built with >> >> libxml >> >> support. >> >> HINT: You need to rebuild PostgreSQL using --with-libxml. >> >> >> >> >> >> I have configured and installed Postgres-XC with --with-libxml option. >> >> >> > Have you launched ./configure with option --with-libxml on ALL the >> > nodes >> > where binaries are installed if you use multiple servers? >> > I use xml libs myself and I got: >> > postgres=# CREATE TABLE xmltest ( >> > postgres(# id int, >> > postgres(# data xml >> > postgres(# ); >> > CREATE TABLE >> > postgres=# >> > postgres=# INSERT INTO xmltest VALUES (1, '<value>one</value>'); >> > INSERT 0 1 >> > postgres=# INSERT INTO xmltest VALUES (2, '<value>two</value>'); >> > INSERT 0 1 >> >> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> Postgres-xc-general mailing list >> Pos...@li... >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >> |
From: Tatsuo I. <is...@po...> - 2012-11-16 06:32:17
|
> On Fri, Nov 16, 2012 at 2:12 PM, Tatsuo Ishii <is...@po...> wrote: > >> >> >> We have up to 8 servers, where each server has data >> >> >> node/coorrdinator/GTM proxy. We have GTM on a seprate server. Then we >> >> >> execute multiple pgbench -k -S against the servers(each pgbench >> >> >> connect to different server). >> >> >> >> >> > OK, this should not happen... >> >> > How many max connections are you using per Coordinator >> >> >> >> 100. >> >> >> >> > and how many >> >> > Coordinators do you have? >> >> >> >> Up to 4. >> >> The number of coordinators are same as data nodes. So when we test 4 >> >> data nodes(suppose they are d1 to d4), we are doing something like >> >> this: >> >> >> >> on host c1: pgbench -c 100 -S -h d1 >> >> on host c2: pgbench -c 100 -S -h d2 >> >> on host c3: pgbench -c 100 -S -h d3 >> >> on host c4: pgbench -c 100 -S -h d4 >> >> >> > That looks OK. I was wondering if the maximum active transactions >> possible >> > on GTM (1024) was reached, leading to your error. >> > The warning "Cannot connect to GTM..." "Xid is invalid." only happens >> when >> > a node tries to get a connection from GTM but it cannot, making me think >> > that GTM is not online or you have some firewall/network problems between >> > the node and GTM. >> >> The error seems not depending on number of node. We did the similar >> way as 4 nodes above against 8 nodes configuration. Sometimes we saw >> the error, sometimes not. Also we saw the error when the number of >> nodes less than 4, for example 2 or 1. >> > I believe here in a configuration mistake. I work here with clusters up to > 10 servers and do not see that if connection to GTM is made correctly even > with a huge load. > Please double-check gtm_host and gtm_port in each node's postgresql.conf, > then check what is the port open on GTM. Each server has data node, coordinator, and GTM proxy. Every postgresql.conf has gtm_host = 'localhost' and gtm_port = 6666. We double checked all postgresql.conf has same value and also GTM proxy is up and running. -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese: http://www.sraoss.co.jp |
From: Michael P. <mic...@gm...> - 2012-11-16 06:08:02
|
On Fri, Nov 16, 2012 at 2:12 PM, Tatsuo Ishii <is...@po...> wrote: > >> >> We have up to 8 servers, where each server has data > >> >> node/coorrdinator/GTM proxy. We have GTM on a seprate server. Then we > >> >> execute multiple pgbench -k -S against the servers(each pgbench > >> >> connect to different server). > >> >> > >> > OK, this should not happen... > >> > How many max connections are you using per Coordinator > >> > >> 100. > >> > >> > and how many > >> > Coordinators do you have? > >> > >> Up to 4. > >> The number of coordinators are same as data nodes. So when we test 4 > >> data nodes(suppose they are d1 to d4), we are doing something like > >> this: > >> > >> on host c1: pgbench -c 100 -S -h d1 > >> on host c2: pgbench -c 100 -S -h d2 > >> on host c3: pgbench -c 100 -S -h d3 > >> on host c4: pgbench -c 100 -S -h d4 > >> > > That looks OK. I was wondering if the maximum active transactions > possible > > on GTM (1024) was reached, leading to your error. > > The warning "Cannot connect to GTM..." "Xid is invalid." only happens > when > > a node tries to get a connection from GTM but it cannot, making me think > > that GTM is not online or you have some firewall/network problems between > > the node and GTM. > > The error seems not depending on number of node. We did the similar > way as 4 nodes above against 8 nodes configuration. Sometimes we saw > the error, sometimes not. Also we saw the error when the number of > nodes less than 4, for example 2 or 1. > I believe here in a configuration mistake. I work here with clusters up to 10 servers and do not see that if connection to GTM is made correctly even with a huge load. Please double-check gtm_host and gtm_port in each node's postgresql.conf, then check what is the port open on GTM. -- Michael Paquier http://michael.otacoo.com |
From: Michael P. <mic...@gm...> - 2012-11-16 06:06:15
|
On Fri, Nov 16, 2012 at 2:14 PM, Roumalyn Tiru <rt...@nt...> wrote: > Hi! > > Thank you for your reply. I just received a subscription confirmation. > I am re-sending my email. > > > I have installed a basic Postgres-QC cluster (1 GTM, 1C oordinator, and 2 > datanodes) on a single machine. > I launched ./configure only in this machine. > That's honestly strange. Here is the libxml command I use and it works. configure --prefix=$PSQL_INSTALL_FOLDER --with-libxml What is the output of config.log after launching configure and by searching on a keyword like "libxml"? > > > > > On Fri, 16 Nov 2012 13:02:40 +0900, Michael Paquier > <mic...@gm...> wrote: > > On Fri, Nov 16, 2012 at 10:36 AM, Roumalyn Tiru > > <rt...@nt...>wrote: > > > >> Hi All, > >> > >> I am performing a functionality test of Postgres-XC. > >> For XML data type, I am able to create a table with xml type but when I > >> try to insert values, the following error message is displayed. > >> > >> > >> ERROR: unsupported XML feature > >> DETAIL: This functionality requires the server to be built with libxml > >> support. > >> HINT: You need to rebuild PostgreSQL using --with-libxml. > >> > >> > >> I have configured and installed Postgres-XC with --with-libxml option. > >> > > Have you launched ./configure with option --with-libxml on ALL the nodes > > where binaries are installed if you use multiple servers? > > I use xml libs myself and I got: > > postgres=# CREATE TABLE xmltest ( > > postgres(# id int, > > postgres(# data xml > > postgres(# ); > > CREATE TABLE > > postgres=# > > postgres=# INSERT INTO xmltest VALUES (1, '<value>one</value>'); > > INSERT 0 1 > > postgres=# INSERT INTO xmltest VALUES (2, '<value>two</value>'); > > INSERT 0 1 > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > -- Michael Paquier http://michael.otacoo.com |
From: Roumalyn T. <rt...@nt...> - 2012-11-16 05:14:41
|
Hi! Thank you for your reply. I just received a subscription confirmation. I am re-sending my email. I have installed a basic Postgres-QC cluster (1 GTM, 1C oordinator, and 2 datanodes) on a single machine. I launched ./configure only in this machine. On Fri, 16 Nov 2012 13:02:40 +0900, Michael Paquier <mic...@gm...> wrote: > On Fri, Nov 16, 2012 at 10:36 AM, Roumalyn Tiru > <rt...@nt...>wrote: > >> Hi All, >> >> I am performing a functionality test of Postgres-XC. >> For XML data type, I am able to create a table with xml type but when I >> try to insert values, the following error message is displayed. >> >> >> ERROR: unsupported XML feature >> DETAIL: This functionality requires the server to be built with libxml >> support. >> HINT: You need to rebuild PostgreSQL using --with-libxml. >> >> >> I have configured and installed Postgres-XC with --with-libxml option. >> > Have you launched ./configure with option --with-libxml on ALL the nodes > where binaries are installed if you use multiple servers? > I use xml libs myself and I got: > postgres=# CREATE TABLE xmltest ( > postgres(# id int, > postgres(# data xml > postgres(# ); > CREATE TABLE > postgres=# > postgres=# INSERT INTO xmltest VALUES (1, '<value>one</value>'); > INSERT 0 1 > postgres=# INSERT INTO xmltest VALUES (2, '<value>two</value>'); > INSERT 0 1 |
From: Tatsuo I. <is...@po...> - 2012-11-16 05:13:12
|
>> >> We have up to 8 servers, where each server has data >> >> node/coorrdinator/GTM proxy. We have GTM on a seprate server. Then we >> >> execute multiple pgbench -k -S against the servers(each pgbench >> >> connect to different server). >> >> >> > OK, this should not happen... >> > How many max connections are you using per Coordinator >> >> 100. >> >> > and how many >> > Coordinators do you have? >> >> Up to 4. >> The number of coordinators are same as data nodes. So when we test 4 >> data nodes(suppose they are d1 to d4), we are doing something like >> this: >> >> on host c1: pgbench -c 100 -S -h d1 >> on host c2: pgbench -c 100 -S -h d2 >> on host c3: pgbench -c 100 -S -h d3 >> on host c4: pgbench -c 100 -S -h d4 >> > That looks OK. I was wondering if the maximum active transactions possible > on GTM (1024) was reached, leading to your error. > The warning "Cannot connect to GTM..." "Xid is invalid." only happens when > a node tries to get a connection from GTM but it cannot, making me think > that GTM is not online or you have some firewall/network problems between > the node and GTM. The error seems not depending on number of node. We did the similar way as 4 nodes above against 8 nodes configuration. Sometimes we saw the error, sometimes not. Also we saw the error when the number of nodes less than 4, for example 2 or 1. -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese: http://www.sraoss.co.jp |
From: Michael P. <mic...@gm...> - 2012-11-16 05:04:26
|
On Fri, Nov 16, 2012 at 1:59 PM, Tatsuo Ishii <is...@po...> wrote: > > (ccing XC general ML) > > > > On Fri, Nov 16, 2012 at 12:40 PM, Tatsuo Ishii <is...@po...> > wrote: > > > >> We have up to 8 servers, where each server has data > >> node/coorrdinator/GTM proxy. We have GTM on a seprate server. Then we > >> execute multiple pgbench -k -S against the servers(each pgbench > >> connect to different server). > >> > > OK, this should not happen... > > How many max connections are you using per Coordinator > > 100. > > > and how many > > Coordinators do you have? > > Up to 4. > The number of coordinators are same as data nodes. So when we test 4 > data nodes(suppose they are d1 to d4), we are doing something like > this: > > on host c1: pgbench -c 100 -S -h d1 > on host c2: pgbench -c 100 -S -h d2 > on host c3: pgbench -c 100 -S -h d3 > on host c4: pgbench -c 100 -S -h d4 > That looks OK. I was wondering if the maximum active transactions possible on GTM (1024) was reached, leading to your error. The warning "Cannot connect to GTM..." "Xid is invalid." only happens when a node tries to get a connection from GTM but it cannot, making me think that GTM is not online or you have some firewall/network problems between the node and GTM. -- Michael Paquier http://michael.otacoo.com |
From: Tatsuo I. <is...@po...> - 2012-11-16 05:00:21
|
> (ccing XC general ML) > > On Fri, Nov 16, 2012 at 12:40 PM, Tatsuo Ishii <is...@po...> wrote: > >> We have up to 8 servers, where each server has data >> node/coorrdinator/GTM proxy. We have GTM on a seprate server. Then we >> execute multiple pgbench -k -S against the servers(each pgbench >> connect to different server). >> > OK, this should not happen... > How many max connections are you using per Coordinator 100. > and how many > Coordinators do you have? Up to 4. The number of coordinators are same as data nodes. So when we test 4 data nodes(suppose they are d1 to d4), we are doing something like this: on host c1: pgbench -c 100 -S -h d1 on host c2: pgbench -c 100 -S -h d2 on host c3: pgbench -c 100 -S -h d3 on host c4: pgbench -c 100 -S -h d4 -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese: http://www.sraoss.co.jp |