Results 1 to 1 of 1

Thread: Query Times ?

  1. #1
    Join Date
    Jun 2004
    Arizona, USA

    Unanswered: Query Times ?

    As a test, I ran a query in the pgAdmin query tool, which returns about 15K records from a PostgreSQL v8.01 table on my Win2K server.

    I ran the same query from the local server, from another PC on the same 100 mbit local network, and from a PC on a different network, over the internet.

    The times for the query to run and the data to return for each of the three
    locations are shown here:
    • Local Server : 571+521 ms
    • Local network: 1187+1266 ms
    • Internet:14579+4016 ms
    My question is this: Why does the time for the query to run increase so much? Since the query should be running on the server, it's time should be somewhat independent of the network transport delay. (unlike the data transport time) However, it appears to actually be hypersensitive to the transport delay. The ratios of time for the data transport (assuming 1 for the local server) are:
    1 : 2.43 : 7.71

    whereas the query time ratios are:
    1 : 2.08 : 25.5


    Anyone have any thoughts on this?

    (btw: Moderators - the first time I tried to post this, there was some sort of database error, and the body of the post was not added)
    Last edited by loquin; 03-10-05 at 17:20.
    "Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
    "I have my standards. They may be low, but I have them!" - Bette Middler
    "It's a book about a Spanish guy named Manual. You should read it." - Dilbert

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts