LoginSignup
1
0

初期化パラメータが静的か動的か確認する方法

Last updated at Posted at 2024-03-04

■Oracle公式サイトで確認する方法(見方)
めっちゃ分かりにくいけどOracleの公式ページで確認できる。

項目:変更可能( or 変更の可/不可)
 ⇒ 変更不可 = 静的パラメータ
 ⇒ ALTER SYSTEM ( or ALTER SESSION ) = 動的パラメータ

サンプルページ(CONTROL_FILE_RECORD_KEEP_TIME)

■SQLで確認する方法
【構文】
select name, issys_modifiable from v$parameter where name='<パラメータ名>';

サンプル1)
col name format a30
select name, issys_modifiable from v$parameter where name='job_queue_processes';

サンプル2)
col name format a30
select name, issys_modifiable from v$parameter where name='undo_tablespace';

IMMEDIATE ・・・ 即時
DEFERRED ・・・ 以降のセッションで有効になる
FALSE   ・・・ 以降のインスタンスで有効になる

★注意!★
パラメータ名は小文字で指定すること!

結果例)

SQL> select name, issys_modifiable from v$parameter where name='open_cursors';

NAME ISSYS_MOD
'----------------------- ---------
open_cursors IMMEDIATE

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0