Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ORA-07455 when comparing sysrefcursor using exclude. #752

@hinjo89

Description

@hinjo89

Hi,

I'm trying to introduce utPLSQL as Unit Testing framework in our PL/SQL components, since we currently don't have real unit testing.

Unfortunately I have a pretty big issue that's blocking me currently:

I'm trying to compare two cursors that only contain 2 rows (or even only one) and exclude one or two fields in the comparison.

Unfortunately, most of the time my database doesn't execute the comparison query in the package ut_compound_data_helper with the error ORA-07455: estimated execution time (2472326 secs), exceeds limit (115200 secs).

Of course it actually only takes miliseconds when it, out of whatever reason, isn't blocked by this.

I can't find out what's the reason for this, I suppose it's the row_number() function in combination with the XMLTYPE? Did you already experience this and have some hints on how to resolve it?

I'm not sure if an Issue created here is the right place for this, but I didn't know where else to ask this. If you could point me to a better place that would also be appreciated!

Thanks a lot,
Johannes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions