[PERFORM] PQconnectStart/PQconnectPoll

2012-11-20 Thread Sergio Mayoral
Hi, i am running some tests to check performance between postgresql and mysql. one important issue is PQconnectdb (PQconnectStart/PQconnectPoll) against mysql_init/mysql_real_connect functions. (debian platform/C application). PQconnectdb("host=localhost dbname=my_db user=my_user password='' s

[PERFORM] INSERT query times

2011-07-10 Thread sergio mayoral
Hi, i am using libpq library and postgresql 8.4 for my linux application running on ARM with 256 MB. I am just doing: PQconnectdb(); PQexec(INSERT INTO table1 ); (0.009661 sec.) PQexec(INSERT INTO table1 ); (0.004208 sec.) PQexec(INSERT INTO table2 ); (0.007352 sec.) PQexec(INSERT IN

[PERFORM] execution time for first INSERT

2011-07-08 Thread Sergio Mayoral
Hi, i am using libpq library and postgresql 8.4 for my linux application running on ARM with 256 MB. I am just doing: PQconnectdb(); PQexec(INSERT INTO table1 ); (0.009661 sec.) PQexec(INSERT INTO table1 ); (0.004208 sec.) PQexec(INSERT INTO table2 ); (0.007352 sec.) PQexec(INSERT I