Re: [SQL] Discordance between the way select is called.

2005-05-07 Thread Stephan Szabo
> Hi, > > I have a java app that uses hibernate to do queries. > > One query on a 6.5 millions records takes about 15 seconds while the > same one (take from the sql that shows in the consol - I configured > hibernate to show_sql) takes about 50 ms when done with pgadmin3. We could answer better w

[SQL] Discordance between the way select is called.

2005-05-06 Thread Patrice Drolet
Hi, I have a java app that uses hibernate to do queries. One query on a 6.5 millions records takes about 15 seconds while the same one (take from the sql that shows in the consol - I configured hibernate to show_sql) takes about 50 ms when done with pgadmin3. This is a simple select. Here is the