Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4595

Inferior query plan chosen for outer join

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 10.5.3.0
    • None
    • SQL
    • Ubuntu 9.10, Sun Java 6 update 18
    • Normal
    • Performance, Seen in production

    Description

      I was describing everything here and when trying to submit - everything was lost, because the session ended and there was no way of going back, so I will just point to derby-user mailing list, everything is there, just follow the thread:
      http://mail-archives.apache.org/mod_mbox/db-derby-user/201003.mbox/%3Ce0a08d801003190619l3d3181pa55ca79145b7810d@mail.gmail.com%3E
      or there:
      http://thread.gmane.org/gmane.comp.apache.db.derby.user/12394

      The bottom line is - I had to change application to avoid the query, it is so slow (around one hour on production) and there is no workaround.

      Attachments

        1. netbroker-ddl.txt
          57 kB
          Witold Szczerba
        2. queryplan-1.txt
          11 kB
          Witold Szczerba
        3. queryplan-1b.txt
          11 kB
          Witold Szczerba
        4. queryplan-2.txt
          11 kB
          Witold Szczerba
        5. queryplan-2b.txt
          11 kB
          Witold Szczerba

        Activity

          People

            Unassigned Unassigned
            witoldsz Witold Szczerba
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: