Possible workaround for CORE-1239, Left outer - inner join ----------------------------------------------------------
Key: DNET-309 URL: http://tracker.firebirdsql.org/browse/DNET-309 Project: .NET Data provider Issue Type: Improvement Components: ADO.NET Provider Affects Versions: 2.5.2 Environment: All Reporter: Alexander Muylaert Assignee: Jiri Cincura The entity framework often generates statements that go like from table a left outer join table b on a.bid = b.id inner join table c on a.cid = c.id If this happens, all hell brakes loose in the core and due to the issue (core-1239), the engine will perform a natural scan on table A. If table A is big, the impact is immens. If possible, try to sort the joins on sql generation level. That way the EF generates the statement as from table a inner join table c on a.cid = c.id left outer join table b on a.bid = b.id Thanks Alexander -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider