📄 查看task状态.txt
字号:
Checking the Status of a SQL Tuning Task
You can check the status of the task by reviewing the information in the USER_ADVISOR_TASKS view
or check execution progress of the task in the V$SESSION_LONGOPS view. For example:
SELECT status FROM USER_ADVISOR_TASKS WHERE task_name = 'my_sql_tuning_task';
Checking the Progress of the SQL Tuning Advisor
You can check the execution progress of the SQL Tuning Advisor in the V$ADVISOR_PROGRESS view.
For example:
SELECT sofar, totalwork FROM V$ADVISOR_PROGRESS WHERE user_name = 'HR' AND task_name = ’my_sql_tuning_task’;
是否有user_advisor_progress这个视图?
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -