Skip to content

OuterJoinConversion performance/plan issue #9102

Description

@EPluribusUnum

Hi *!

SELECT b.*
FROM ktbt bt
    LEFT OUTER JOIN fk_buf_tet b ON b.alrkod = 'KT' AND
          ((b.alrsor = bt.id) OR (b.alrsor = bt.st_id)) AND
          b.gysor = 1 AND
          b.gytip = 'A'
WHERE bt.id = 59747636 AND
      b.tabla = 'FK_TETEL'

This is fast with OuterJoinConversion = false, and slow with true.

I can send the database on request.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions