External tables can read the flat files
as though they are normal oracle tables. Therefore it is convenient to use external
tables to load flat files in to DB
Whatever topic has been discussed on this blog is my own finding and views, not necessary match with others. I strongly recommend you to do a test before you implement the piece of advice given at my blog.
Monday, February 29, 2016
Tuesday, February 2, 2016
SQL Tuning Advisor - DBMS_SQLTUNE
-- Create a tuning task
DBMS_SQLTUNE.create_tuning_task
-- Execute a task
DBMS_SQLTUNE.execute_tuning_task
-- Report of a task
DBMS_SQLTUNE.report_tuning_task
-- Interrupt a tuning task.
DBMS_SQLTUNE.interrupt_tuning_task
-- Resume a tuning task.
DBMS_SQLTUNE.resume_tuning_task
-- Cancel a tuning task.
DBMS_SQLTUNE.cancel_tuning_task
-- Reset a tuning task allowing it to be re-executed.
DBMS_SQLTUNE.reset_tuning_task
-- Cancel a tuning task.
DBMS_SQLTUNE.cancel_tuning_task
--Check the status of a task
SELECT task_name, status FROM dba_advisor_log WHERE owner = 'SCOTT';
TASK_NAME STATUS
------------------------------ -----------
emp_dept_tuning_task COMPLETED
1 row selected.
DBMS_SQLTUNE.create_tuning_task
-- Execute a task
DBMS_SQLTUNE.execute_tuning_task
-- Report of a task
DBMS_SQLTUNE.report_tuning_task
-- Interrupt a tuning task.
DBMS_SQLTUNE.interrupt_tuning_task
-- Resume a tuning task.
DBMS_SQLTUNE.resume_tuning_task
-- Cancel a tuning task.
DBMS_SQLTUNE.cancel_tuning_task
-- Reset a tuning task allowing it to be re-executed.
DBMS_SQLTUNE.reset_tuning_task
-- Cancel a tuning task.
DBMS_SQLTUNE.cancel_tuning_task
--Check the status of a task
SELECT task_name, status FROM dba_advisor_log WHERE owner = 'SCOTT';
TASK_NAME STATUS
------------------------------ -----------
emp_dept_tuning_task COMPLETED
1 row selected.
Subscribe to:
Posts (Atom)