Home > Archive > PostgeSQL ODBC > November 2005 > Postgresql Performance









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Postgresql Performance
Mimi Siu

2005-11-14, 3:23 am

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

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql
.org so that your
message can get through to the mailing list cleanly

Ludek Finstrle

2005-11-28, 11:23 am

> 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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com