取消执行 SQLDeveloper 提交的 oracle 上的大查询
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5729622/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Cancel execution a big query on oracle submitted by SQLDeveloper
提问by Loc Phan
Perhaps, this is a naive question. When we use SQLDeveloper to execute a big query to Oracle, the we cancel the task. I wonder if it helps to cancel the execution of the server or not?
也许,这是一个幼稚的问题。当我们使用 SQLDeveloper 对 Oracle 执行大查询时,我们取消了该任务。我想知道取消服务器的执行是否有帮助?
Thanks,
谢谢,
回答by BertNase
yes, in case the DB server finds the time to handle the protocol message, it cancels the execution of the statement and returns an ORA-01013: user requested cancel of current operationinstead of an SQL result set.
是的,如果 DB 服务器找到时间来处理协议消息,它会取消语句的执行并返回 ORA-01013:用户请求取消当前操作而不是 SQL 结果集。