Hi,

Thanks for respone.
The index scan was a little bit faster for id=1 and faster for id=99.

Which settings shoud I change for this? cpu_index_tuple_cost , cpu_operator_cost, cpu_tuple_cost?

You should lower random_page_cost to make the planner choose an index scan vs sequential scan.



Best regards -- Matteo Beccati http://phpadsnew.com/ http://phppgads.com/

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to