Hi Joshua,
I have been only using libpq.
Is libpqXX better than the other?
Is there any notable facility in libpqxx which could aid in fast inserts or better performance in general?
Best Regards,
Divakar
From: Joshua D. Drake <jd@xxxxxxxxxxxxxxxxx>
To: Divakar Singh <dpsmails@xxxxxxxxx>
Cc: Scott Marlowe <scott.marlowe@xxxxxxxxx>; pgsql-performance@xxxxxxxxxxxxxx
Sent: Tue, October 26, 2010 12:08:52 AM
Subject: Re: Postgres insert performance and storage requirement compared to Oracle
On Mon, 2010-10-25 at 11:36 -0700, Divakar Singh wrote:
>
> 68 Rows inserted: 100,000
> Above results show good INSERT performance of PG when using SQL
> procedures. But
> performance when I use C++ lib is very bad. I did that test some time
> back so I
> do not have data for that right now.
This is interesting, are you using libpq or libpqXX?
Joshua D. Drake
>
>
--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt
--
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
I have been only using libpq.
Is libpqXX better than the other?
Is there any notable facility in libpqxx which could aid in fast inserts or better performance in general?
Divakar
From: Joshua D. Drake <jd@xxxxxxxxxxxxxxxxx>
To: Divakar Singh <dpsmails@xxxxxxxxx>
Cc: Scott Marlowe <scott.marlowe@xxxxxxxxx>; pgsql-performance@xxxxxxxxxxxxxx
Sent: Tue, October 26, 2010 12:08:52 AM
Subject: Re: Postgres insert performance and storage requirement compared to Oracle
On Mon, 2010-10-25 at 11:36 -0700, Divakar Singh wrote:
>
> 68 Rows inserted: 100,000
> Above results show good INSERT performance of PG when using SQL
> procedures. But
> performance when I use C++ lib is very bad. I did that test some time
> back so I
> do not have data for that right now.
This is interesting, are you using libpq or libpqXX?
Joshua D. Drake
>
>
--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt
--
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance