Menu

#18 Cannot Insert Records

9.2rc
open
nobody
None
1
None
nobody
2015-10-14
2014-07-10
Mike
No

I create the database and run the ddl to create a table then try to do inserts and the insert does not work. I can load the table from csv files using the copy to xxxx from xxx.csv But Inserts do not work.

[postgres@cen-6-pgxl-coord ~]$ psql -U certi CRISTAL_SDP
psql (PGXL 9.2.0, based on PG 9.2.4 (Postgres-XL 9.2.0))
Type "help" for help.

CRISTAL_SDP=# INSERT INTO CRISTAL.CDSEX (CDEPIN,RORDIN,CTYENR,XTYPEN,NUMFIC)
CRISTAL_SDP-# VALUES('17',
CRISTAL_SDP(# '1',
CRISTAL_SDP(# 'CABECI',
CRISTAL_SDP(# 'O12',
CRISTAL_SDP(# '0') ;
INSERT 0 0

INSERT 0 Records. Why?? I can do a copy from to load the tables but can't insert records???

I have 4 servers, 1 gtm, 1 coordinator and 2 datanodes.

I set the following kernel values on each server:
sysctl -w kernel.shmmax=17179869184
sysctl -w kernel.shmall=4194304

pgxl definitions:
psql -c "CREATE NODE datanode1 WITH (TYPE = 'datanode', HOST = '192.168.1.43', PORT = 15432)" postgres
psql -c "CREATE NODE datanode2 WITH (TYPE = 'datanode', HOST = '192.168.1.44', PORT = 15433)" postgres
psql -c "CREATE NODE GROUP data_cluster WITH (datanode1, datanode2)" postgres
psql -c "SELECT pgxc_pool_reload()" postgres

192.168.1.41
mkdir /usr/local/pgsql/gtm
chown postgres /usr/local/pgsql/gtm
su - postgres
initgtm -D /usr/local/pgsql/gtm -Z gtm
gtm -D /usr/local/pgsql/gtm >gtm.log 2>&1 &

1:139778787112768:2014-07-09 16:09:09.475 EDT -LOG: Saving transaction restoration info, backed-up gxid: 12731
LOCATION: GTM_WriteRestorePointXid, gtm_txn.c:2649
1:139778787112768:2014-07-09 16:09:09.476 EDT -LOG: Started to run as GTM-Active.
LOCATION: main, main.c:641
1:139778787112768:2014-07-09 16:09:35.744 EDT -LOG: Any GTM standby node not found in registered node(s).
LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
1:139778787112768:2014-07-09 16:09:48.058 EDT -LOG: Any GTM standby node not found in registered node(s).
LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
1:139778787112768:2014-07-09 16:09:48.081 EDT -LOG: Any GTM standby node not found in registered node(s).
LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
.
.
.

192.168.1.43
mkdir /usr/local/pgsql/datanode1
chown postgres /usr/local/pgsql/datanode1
su - postgres
initdb -D /usr/local/pgsql/datanode1 --nodename datanode1
postgres --datanode -p 15432 -D /usr/local/pgsql/datanode1 > datanode1.log 2>&1 &
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
.
.
.

192.168.1.44
mkdir /usr/local/pgsql/datanode2
chown postgres /usr/local/pgsql/datanode2
su - postgres
initdb -D /usr/local/pgsql/datanode2 --nodename datanode2
postgres --datanode datanode2 -p 15433 -D /usr/local/pgsql/datanode2 >datanode2.log 2>&1 &
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
.
.
.

192.168.1.42
mkdir /usr/local/pgsql/coord1
chown postgres /usr/local/pgsql/coord1
su - postgres
initdb -D /usr/local/pgsql/coord1 --nodename coord1
postgres --coordinator -D /usr/local/pgsql/coord1 >coord1.log 2>&1 &
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
.
.
.

Related

Tickets: #18

Discussion

1 2 > >> (Page 1 of 2)
  • Mike

    Mike - 2014-07-16

    Any status on this issue?

    I'd like to use postgres-xl in cloudfoundry as a distributed database but this is holding it back.

     
    • Pavan Deolasee

      Pavan Deolasee - 2014-07-24

      Hi Mike,

      I have seen this issue whenever I miss the step to do pgxc_pool_reload() on
      the datanodes after creating/altering nodes. If the step is not documented,
      I think we need to improve that. In meanwhile, can you try calling
      pgxc_pool_reload() on each datanode? Based on your config, you may need
      something like this: You can skip the first two commands if you have
      already created the nodes.

      psql -c "EXECUTE DIRECT ON (datanode1) 'ALTER NODE datanode1 WITH (TYPE =
      ''datanode'', HOST = ''192.168.1.43'', PORT = 15432)" postgres
      psql -c "EXECUTE DIRECT ON (datanode1) 'CREATE NODE datanode2 WITH (TYPE =
      ''datanode'', HOST = ''192.168.1.43'', PORT = 15433)" postgres
      psql -c "EXECUTE DIRECT ON (datanode1) 'SELECT pgxc_pool_reload()" postgres

      psql -c "EXECUTE DIRECT ON (datanode2) 'CREATE NODE datanode1 WITH (TYPE =
      ''datanode'', HOST = ''192.168.1.43'', PORT = 15432)" postgres
      psql -c "EXECUTE DIRECT ON (datanode2) 'ALTER NODE datanode2 WITH (TYPE =
      ''datanode'', HOST = ''192.168.1.43'', PORT = 15433)" postgres
      psql -c "EXECUTE DIRECT ON (datanode2) 'SELECT pgxc_pool_reload()" postgres

      (Please note there are two single quotes around TYPE and HOST values). You
      may also want to add coordinator information on the datanodes, but I am not
      sure if they are required.

      The current pgxc_ctl utility is also missing these steps and I will soon
      make those changes to the utility as well.

      Please let me know if this fixes the INSERT problem.

      Thanks,
      Pavan

      On Wed, Jul 16, 2014 at 8:08 PM, Mike swampfoxmr@users.sf.net wrote:

      Any status on this issue?

      I'd like to use postgres-xl in cloudfoundry as a distributed database but
      this is holding it back.


      [tickets:#18] Cannot Insert Records

      Status: open
      Milestone: 9.2rc
      Created: Thu Jul 10, 2014 10:48 AM UTC by Mike
      Last Updated: Thu Jul 10, 2014 10:48 AM UTC
      Owner: nobody

      I create the database and run the ddl to create a table then try to do
      inserts and the insert does not work. I can load the table from csv files
      using the copy to xxxx from xxx.csv But Inserts do not work.

      [postgres@cen-6-pgxl-coord ~]$ psql -U certi CRISTAL_SDP
      psql (PGXL 9.2.0, based on PG 9.2.4 (Postgres-XL 9.2.0))
      Type "help" for help.

      CRISTAL_SDP=# INSERT INTO CRISTAL.CDSEX
      (CDEPIN,RORDIN,CTYENR,XTYPEN,NUMFIC)
      CRISTAL_SDP-# VALUES('17',
      CRISTAL_SDP(# '1',
      CRISTAL_SDP(# 'CABECI',
      CRISTAL_SDP(# 'O12',
      CRISTAL_SDP(# '0') ;
      INSERT 0 0

      INSERT 0 Records. Why?? I can do a copy from to load the tables but can't
      insert records???

      I have 4 servers, 1 gtm, 1 coordinator and 2 datanodes.

      I set the following kernel values on each server:
      sysctl -w kernel.shmmax=17179869184
      sysctl -w kernel.shmall=4194304

      pgxl definitions:
      psql -c "CREATE NODE datanode1 WITH (TYPE = 'datanode', HOST =
      '192.168.1.43', PORT = 15432)" postgres
      psql -c "CREATE NODE datanode2 WITH (TYPE = 'datanode', HOST =
      '192.168.1.44', PORT = 15433)" postgres
      psql -c "CREATE NODE GROUP data_cluster WITH (datanode1, datanode2)"
      postgres
      psql -c "SELECT pgxc_pool_reload()" postgres

      192.168.1.41
      mkdir /usr/local/pgsql/gtm
      chown postgres /usr/local/pgsql/gtm
      su - postgres
      initgtm -D /usr/local/pgsql/gtm -Z gtm
      gtm -D /usr/local/pgsql/gtm >gtm.log 2>&1 &

      1:139778787112768:2014-07-09 16:09:09.475 EDT -LOG: Saving transaction
      restoration info, backed-up gxid: 12731
      LOCATION: GTM_WriteRestorePointXid, gtm_txn.c:2649
      1:139778787112768:2014-07-09 16:09:09.476 EDT -LOG: Started to run as
      GTM-Active.
      LOCATION: main, main.c:641
      1:139778787112768:2014-07-09 16:09:35.744 EDT -LOG: Any GTM standby node
      not found in registered node(s).
      LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
      1:139778787112768:2014-07-09 16:09:48.058 EDT -LOG: Any GTM standby node
      not found in registered node(s).
      LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
      1:139778787112768:2014-07-09 16:09:48.081 EDT -LOG: Any GTM standby node
      not found in registered node(s).
      LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
      .
      .
      .

      192.168.1.43
      mkdir /usr/local/pgsql/datanode1
      chown postgres /usr/local/pgsql/datanode1
      su - postgres
      initdb -D /usr/local/pgsql/datanode1 --nodename datanode1
      postgres --datanode -p 15432 -D /usr/local/pgsql/datanode1 >
      datanode1.log 2>&1 &
      LOG: database system is ready to accept connections
      LOG: autovacuum launcher started
      .
      .
      .

      192.168.1.44
      mkdir /usr/local/pgsql/datanode2
      chown postgres /usr/local/pgsql/datanode2
      su - postgres
      initdb -D /usr/local/pgsql/datanode2 --nodename datanode2
      postgres --datanode datanode2 -p 15433 -D /usr/local/pgsql/datanode2
      datanode2.log 2>&1 &
      LOG: database system is ready to accept connections
      LOG: autovacuum launcher started
      .
      .
      .

      192.168.1.42
      mkdir /usr/local/pgsql/coord1
      chown postgres /usr/local/pgsql/coord1
      su - postgres
      initdb -D /usr/local/pgsql/coord1 --nodename coord1
      postgres --coordinator -D /usr/local/pgsql/coord1 >coord1.log 2>&1 &
      LOG: database system is ready to accept connections
      LOG: autovacuum launcher started
      .
      .
      .


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/postgres-xl/tickets/18/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      Pavan Deolasee
      http://www.linkedin.com/in/pavandeolasee

       

      Related

      Tickets: #18

  • Viraj

    Viraj - 2014-08-21

    Hi Pavan,
    I have the same issue ( not inserting data ) and I tried what you have recommanded in your reply, but still the issue is there. Is this going to be fixed next release ?

     
    • Pavan Deolasee

      Pavan Deolasee - 2014-08-21

      Hi Viraj,

      I've fixed a bug or two in the current master branch which fixes the
      problem for me. This will get included in the GA release. If you feel
      comfortable building from sources, can you please get the latest source
      code and test with the current master branch?

      Thanks,
      Pavan

      On Thu, Aug 21, 2014 at 10:18 AM, Viraj mayuraviraj@users.sf.net wrote:

      Hi Pavan,
      I have the same issue ( not inserting data ) and I tried what you have
      recommanded in your reply, but still the issue is there. Is this going to
      be fixed next release ?


      Status: open
      Milestone: 9.2rc
      Created: Thu Jul 10, 2014 10:48 AM UTC by Mike
      Last Updated: Wed Aug 20, 2014 10:29 PM UTC
      Owner: nobody

      I create the database and run the ddl to create a table then try to do
      inserts and the insert does not work. I can load the table from csv files
      using the copy to xxxx from xxx.csv But Inserts do not work.

      [postgres@cen-6-pgxl-coord ~]$ psql -U certi CRISTAL_SDP
      psql (PGXL 9.2.0, based on PG 9.2.4 (Postgres-XL 9.2.0))
      Type "help" for help.

      CRISTAL_SDP=# INSERT INTO CRISTAL.CDSEX
      (CDEPIN,RORDIN,CTYENR,XTYPEN,NUMFIC)
      CRISTAL_SDP-# VALUES('17',
      CRISTAL_SDP(# '1',
      CRISTAL_SDP(# 'CABECI',
      CRISTAL_SDP(# 'O12',
      CRISTAL_SDP(# '0') ;
      INSERT 0 0

      INSERT 0 Records. Why?? I can do a copy from to load the tables but can't
      insert records???

      I have 4 servers, 1 gtm, 1 coordinator and 2 datanodes.

      I set the following kernel values on each server:
      sysctl -w kernel.shmmax=17179869184
      sysctl -w kernel.shmall=4194304

      pgxl definitions:
      psql -c "CREATE NODE datanode1 WITH (TYPE = 'datanode', HOST =
      '192.168.1.43', PORT = 15432)" postgres
      psql -c "CREATE NODE datanode2 WITH (TYPE = 'datanode', HOST =
      '192.168.1.44', PORT = 15433)" postgres
      psql -c "CREATE NODE GROUP data_cluster WITH (datanode1, datanode2)"
      postgres
      psql -c "SELECT pgxc_pool_reload()" postgres

      192.168.1.41
      mkdir /usr/local/pgsql/gtm
      chown postgres /usr/local/pgsql/gtm
      su - postgres
      initgtm -D /usr/local/pgsql/gtm -Z gtm
      gtm -D /usr/local/pgsql/gtm >gtm.log 2>&1 &

      1:139778787112768:2014-07-09 16:09:09.475 EDT -LOG: Saving transaction
      restoration info, backed-up gxid: 12731
      LOCATION: GTM_WriteRestorePointXid, gtm_txn.c:2649
      1:139778787112768:2014-07-09 16:09:09.476 EDT -LOG: Started to run as
      GTM-Active.
      LOCATION: main, main.c:641
      1:139778787112768:2014-07-09 16:09:35.744 EDT -LOG: Any GTM standby node
      not found in registered node(s).
      LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
      1:139778787112768:2014-07-09 16:09:48.058 EDT -LOG: Any GTM standby node
      not found in registered node(s).
      LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
      1:139778787112768:2014-07-09 16:09:48.081 EDT -LOG: Any GTM standby node
      not found in registered node(s).
      LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
      .
      .
      .

      192.168.1.43
      mkdir /usr/local/pgsql/datanode1
      chown postgres /usr/local/pgsql/datanode1
      su - postgres
      initdb -D /usr/local/pgsql/datanode1 --nodename datanode1
      postgres --datanode -p 15432 -D /usr/local/pgsql/datanode1 > datanode1.log
      2>&1 &
      LOG: database system is ready to accept connections
      LOG: autovacuum launcher started
      .
      .
      .

      192.168.1.44
      mkdir /usr/local/pgsql/datanode2
      chown postgres /usr/local/pgsql/datanode2
      su - postgres
      initdb -D /usr/local/pgsql/datanode2 --nodename datanode2
      postgres --datanode datanode2 -p 15433 -D /usr/local/pgsql/datanode2

      datanode2.log 2>&1 &
      LOG: database system is ready to accept connections
      LOG: autovacuum launcher started
      .
      .
      .

      192.168.1.42
      mkdir /usr/local/pgsql/coord1
      chown postgres /usr/local/pgsql/coord1
      su - postgres
      initdb -D /usr/local/pgsql/coord1 --nodename coord1
      postgres --coordinator -D /usr/local/pgsql/coord1 >coord1.log 2>&1 &
      LOG: database system is ready to accept connections
      LOG: autovacuum launcher started
      .
      .
      .


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/postgres-xl/tickets/18/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      Pavan Deolasee
      http://www.linkedin.com/in/pavandeolasee

       

      Related

      Tickets: #18

      • Viraj

        Viraj - 2014-08-21

        Hi Pavan,

        I tried the latest trunk code but it seems isssue is still there.
        Let me outline the what i did

        Step 1 :
        Took the trunk
        git clone http://git.code.sf.net/p/postgres-xl/postgres-xl

        Step 2 :
        Built and installed it

        My test enviroment like following

        Machine-1 -- Run coordinator, gtm , datanode1
        Machine-2 -- Run datanode2

        Step 3 :
        Initiated the data directories
        On Machine 1
        initdb -D /home/postgresxl/installed/postgre-xl-9.2/cord_data --nodename coord1
        initdb -D /home/postgresxl/installed/postgre-xl-9.2/node_data --nodename datanode1
        initgtm -D /home/postgresxl/installed/postgre-xl-9.2/gtm_data -Z gtm

        On Machine 2
        initdb -D /home/postgresxl/installed/postgre-xl-9.2/node_data --nodename datanode2

        Step 4 :
        Configuration for Machine 2 datanode
        postgresql.conf
        listen_addresses = '*'
        port = 15432
        pooler_port = 6666
        gtm_host = 'Machine-1-ip-address'
        gtm_port = 6666

        pg_hba.conf
        host all all Machine-1-ip-address/mask trust

        Step 5 :
        Configuraion for Machine 1 datanode
        postgresql.conf
        pooler_port = 6666
        port = 15432

        Step 6 :
        Configuraion for Machine 1 coordinator
        postgresql.conf
        pooler_port = 6667

        Step 7 :
        Started all
        Machine - 1
        gtm -D /home/postgresxl/installed/postgre-xl-9.2/gtm_data > gtmlogfile 2>&1 &
        pg_ctl -Z coordinator start -D /home/postgresxl/installed/postgre-xl-9.2/cord_data
        pg_ctl -Z datanode start -D /home/postgresxl/installed/postgre-xl-9.2/node_data

        Machine - 2
        pg_ctl -Z datanode start -D /home/postgresxl/installed/postgre-xl-9.2/node_data

        Step 8 :
        Login to coordinator(Machine-1) using psql and postgres database. Added datanodes
        CREATE NODE datanode1 WITH (TYPE = 'datanode', PORT = 15432, HOST='localhost');
        CREATE NODE datanode2 WITH (TYPE = 'datanode', PORT = 15432, HOST='machine-2-ip');
        SELECT pgxc_pool_reload(); # Returns t
        select * from pgxc_node;
        node_name | node_type | node_port | node_host | nodeis_primary | nodeis_preferred | node_id
        -----------+-----------+-----------+---------------+----------------+------------------+------------
        coord1 | C | 5432 | localhost | f | f | 1885696643
        datanode1 | D | 15432 | localhost | f | f | 888802358
        datanode2 | D | 15432 | ip-address-machine-2 | f | f | -905831925

        Step 9 :
        Login to Machine-2 datanode and did SELECT pgxc_pool_reload(); ( success, returns t )

        Step 10 :
        created database and table t1 using coordinator. Success . Replicated to datanode1 and datanode2.

        Step 11 :
        Insert into table t1 using coordinator : FAILED
        Returns INSERT 0 0
        Log message
        LOG: statement: insert into t2 values(1,'name');
        ERROR: node "coord1_4383" does not exist
        STATEMENT: SET global_session TO coord1_4383;

        Simple select : log message
        LOG: statement: select * from t2;
        ERROR: node "coord1_4383" does not exist
        STATEMENT: SET global_session TO coord1_4383;

         

        Last edit: Viraj 2014-08-21
        • Pavan Deolasee

          Pavan Deolasee - 2014-08-21

          On Thu, Aug 21, 2014 at 6:53 PM, Viraj mayuraviraj@users.sf.net wrote:

          Hi Pavan,

          I tried the latest trunk code but it seems isssue is still there.
          Let me outline the what i did

          1. Took the trunk
            git clone http://git.code.sf.net/p/postgres-xl/postgres-xl
          2. Built and installed it

          My test enviroment like following

          Machine-1 -- Run coordinator, gtm , datanode1
          Machine-2 -- Run datanode2

          1. Initiated the data directories
            On Machine 1
            initdb -D /home/postgresxl/installed/postgre-xl-9.2/cord_data
            --nodename coord1
            initdb -D /home/postgresxl/installed/postgre-xl-9.2/node_data
            --nodename datanode1
            initgtm -D /home/postgresxl/installed/postgre-xl-9.2/gtm_data -Z gtm

          On Machine 2
          initdb -D /home/postgresxl/installed/postgre-xl-9.2/node_data --nodename
          datanode2

          1. Configuration for Machine 2 datanode
            postgresql.conf
            listen_addresses = '*'
            port = 15432
            pooler_port = 6666
            gtm_host = 'Machine-1-ip-address'
            gtm_port = 6666

          pg_hba.conf
          host all all Machine-1-ip-address/mask trust

          1.

          Configuraion for Machine 1 datanode
          postgresql.conf
          pooler_port = 6666
          port = 15432
          2.

          Configuraion for Machine 1 coordinator
          postgresql.conf
          pooler_port = 6667
          3.

          Started all
          Machine - 1
          gtm -D /home/postgresxl/installed/postgre-xl-9.2/gtm_data > gtmlogfile
          2>&1 &
          pg_ctl -Z coordinator start -D
          /home/postgresxl/installed/postgre-xl-9.2/cord_data
          pg_ctl -Z datanode start -D
          /home/postgresxl/installed/postgre-xl-9.2/node_data

          Machine - 2
          pg_ctl -Z datanode start -D
          /home/postgresxl/installed/postgre-xl-9.2/node_data

          1.

          Login to coordinator(Machine-1) using psql and postgres database.
          Added datanodes
          CREATE NODE datanode1 WITH (TYPE = 'datanode', PORT = 15432,
          HOST='localhost');
          CREATE NODE datanode2 WITH (TYPE = 'datanode', PORT = 15432,
          HOST='machine-2-ip');
          SELECT pgxc_pool_reload(); # Returns t
          select * from pgxc_node;
          node_name | node_type | node_port | node_host | nodeis_primary |
          nodeis_preferred | node_id

          -----------+-----------+-----------+---------------+----------------+------------------+------------
          coord1 | C | 5432 | localhost | f | f | 1885696643
          datanode1 | D | 15432 | localhost | f | f | 888802358
          datanode2 | D | 15432 | ip-address-machine-2 | f | f | -905831925

          ISTM that you are missing steps to CREATE NODE on the datanodes. Best way
          would be to connect to the coordinator and then use EXECUTE DIRECT to
          CREAT/ALTER NODE on each datanode. Each datanode should have the same view
          of the nodes as the coordinator has.

          I would also recommend using pgxc_ctl utility to set up the cluster since
          that takes care of all of these steps internally.

          Please let us know if it helps.

          Thanks,
          Pavan

          1.
          2.

          Login to Machine-2 datanode and did SELECT pgxc_pool_reload(); (
          success, returns t )
          3.

          created database and table t1 using coordinator. Success . Replicated
          to datanode1 and datanode2.
          4.

          Insert into table t1 using coordinator : FAILED
          Returns INSERT 0 0
          Log message
          LOG: statement: insert into t2 values(1,'name');
          ERROR: node "coord1_4383" does not exist
          STATEMENT: SET global_session TO coord1_4383;

          Simple select : log message
          LOG: statement: select * from t2;
          ERROR: node "coord1_4383" does not exist
          STATEMENT: SET global_session TO coord1_4383;


          Status: open
          Milestone: 9.2rc
          Created: Thu Jul 10, 2014 10:48 AM UTC by Mike
          Last Updated: Thu Aug 21, 2014 07:51 AM UTC
          Owner: nobody

          I create the database and run the ddl to create a table then try to do
          inserts and the insert does not work. I can load the table from csv files
          using the copy to xxxx from xxx.csv But Inserts do not work.

          [postgres@cen-6-pgxl-coord ~]$ psql -U certi CRISTAL_SDP
          psql (PGXL 9.2.0, based on PG 9.2.4 (Postgres-XL 9.2.0))
          Type "help" for help.

          CRISTAL_SDP=# INSERT INTO CRISTAL.CDSEX
          (CDEPIN,RORDIN,CTYENR,XTYPEN,NUMFIC)
          CRISTAL_SDP-# VALUES('17',
          CRISTAL_SDP(# '1',
          CRISTAL_SDP(# 'CABECI',
          CRISTAL_SDP(# 'O12',
          CRISTAL_SDP(# '0') ;
          INSERT 0 0

          INSERT 0 Records. Why?? I can do a copy from to load the tables but can't
          insert records???

          I have 4 servers, 1 gtm, 1 coordinator and 2 datanodes.

          I set the following kernel values on each server:
          sysctl -w kernel.shmmax=17179869184
          sysctl -w kernel.shmall=4194304

          pgxl definitions:
          psql -c "CREATE NODE datanode1 WITH (TYPE = 'datanode', HOST =
          '192.168.1.43', PORT = 15432)" postgres
          psql -c "CREATE NODE datanode2 WITH (TYPE = 'datanode', HOST =
          '192.168.1.44', PORT = 15433)" postgres
          psql -c "CREATE NODE GROUP data_cluster WITH (datanode1, datanode2)"
          postgres
          psql -c "SELECT pgxc_pool_reload()" postgres

          192.168.1.41
          mkdir /usr/local/pgsql/gtm
          chown postgres /usr/local/pgsql/gtm
          su - postgres
          initgtm -D /usr/local/pgsql/gtm -Z gtm
          gtm -D /usr/local/pgsql/gtm >gtm.log 2>&1 &

          1:139778787112768:2014-07-09 16:09:09.475 EDT -LOG: Saving transaction
          restoration info, backed-up gxid: 12731
          LOCATION: GTM_WriteRestorePointXid, gtm_txn.c:2649
          1:139778787112768:2014-07-09 16:09:09.476 EDT -LOG: Started to run as
          GTM-Active.
          LOCATION: main, main.c:641
          1:139778787112768:2014-07-09 16:09:35.744 EDT -LOG: Any GTM standby node
          not found in registered node(s).
          LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
          1:139778787112768:2014-07-09 16:09:48.058 EDT -LOG: Any GTM standby node
          not found in registered node(s).
          LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
          1:139778787112768:2014-07-09 16:09:48.081 EDT -LOG: Any GTM standby node
          not found in registered node(s).
          LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
          .
          .
          .

          192.168.1.43
          mkdir /usr/local/pgsql/datanode1
          chown postgres /usr/local/pgsql/datanode1
          su - postgres
          initdb -D /usr/local/pgsql/datanode1 --nodename datanode1
          postgres --datanode -p 15432 -D /usr/local/pgsql/datanode1 > datanode1.log
          2>&1 &
          LOG: database system is ready to accept connections
          LOG: autovacuum launcher started
          .
          .
          .

          192.168.1.44
          mkdir /usr/local/pgsql/datanode2
          chown postgres /usr/local/pgsql/datanode2
          su - postgres
          initdb -D /usr/local/pgsql/datanode2 --nodename datanode2
          postgres --datanode datanode2 -p 15433 -D /usr/local/pgsql/datanode2

          datanode2.log 2>&1 &
          LOG: database system is ready to accept connections
          LOG: autovacuum launcher started
          .
          .
          .

          192.168.1.42
          mkdir /usr/local/pgsql/coord1
          chown postgres /usr/local/pgsql/coord1
          su - postgres
          initdb -D /usr/local/pgsql/coord1 --nodename coord1
          postgres --coordinator -D /usr/local/pgsql/coord1 >coord1.log 2>&1 &
          LOG: database system is ready to accept connections
          LOG: autovacuum launcher started
          .
          .
          .


          Sent from sourceforge.net because you indicated interest in
          https://sourceforge.net/p/postgres-xl/tickets/18/

          To unsubscribe from further messages, please visit
          https://sourceforge.net/auth/subscriptions/

          --
          Pavan Deolasee
          http://www.linkedin.com/in/pavandeolasee

           

          Related

          Tickets: #18

          • Viraj

            Viraj - 2014-08-22

            Hi Pavan,

            I tried execute direct on each node. Now table created with distribute by replication works fine. Inserts are working. But table created with distribute by hash(id) having problmes with insert. For some inserts it returns true ( i.e data is inserted) , but for some there is no insert happening. I belive insert are failing on one datanode and that data node has negagive node id. See below result,

            node_name | node_type | node_port | node_host | nodeis_primary | nodeis_preferred | node_id
            -----------+-----------+-----------+---------------+----------------+------------------+------------
            coord1 | C | 5432 | localhost | f | f | 1885696643
            datanode1 | D | 15432 | ip-1 | f | f | 888802358
            datanode2 | D | 15432 | ip-2 | f | f | -905831925

            Is it ok to have negative id ?

             
      • Marina Victorivna Krasnova

        Hi Viraj, I have same problem with insertion: http://dba.stackexchange.com/questions/97514/postgres-xl-does-not-insert-rows

        I have downloaded postgres-xl from git https://github.com/snaga/postgres-xl

         
  • dsavinkov

    dsavinkov - 2014-08-28

    Hi guys! I faced with the same kind of issue. Has anybody succeeded in fixing this?
    Thank you
    Dmitry

     
    • mason_s

      mason_s - 2014-08-29

      On Thursday, August 28, 2014, dsavinkov dsavinkov@users.sf.net wrote:

      Hi guys! I faced with the same kind of issue. Has anybody succeeded in
      fixing this?
      Thank you
      Dmitry

      Are you using the latest code from git? Pavan Deolasee made some fixes
      there that could help.

      Regards,

      Mason

       
      • Pavan Deolasee

        Pavan Deolasee - 2014-08-29

        On Fri, Aug 29, 2014 at 8:05 AM, mason_s mason_s@users.sf.net wrote:

        On Thursday, August 28, 2014, dsavinkov dsavinkov@users.sf.net wrote:

        Hi guys! I faced with the same kind of issue. Has anybody succeeded in
        fixing this?
        Thank you
        Dmitry

        Are you using the latest code from git? Pavan Deolasee made some fixes
        there that could help.

        Based on what I have seen, main cause of this error is missing entries in
        pgxc_node on the datanodes. I've fixed pgxc_ctl so that it does the right
        thing on datanodes after nodes are added/removed from the cluster. But if
        you are not using latest version of pgxc_ctl from git, I would recommend
        connecting to one of the coordinators and then issuing CREATE NODE for each
        node in the cluster on all datanodes using EXECUTE DIRECT. This must be
        followed by pgxc_pool_reload() on each datanode.

        Hope this helps.

        Thanks,
        Pavan
        --
        Pavan Deolasee
        http://www.linkedin.com/in/pavandeolasee

         
        • dsavinkov

          dsavinkov - 2014-09-02

          Hi Pavan

          I am using release version, it is not from repo.
          The problem is reproduced. I have weird negative node_id indicated above. Is it normal? :

          postgres=# select * from pgxc_node;
          node_name | node_type | node_port | node_host | nodeis_primary | >nodeis_preferred | node_id
          -----------+-----------+-----------+-----------+----------------+------->-----------+------------
          datanode2 | D | 15433 | 127.0.0.1 | f | f >| -905831925
          datanode1 | D | 15432 | 127.0.0.1 | f | f >| 888802358
          coord1 | C | 5432 | 127.0.0.1 | f | f >| 1885696643

          EXECUTE DIRECT command is not working in my env. My log also contains:

          LOG: database system is ready to accept connections
          LOG: autovacuum launcher started
          LOG: Will fall back to local snapshot for XID = 12279, source = 0, >gxmin = 0, autovac launch = 0, autovac = 0, normProcMode = 0, postEnv = 1
          ERROR: node "coord1_15197" does not exist

          I guess,my config for coordinator/nodes is not handled properly. Instead of 'coord1_PID' value I expect to see my coordinator node name 'coord1'. Could you please clarify it for me?

          Thank you
          Dmitry

           

          Last edit: dsavinkov 2014-09-02
  • dsavinkov

    dsavinkov - 2014-09-03

    Hi All

    Everything works fine for me now. Somehow my pgxc_node table on datanodes conained only 1 record with datanode config. The root cause of the issue was taht 'node_type' column contained 'C' which is Coordinator, but not 'D' - Datanode. After I changed this value and run EXECUTE DIRECT on both datanodes, I was able to INSERT data.

    Thanks for assistance
    Great impression so far!
    Dmitry Savinkov

     
    • temp_user

      temp_user - 2015-05-14

      Hi, I'm having the same problem attempting to insert records. Please post details of how you fixed this error:
      ERROR: node "coord1_15197" does not exist

       
  • Tathagat Swain

    Tathagat Swain - 2015-04-02

    Hi Dmitry,

    First of all guys thanks for all the comments , it made my job a lot easier as I am a newbie and trying to install it for the first time. But I am having the problem as described below:

    My setup is as follows :
    1st Server has : GTM ,1 Co-ordinator,1 Datanode
    2nd Server has : 1 Datanode

    Using code from the postgres XL download link :"http://www.postgres-xl.org/download/"

    I have created a new database using the co-ordinator and it got reflected on both servers. Next i created a table ans it also got reflected.But I am stuck here ,as i am not able to enter data. The problem is same as it shows a -ve value for datanode 2 when you do a select * from pgxc_node;

    You had the same issue and have solved it.Could you please let me know how you had changed the value from co-ordinator to datanode.

     
  • temp_user

    temp_user - 2015-05-15

    I solved this problem, here's how...
    The most basic installation is 1 gtm, coordinator and datanode on the same machine.
    By default a coordinator is created with port = 5432.

    After installation...
    Note I've abbreviated column headings for better readability

    psql -c "select * from pgxc_node"
    n_name | n_type | n_port | n_host | n_primary | n_preferred
    -----------+-----------+-----------+-----------+----------------+------------+
    coord1 | C | 5432 | localhost | f | f
    (1 rows)

    In the catalog pgxc_node we need a coordinator and a datanode. Every datanode has this catalog and must be updated accordingly.

    Like the documentation says we need to create a datanode...

    psql -c "'CREATE NODE datanode1 WITH (HOST = ''localhost'', type = ''datanode'', PORT = 15432)'" postgres

    psql -c "select * from pgxc_node"
    n_name | n_type | n_port | n_host | n_primary | n_preferred
    -----------+-----------+-----------+-----------+----------------+------------+
    coord1 | C | 5432 | localhost | f | f
    datanode1 | D | 15432 | localhost | f | f
    (2 rows)


    The step missing from the documentation is these "EXECUTE DIRECT" commands mentioned by Pavan Deolasee.

    These commands are specific to datanode1.
    By default we have:

    psql -c "EXECUTE DIRECT ON (datanode1) 'SELECT * from pgxc_node'" postgres
    n_name | n_type | n_port | n_host | n_primary | n_preferred
    -----------+-----------+-----------+-----------+----------------+------------+
    datanode1 | C | 5432 | localhost | f | f
    (1 row)

    This is incorrect, we have datanode1 looking like coord1.

    Create coord1 on datanode1

    psql -c "EXECUTE DIRECT ON (datanode1) 'CREATE NODE coord1 WITH (HOST = ''localhost'', type = ''coordinator'', PORT = 5432)'" postgres

    psql -c "EXECUTE DIRECT ON (datanode1) 'SELECT * from pgxc_node'" postgres
    n_name | n_type | n_port | n_host | n_primary | n_preferred
    -----------+-----------+-----------+-----------+----------------+------------+
    datanode1 | C | 5432 | localhost | f | f
    coord1 | C | 5432 | localhost | f | f
    (2 rows)


    Fix datanode1
    psql -c "EXECUTE DIRECT ON (datanode1) 'ALTER NODE datanode1 WITH (HOST = ''localhost'', type = ''datanode'', PORT = 15432)'" postgres

    psql -c "EXECUTE DIRECT ON (datanode1) 'SELECT * from pgxc_node'" postgres
    n_name | n_type | n_port | n_host | n_primary | n_preferred
    -----------+-----------+-----------+-----------+----------------+------------+
    coord1 | C | 5432 | localhost | f | f
    datanode1 | D | 15432 | localhost | f | f
    (2 rows)

     
  • Pradyumna Muppirala

    Hi all,
    I am facing the exact same problems with insert. CSV import works fine. Updates and Delete operations also work fine. Create table ,drop table works perfectly too. The only problem is that INSERT is not working. This is blocking me from setting up ETL from SQL Server OLTP system to PostgresXL OLAP.
    I enabled logging levels to debug5. But there is no clue what is the problem with INSERTs only. I did some correlation analysis between coordinator and data node logs. I could not find any clues in them too.
    Any advice regarding this would be very helpful.

    Thanking all of you for your help in advance!
    Pradyumna

    P.S. I have huge logs, which are not suitable for posting here. If anyone is initiating troubleshooting, I would be happy to share the logs as well.

     
    • Pavan Deolasee

      Pavan Deolasee - 2015-09-03

      Hi,

      Can you please attach a self-contained test case? How do you set up the
      cluster? If you just send logs from the coordinator and datanodes (please
      include only that portion when the problem occurs) that will be helpful too.

      I've seen multiple people reporting this issue in the past and then somehow
      gets fixed after a proper setup. Its time to get to the bottom of it and
      fix the bug or at least add appropriate error message/hint or even some
      utility to check the status of the cluster.

      Thanks,
      Pavan

      On Thu, Sep 3, 2015 at 7:08 AM, Pradyumna Muppirala <pradyumnam@users.sf.net

      wrote:

      Hi all,
      I am facing the exact same problems with insert. CSV import works fine.
      Updates and Delete operations also work fine. Create table ,drop table
      works perfectly too. The only problem is that INSERT is not working. This
      is blocking me from setting up ETL from SQL Server OLTP system to
      PostgresXL OLAP.
      I enabled logging levels to debug5. But there is no clue what is the
      problem with INSERTs only. I did some correlation analysis between
      coordinator and data node logs. I could not find any clues in them too.
      Any advice regarding this would be very helpful.

      Thanking all of you for your help in advance!
      Pradyumna

      P.S. I have huge logs, which are not suitable for posting here. If anyone
      is initiating troubleshooting, I would be happy to share the logs as well.

      Attachments:


      Status: open
      Milestone: 9.2rc
      Created: Thu Jul 10, 2014 10:48 AM UTC by Mike
      Last Updated: Fri May 15, 2015 10:51 AM UTC
      Owner: nobody

      I create the database and run the ddl to create a table then try to do
      inserts and the insert does not work. I can load the table from csv files
      using the copy to xxxx from xxx.csv But Inserts do not work.

      [postgres@cen-6-pgxl-coord ~]$ psql -U certi CRISTAL_SDP
      psql (PGXL 9.2.0, based on PG 9.2.4 (Postgres-XL 9.2.0))
      Type "help" for help.

      CRISTAL_SDP=# INSERT INTO CRISTAL.CDSEX
      (CDEPIN,RORDIN,CTYENR,XTYPEN,NUMFIC)
      CRISTAL_SDP-# VALUES('17',
      CRISTAL_SDP(# '1',
      CRISTAL_SDP(# 'CABECI',
      CRISTAL_SDP(# 'O12',
      CRISTAL_SDP(# '0') ;
      INSERT 0 0

      INSERT 0 Records. Why?? I can do a copy from to load the tables but can't
      insert records???

      I have 4 servers, 1 gtm, 1 coordinator and 2 datanodes.

      I set the following kernel values on each server:
      sysctl -w kernel.shmmax=17179869184
      sysctl -w kernel.shmall=4194304

      pgxl definitions:
      psql -c "CREATE NODE datanode1 WITH (TYPE = 'datanode', HOST =
      '192.168.1.43', PORT = 15432)" postgres
      psql -c "CREATE NODE datanode2 WITH (TYPE = 'datanode', HOST =
      '192.168.1.44', PORT = 15433)" postgres
      psql -c "CREATE NODE GROUP data_cluster WITH (datanode1, datanode2)"
      postgres
      psql -c "SELECT pgxc_pool_reload()" postgres

      192.168.1.41
      mkdir /usr/local/pgsql/gtm
      chown postgres /usr/local/pgsql/gtm
      su - postgres
      initgtm -D /usr/local/pgsql/gtm -Z gtm
      gtm -D /usr/local/pgsql/gtm >gtm.log 2>&1 &

      1:139778787112768:2014-07-09 16:09:09.475 EDT -LOG: Saving transaction
      restoration info, backed-up gxid: 12731
      LOCATION: GTM_WriteRestorePointXid, gtm_txn.c:2649
      1:139778787112768:2014-07-09 16:09:09.476 EDT -LOG: Started to run as
      GTM-Active.
      LOCATION: main, main.c:641
      1:139778787112768:2014-07-09 16:09:35.744 EDT -LOG: Any GTM standby node
      not found in registered node(s).
      LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
      1:139778787112768:2014-07-09 16:09:48.058 EDT -LOG: Any GTM standby node
      not found in registered node(s).
      LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
      1:139778787112768:2014-07-09 16:09:48.081 EDT -LOG: Any GTM standby node
      not found in registered node(s).
      LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
      .
      .
      .

      192.168.1.43
      mkdir /usr/local/pgsql/datanode1
      chown postgres /usr/local/pgsql/datanode1
      su - postgres
      initdb -D /usr/local/pgsql/datanode1 --nodename datanode1
      postgres --datanode -p 15432 -D /usr/local/pgsql/datanode1 > datanode1.log
      2>&1 &
      LOG: database system is ready to accept connections
      LOG: autovacuum launcher started
      .
      .
      .

      192.168.1.44
      mkdir /usr/local/pgsql/datanode2
      chown postgres /usr/local/pgsql/datanode2
      su - postgres
      initdb -D /usr/local/pgsql/datanode2 --nodename datanode2
      postgres --datanode datanode2 -p 15433 -D /usr/local/pgsql/datanode2

      datanode2.log 2>&1 &
      LOG: database system is ready to accept connections
      LOG: autovacuum launcher started
      .
      .
      .

      192.168.1.42
      mkdir /usr/local/pgsql/coord1
      chown postgres /usr/local/pgsql/coord1
      su - postgres
      initdb -D /usr/local/pgsql/coord1 --nodename coord1
      postgres --coordinator -D /usr/local/pgsql/coord1 >coord1.log 2>&1 &
      LOG: database system is ready to accept connections
      LOG: autovacuum launcher started
      .
      .
      .


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/postgres-xl/tickets/18/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      Pavan Deolasee http://www.2ndQuadrant.com/
      PostgreSQL Development, 24x7 Support, Training & Services

       

      Related

      Tickets: #18

      • Pradyumna Muppirala

        Hello Pavan,
        Thank you very much for response. Please find the log files on dropbox.com . URL is below.

        URL: https://www.dropbox.com/sh/fc5bbpnpxggjudo/AAByLiKOYjGChC9KppkAyo5sa?dl=0

        I provided almost all the config information also attached below.
        Please review and let me know if more information is required.

        thanks
        Pradyumna

         
  • Pradyumna Muppirala

    Please find the related logs and CSV sample file attached.

     
  • Pradyumna Muppirala

    Please find the SQL command shell dump.

     
  • Pradyumna Muppirala

    Hi,
    Please let me know, if there is any update related to this INSERT failure issue.
    Thanks in advance for your help!
    Pradyumna

     
    • Pavan Deolasee

      Pavan Deolasee - 2015-09-10

      Hi Pradyumna,

      Can you please post the hardware/configuration of each machine in the
      cluster? Can you please build with debug flags and also set "ulimit -c
      unlimited" to see if any core is generated on the machine. I assume you are
      connecting to a coordinator using psql. If not, please let us know.

      Does this happen even on a cluster which has been restarted? I am asking to
      see if some previous error on a connection causes this. Can you please also
      post data from pgxc_node catalog table on each node?

      Thanks,
      Pavan

      On Tue, Sep 8, 2015 at 8:28 PM, Pradyumna Muppirala <pradyumnam@users.sf.net

      wrote:

      Hi,
      Please let me know, if there is any update related to this INSERT failure
      issue.
      Thanks in advance for your help!
      Pradyumna


      Status: open
      Milestone: 9.2rc
      Created: Thu Jul 10, 2014 10:48 AM UTC by Mike
      Last Updated: Thu Sep 03, 2015 04:55 PM UTC
      Owner: nobody

      I create the database and run the ddl to create a table then try to do
      inserts and the insert does not work. I can load the table from csv files
      using the copy to xxxx from xxx.csv But Inserts do not work.

      [postgres@cen-6-pgxl-coord ~]$ psql -U certi CRISTAL_SDP
      psql (PGXL 9.2.0, based on PG 9.2.4 (Postgres-XL 9.2.0))
      Type "help" for help.

      CRISTAL_SDP=# INSERT INTO CRISTAL.CDSEX
      (CDEPIN,RORDIN,CTYENR,XTYPEN,NUMFIC)
      CRISTAL_SDP-# VALUES('17',
      CRISTAL_SDP(# '1',
      CRISTAL_SDP(# 'CABECI',
      CRISTAL_SDP(# 'O12',
      CRISTAL_SDP(# '0') ;
      INSERT 0 0

      INSERT 0 Records. Why?? I can do a copy from to load the tables but can't
      insert records???

      I have 4 servers, 1 gtm, 1 coordinator and 2 datanodes.

      I set the following kernel values on each server:
      sysctl -w kernel.shmmax=17179869184
      sysctl -w kernel.shmall=4194304

      pgxl definitions:
      psql -c "CREATE NODE datanode1 WITH (TYPE = 'datanode', HOST =
      '192.168.1.43', PORT = 15432)" postgres
      psql -c "CREATE NODE datanode2 WITH (TYPE = 'datanode', HOST =
      '192.168.1.44', PORT = 15433)" postgres
      psql -c "CREATE NODE GROUP data_cluster WITH (datanode1, datanode2)"
      postgres
      psql -c "SELECT pgxc_pool_reload()" postgres

      192.168.1.41
      mkdir /usr/local/pgsql/gtm
      chown postgres /usr/local/pgsql/gtm
      su - postgres
      initgtm -D /usr/local/pgsql/gtm -Z gtm
      gtm -D /usr/local/pgsql/gtm >gtm.log 2>&1 &

      1:139778787112768:2014-07-09 16:09:09.475 EDT -LOG: Saving transaction
      restoration info, backed-up gxid: 12731
      LOCATION: GTM_WriteRestorePointXid, gtm_txn.c:2649
      1:139778787112768:2014-07-09 16:09:09.476 EDT -LOG: Started to run as
      GTM-Active.
      LOCATION: main, main.c:641
      1:139778787112768:2014-07-09 16:09:35.744 EDT -LOG: Any GTM standby node
      not found in registered node(s).
      LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
      1:139778787112768:2014-07-09 16:09:48.058 EDT -LOG: Any GTM standby node
      not found in registered node(s).
      LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
      1:139778787112768:2014-07-09 16:09:48.081 EDT -LOG: Any GTM standby node
      not found in registered node(s).
      LOCATION: gtm_standby_connect_to_standby_int, gtm_standby.c:381
      .
      .
      .

      192.168.1.43
      mkdir /usr/local/pgsql/datanode1
      chown postgres /usr/local/pgsql/datanode1
      su - postgres
      initdb -D /usr/local/pgsql/datanode1 --nodename datanode1
      postgres --datanode -p 15432 -D /usr/local/pgsql/datanode1 > datanode1.log
      2>&1 &
      LOG: database system is ready to accept connections
      LOG: autovacuum launcher started
      .
      .
      .

      192.168.1.44
      mkdir /usr/local/pgsql/datanode2
      chown postgres /usr/local/pgsql/datanode2
      su - postgres
      initdb -D /usr/local/pgsql/datanode2 --nodename datanode2
      postgres --datanode datanode2 -p 15433 -D /usr/local/pgsql/datanode2

      datanode2.log 2>&1 &
      LOG: database system is ready to accept connections
      LOG: autovacuum launcher started
      .
      .
      .

      192.168.1.42
      mkdir /usr/local/pgsql/coord1
      chown postgres /usr/local/pgsql/coord1
      su - postgres
      initdb -D /usr/local/pgsql/coord1 --nodename coord1
      postgres --coordinator -D /usr/local/pgsql/coord1 >coord1.log 2>&1 &
      LOG: database system is ready to accept connections
      LOG: autovacuum launcher started
      .
      .
      .


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/postgres-xl/tickets/18/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #18

  • Pradyumna Muppirala

    Hi Pavan,
    Thanks for quick response. Here are answers to some of your questions.

    1. I am running all nodes (i.e. PostgresXL installations ) on multiple ports of same machine.
    2. I did not notice any core files or any other suspicious errors. I will retry this another time after changing ulimit
    3. My machine is a single machine Ubuntu 14.04 LTS AMD 64 bit processor
    4. I can reproduce this problem from psql. Please review "PostgresXLInsertFailure.txt" file attached above.
    5. I tried restarting all nodes atleast 10 to 15 times, during testing. But restart did not help at all.
    6. Please review "PostgresXLInsertFailure.txt". That file as pgxc_node table contents also.

    I was trying to test the setup process on local machine. I was successful in installation. The only problem I faced is that Inserts are not happening.

    If I notice any core files, I will pass them on. Could you please review the detailed attachments , attached above?

    thanks
    Pradyumna

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.