dbTalk Databases Forums  

Transaction speed

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss Transaction speed in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Derrick Betts
 
Posts: n/a

Default Transaction speed - 04-23-2004 , 01:39 PM






I have the following situation:

Test database inside our network, accessed with pgAdminIII.
When I INSERT records into a table (3000-5000 in one transaction) it takes between 2.5 - 5 seconds. No worries there.

Production database that is hosted remotely, accessed with pgAdminIII.
When I INSERT records into a table (only 500 or so) it never completes (I've waited for 30 minutes before). It will take a transaction of up to 200 statements, but it takes 3-5 minutes.

Has anyone seen this situation before, and have a reason as to why this maybe happening? Is there something that needs to change on the production server? Is it a tcpip latency issue that breaks the connection? (I'm guessing now)

Thanks in advance,
Derrick

Reply With Quote
  #2  
Old   
Josh Berkus
 
Posts: n/a

Default Re: Transaction speed - 04-23-2004 , 02:44 PM






Derrick,

Quote:
Production database that is hosted remotely, accessed with pgAdminIII.
When I INSERT records into a table (only 500 or so) it never completes
(I've waited for 30 minutes before). It will take a transaction of up to
200 statements, but it takes 3-5 minutes.
This has got to be something about how pgAdmin handles batch inserts. I
suggest trying the pgAdmin mailing list.

--
Josh Berkus
Aglio Database Solutions
San Francisco

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.