[PERFORM] Slow query execution over high latency network

2011-02-19 Thread Clemens Eisserer
Hello, When executing huge (10kb), hibernate-generated queries I noticed that when executed remotly over high-latency network (ping to server 200-400ms), the query takes a lot longer to complete. When the query is executed remotly (psql or jdbc) it takes 1800ms to execute, when I issue the query

Re: [PERFORM] Slow query execution over high latency network

2011-02-19 Thread Pierre C
When executing huge (10kb), hibernate-generated queries I noticed that when executed remotly over high-latency network (ping to server 200-400ms), the query takes a lot longer to complete. When the query is executed remotly (psql or jdbc) it takes 1800ms to execute, when I issue the query in an

Re: [PERFORM] Slow query execution over high latency network

2011-02-19 Thread Clemens Eisserer
Hi Pierre, Thanks a lot for your reply. > Your attached file didn't come through. Hmm, ok. I uploaded the wireshark-log to: http://93.190.88.182/psql_large_query.bin > - different execution plan between your app and ssh+psql, which can happen > if the planning uses/doesn't use your specific para