oracle 資源限制概要檔案

2022-07-25 07:51:09 字數 386 閱讀 3435

create profile luck_prof limit

sessions_per_user 8  --利用同乙個使用者名稱和口令可以同時開啟8個回話

cpu_per_session 16800  --每個會話最多可以使用的cpu時間為16800個1%秒(168秒)

logical_reads_per_session 23688 --每個會話最多可以讀23688個資料塊(包括記憶體讀和磁碟讀)

connect_time 268  --每個會話的連線時間最多為268分(4小時28分)

idle_time 38;     --每個會話沒有活動的時間不能超過38分鐘

select * from dba_profiles where profile like 'luck%';

oracle概要檔案

connect sys 12345678 as sysdba 使用概要檔案 建立乙個概要檔案,僅用於限制使用者對一下資源的使用 1.不限制使用者建立的併發會話數 2.每個會話中,不限制使用者使用的cpu時間 3.單個會話中的持續時間不能超過三小時 4.會話中的持續空閒時間不能超過5min 5.單個會...

Oracle 17概要檔案

概要檔案用於限制由使用者使用的系統和資料庫資源,並可以對口令進行管理。如果在建立使用者時沒有指定概要檔案,將使用預設的概要檔案。1 使用create profile命令建立概要檔案 語法格式如下 create profile profile name limit resource parameter...

Oracle 17概要檔案

概要檔案用於限制由使用者使用的系統和資料庫資源,並可以對口令進行管理。如果在建立使用者時沒有指定概要檔案,將使用預設的概要檔案。1 使用create profile命令建立概要檔案 語法格式如下 create profile profile name limit resource parameter...