Re: Query performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steinar H. Gunderson wrote:

> antonio.batovanja@xxxxxxxxxxxxxxx wrote:
>> The above query takes 5 seconds to execute!
>> 
>> [...]
>>
>>  Total runtime: 96109.571 ms
> 
> It sure doesn't look like it...
> 
>>  Total runtime: 461.907 ms
>>
>> [...]
>>
>> Suddenly the query takes only 0.29 seconds!
> 
> How are you timing this, really?
> 
> /* Steinar */

I'm executing the queries from phpPgAdmin. 
The above are for explain analyse. I was referring to the pure query
execution time.
Does anyone have an idea why the OR-query takes so long?
Any server-side tuning possibilities? I wouldn't like to change the code of
ldap's back-sql...

Toni


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux