On 15/04/13 21:00 -0700, Ian Wilson wrote:
> I tried to turn on sql logging with Transaction().cursor.sql_log = True at 
> the start of my do_process method.  I'm not sure if there is a better way 
> and that will work.  I modified the code to also track updates and keep 
> track of queries that did not match.  I printed them out and the only 
> queries not matched are nextval() queries which are all very quick.  So the 
> most glaring thing I noticed is that there are a TON(~6000) of queries 
> being executed.  For example why do 1266 queries get executed against 
> company_company?  It seems like maybe I have something misconfigured or 
> some sort of caching is not occurring.

It looks like what changeset c48089fa3ade fixes.
And also for ir_model_field_access, it should be changeset cc8493263998.

Those are not backportable because they change the API.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpphVT57BnF1.pgp
Description: PGP signature

Reply via email to