Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: failed to debug a pl that contains a sql costing more than 10 minutes #2172

Closed
yhilmare opened this issue Apr 8, 2024 · 2 comments · Fixed by #2179
Closed

[Bug]: failed to debug a pl that contains a sql costing more than 10 minutes #2172

yhilmare opened this issue Apr 8, 2024 · 2 comments · Fixed by #2179
Assignees
Labels
priority-medium type-bug Something isn't working
Milestone

Comments

@yhilmare
Copy link
Contributor

yhilmare commented Apr 8, 2024

ODC version

4.2.4

OB version

not related

What happened?

  1. create a pl that contains a sql costing more that 10 mintues
  2. try to debug this pl
  3. debug will timeout at this sql

What did you expect to happen?

we can increase the timeout setting using session init script

How can we reproduce it (as minimally and precisely as possible)?

follow 'What happened'

Anything else we need to know?

No response

@yhilmare
Copy link
Contributor Author

yhilmare commented Apr 9, 2024

delete from tbl where 1=1 will cost too much time. the default timeout settings is 10 min and we can debug this pl if we don't modify the timeout setting.
截屏2024-04-09 11 51 18

and then I modify the timeout settings to 1 secs:
截屏2024-04-09 11 53 18

and I debug it again:

截屏2024-04-09 11 56 50

as you can see the delete statement is timeout which means that out timeput settings has overwritten the default timeout settings~

@tonghan-gsh
Copy link
Collaborator

image
image
I changed ob_query_timeout for the data source to 1s, debug timeout.Then, I adjusted to 10 minutes, it can debug completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-medium type-bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants