You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Witold Szczerba (JIRA)" <ji...@apache.org> on 2010/03/24 21:07:27 UTC

[jira] Created: (DERBY-4595) Inferior query plan chosen for outer join

Inferior query plan chosen for outer join
-----------------------------------------

                 Key: DERBY-4595
                 URL: https://issues.apache.org/jira/browse/DERBY-4595
             Project: Derby
          Issue Type: Bug
    Affects Versions: 10.5.3.0
         Environment: Ubuntu 9.10, Sun Java 6 update 18
            Reporter: Witold Szczerba
            Priority: Blocker


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-4595) Inferior query plan chosen for outer join

Posted by "Witold Szczerba (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Witold Szczerba updated DERBY-4595:
-----------------------------------

    Attachment: queryplan-2b.txt
                queryplan-2.txt

Query plans for second query.

> Inferior query plan chosen for outer join
> -----------------------------------------
>
>                 Key: DERBY-4595
>                 URL: https://issues.apache.org/jira/browse/DERBY-4595
>             Project: Derby
>          Issue Type: Bug
>    Affects Versions: 10.5.3.0
>         Environment: Ubuntu 9.10, Sun Java 6 update 18
>            Reporter: Witold Szczerba
>            Priority: Blocker
>         Attachments: netbroker-ddl.txt, queryplan-1.txt, queryplan-1b.txt, queryplan-2.txt, queryplan-2b.txt
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-4595) Inferior query plan chosen for outer join

Posted by "Dag H. Wanvik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dag H. Wanvik updated DERBY-4595:
---------------------------------

            Issue Type: Improvement  (was: Bug)
    Bug behavior facts: [Performance, Seen in production]  (was: [Performance])

> Inferior query plan chosen for outer join
> -----------------------------------------
>
>                 Key: DERBY-4595
>                 URL: https://issues.apache.org/jira/browse/DERBY-4595
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 10.5.3.0
>         Environment: Ubuntu 9.10, Sun Java 6 update 18
>            Reporter: Witold Szczerba
>            Priority: Blocker
>         Attachments: netbroker-ddl.txt, queryplan-1.txt, queryplan-1b.txt, queryplan-2.txt, queryplan-2b.txt
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-4595) Inferior query plan chosen for outer join

Posted by "Mike Matrigali (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Matrigali updated DERBY-4595:
----------------------------------

    Component/s: SQL

> Inferior query plan chosen for outer join
> -----------------------------------------
>
>                 Key: DERBY-4595
>                 URL: https://issues.apache.org/jira/browse/DERBY-4595
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.5.3.0
>         Environment: Ubuntu 9.10, Sun Java 6 update 18
>            Reporter: Witold Szczerba
>            Priority: Blocker
>         Attachments: netbroker-ddl.txt, queryplan-1.txt, queryplan-1b.txt, queryplan-2.txt, queryplan-2b.txt
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-4595) Inferior query plan chosen for outer join

Posted by "Witold Szczerba (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Witold Szczerba updated DERBY-4595:
-----------------------------------

    Attachment: queryplan-1b.txt
                queryplan-1.txt
                netbroker-ddl.txt

The database definition and query plans.

> Inferior query plan chosen for outer join
> -----------------------------------------
>
>                 Key: DERBY-4595
>                 URL: https://issues.apache.org/jira/browse/DERBY-4595
>             Project: Derby
>          Issue Type: Bug
>    Affects Versions: 10.5.3.0
>         Environment: Ubuntu 9.10, Sun Java 6 update 18
>            Reporter: Witold Szczerba
>            Priority: Blocker
>         Attachments: netbroker-ddl.txt, queryplan-1.txt, queryplan-1b.txt, queryplan-2.txt, queryplan-2b.txt
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.