Fran Fabrizio <ffabrizio@exchange.webmd.net> writes:
> However, with the new query, depending on the values of site_id and host_id,
> execution time varies from .002 to 1.617 seconds!
Does one site and/or host have many more table entries than the other?
regards, tom lane