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

Query timeout on the server [CORE658] #1024

Closed
firebird-automations opened this issue Sep 17, 2003 · 19 comments
Closed

Query timeout on the server [CORE658] #1024

firebird-automations opened this issue Sep 17, 2003 · 19 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @pcisar

Relate to CORE985
Is replaced by CORE5488

Votes: 13

SFID: 807910#⁠
Submitted By: pcisar

The server should have built-in support to ensure that
a query cannot run 'away'. A parameter in the server
config file should establish the maximum query
execution time.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

assignee: Dmitry Yemanov [ dimitr ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Fix Version: 3.0 [ 10048 ]

assignee: Dmitry Yemanov [ dimitr ]

SF_ID: 807910 =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Target: 2.5.0 [ 10221 ]

Fix Version: 2.5 Alpha 1 [ 10224 ]

Fix Version: 3.0.0 [ 10048 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 10682 ] => Firebird [ 15056 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Open [ 1 ]

Fix Version: 2.5 Beta 1 [ 10251 ]

Fix Version: 2.5 Alpha 1 [ 10224 ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: Pabloj (pabloj_sourceforge)

It would also be nice to have per user "quotas" in resources or max allowed query cost

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Fix Version: 3.0.0 [ 10048 ]

Fix Version: 2.5 Beta 1 [ 10251 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Fix Version: 3.0 Alpha 1 [ 10331 ]

Fix Version: 3.0.0 [ 10048 ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: pabloj (pabloj)

I see this is planned for 3.0 Alpha , could you give details on what will be implemented?
A server timeout variable? A user/group/role quota?
Thanks in advance

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

I was thinking about the following timeout values:

- database-level (specified in firebird.conf)
- transaction-level (specified via TPB) -- which, if exists, overrides the database one

As for quotas, they belong to a much wider topic (including also CPU load, memory and disk space usage, etc) and thus require more thinking. They, if considered, should go into a separate ticket, IMO.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Link: This issue relate to CORE985 [ CORE985 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Fix Version: 3.0 Beta 1 [ 10332 ]

Fix Version: 3.0 Alpha 1 [ 10331 ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: @mrotteveel

In for example JDBC the query timeout is a property of the statement handle, and similar in http://ADO.net and ODBC. This also feels like a more natural place than database- or transaction level.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Dmitry Yemanov [ dimitr ] => Vlad Khorsun [ hvlad ]

Fix Version: 3.0 Beta 1 [ 10332 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Fix Version: 4.0 Alpha 1 [ 10731 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: PizzaProgram Ltd. (szakilaci)

Possible merge with CORE985 CORE985
Query timeouts of DB / TR could be a sub-feature through MON&DATABASE.

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

Link: This issue is replaced by CORE5488 [ CORE5488 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Duplicate [ 3 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants