[PERFORM] Slow query in JDBC

Поиск
Список
Период
Сортировка
От Subramaniam C
Тема [PERFORM] Slow query in JDBC
Дата
Msg-id CAL=06W=f17ZnNQ8AdUKpd0p-6dfdwLios-Pvqkhqm7L8ziopjQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: [PERFORM] Slow query in JDBC
Список pgsql-performance
Hi

When I try to execute the query from sql command line then that query is taking only around 1 sec. But when I execute the query using JDBC(Java) using preparedStatement then the same query is taking around 10 secs.

Can you please let us know the reason and how to fix this issue?

Thanks and Regards
Subramaniam

В списке pgsql-performance по дате отправления:

Предыдущее
От: Mike Broers
Дата:
Сообщение: Re: [PERFORM] query of partitioned object doesnt use index in qa
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: [PERFORM] Slow query in JDBC