Re: Slow query with join - Mailing list pgsql-general

From Marc Watson
Subject Re: Slow query with join
Date
Msg-id 02F1BBB48ABD3245A3BC519B57CFC8CA7E9E2B69@Exchange.JurisConcept.local
Whole thread Raw
In response to Re: Slow query with join  (Marc Watson <mark.watson@jurisconcept.ca>)
List pgsql-general
Update :

My query  SELECT * FROM v_actor JOIN f_intervenant_ref ON (actor_id = ir_actor_id) WHERE ir_dos_id = '5226' took 7
secs.
If I substitute the _RETURN rule for the view and add the above join, it takes  31 ms.

Mark Watson
Service au client - R&D
Tél. 418 659-7272 ou 1 888 692-1050
www.jurisconcept.ca  




pgsql-general by date:

Previous
From: Steve Crawford
Date:
Subject: libs and upgrades
Next
From: Merlin Moncure
Date:
Subject: Re: Unexpected custom type behavior using ROW(NULL)