0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Oracle Database初期設定取得sql

Posted at
初期設定取得.sql

-- 初期設定のパラメータ値を取得するクエリ
SELECT name, value FROM v$parameter;

-- 初期設定で有効になっているオプションを表示するクエリ
SELECT * FROM v$option WHERE value = 'TRUE';

-- 初期設定のデフォルトテーブルスペースを取得するクエリ`
SELECT property_value
FROM database_properties
WHERE property_name = 'DEFAULT_TABLESPACE';

-- 初期設定のロールバックセグメントサイズを取得するクエリ
SELECT value
FROM v$parameter
WHERE name = 'undo_tablespace';

-- 初期設定のコントロールファイルを取得するクエリ
SELECT name
FROM v$controlfile;

-- 初期設定のリスナー情報を取得するクエリ
SELECT * FROM v$listener_network;

-- 初期設定のユーザーアカウント情報を取得するクエリ
SELECT username, account_status, default_tablespace
FROM dba_users;

-- 初期設定のテーブルスペース情報を取得するクエリ
SELECT tablespace_name, status, contents
FROM dba_tablespaces;

0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?