pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Postgresql Performance
2+ messages / 2 participants
[nested] [flat]

* Postgresql Performance
@ 2005-11-14 07:06 Mimi Siu <bbnoopys@yahoo.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Mimi Siu @ 2005-11-14 07:06 UTC (permalink / raw)
  To: pgsql-odbc

Hello:

I am using Postgresql 8.0.3 with the ODBC driver
(8.01.100). My application will update a batch of
records (~3000 records) and i really need the update
to be completed in very short time. In order to
increase efficience, I have set "fsync=false". 

When i simply use psql command line (i,e. "psql -q
DATABASE < update.sql") it takes around 2 sec to
finish the 3000 records update. However, if I use my
ODBC application to update the records, it nearly
takes about 6-8 sec to finish!!!!  

Does anyone have any idea on how to improve the
performance of my update record application through
ODBC driver?? (Also I have set the AUTOCOMMIT as off
in my ODBC application already!)

thanks a lot!


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Postgresql Performance
@ 2005-11-28 15:27 Ludek Finstrle <luf@pzkagis.cz>
  0 siblings, 0 replies; 2+ messages in thread

From: Ludek Finstrle @ 2005-11-28 15:27 UTC (permalink / raw)
  To: pgsql-odbc

> I am using Postgresql 8.0.3 with the ODBC driver
> (8.01.100). My application will update a batch of
> records (~3000 records) and i really need the update
> to be completed in very short time. In order to
> increase efficience, I have set "fsync=false". 

Hello

  What's your ODBC settings? Could you send me your application
(or update part of it)? Or could you send mylog output at least?

Regards

Luf



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-11-28 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-11-14 07:06 Postgresql Performance Mimi Siu <bbnoopys@yahoo.com>
2005-11-28 15:27 Re: Postgresql Performance Ludek Finstrle <luf@pzkagis.cz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox