Re: Make the planner smarter about idiosyncratic (or broken) ORM behaviour - Mailing list pgsql-sql

From Simon Riggs
Subject Re: Make the planner smarter about idiosyncratic (or broken) ORM behaviour
Date
Msg-id 1242988803.27960.382.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Make the planner smarter about idiosyncratic (or broken) ORM behaviour  (Frank Jördens <frank@woome.com>)
List pgsql-sql
On Fri, 2009-05-22 at 10:33 +0100, Frank Jördens wrote:
> Almost all of the 8k queries per second that are hitting our database
> are generated by a web development framework's ORM (Django), and some
> of the syntax there is quite mad. Possibly the worst tic exhibited by
> the translation layer is that if you filter a query on an object by
> more than one property on a related object it will create a join for
> each property:

It's a known issue that we're looking to work on in the next release.

Work started in 8.4, though was more complex than first appeared and we
didn't complete it in time for the dev deadline.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



pgsql-sql by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Make the planner smarter about idiosyncratic (or broken) ORM behaviour
Next
From: Isaac Dover
Date:
Subject: Re: help with pg_hba.conf