Re: Execution from java - slow - Mailing list pgsql-performance

From Jayadevan M
Subject Re: Execution from java - slow
Date
Msg-id OF0F598946.D0106DD5-ON65257A6E.002EF270-65257A6E.002F2BDD@ibsplc.com
Whole thread Raw
In response to Re: Execution from java - slow  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-performance
Hi,

>
>
> Yeah. well, hm.  Is the function returning a whole bunch of data?
> Also, try confirming the slow runtime from the server's point of view;
> log_min_duration_statement is a good setting for that.
>
I did try those options. In the end, removing an order by (it was not necessary) from the SELECT  solved the problem. But why the behavior was different when executed from psql and java is still a mystery.


Thanks a lot for the suggestions.
Regards,
Jayadevan






DISCLAIMER:


"The information in this e-mail and any attachment is intended only for the person to whom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in error, kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any attachment and is not liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect."





pgsql-performance by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] pg_dump and thousands of schemas
Next
From: Stefan Keller
Date:
Subject: Inserts in 'big' table slowing down the database