Skip to content

Instantly share code, notes, and snippets.

@544
Created April 15, 2011 07:28
Show Gist options
  • Save 544/921306 to your computer and use it in GitHub Desktop.
Save 544/921306 to your computer and use it in GitHub Desktop.
Oracleパラレルクエリ実行
-- 確認
SELECT * FROM V$PQ_SESSTAT
WHERE STATISTIC LIKE '%Parallelized';
-- パラレルクエリ有効化
ALTER SESSION ENABLE PARALLEL DML;
-- パラレルクエリ
SELECT/*+ PARALLEL ( A, 2 ) */ * FROM DUAL A;
ROLLBACK;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment