講義軟件課件dba_第1頁
講義軟件課件dba_第2頁
講義軟件課件dba_第3頁
講義軟件課件dba_第4頁
講義軟件課件dba_第5頁
已閱讀5頁,還剩33頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)

文檔簡介

1、ObjectivesAfter completing this lesson, you should be able to do the following:Manage passwords using profilesAdminister profilesControl use of resources using profilesObtain information about profiles, password management, and resourcesProfilesA profile is a named set of password and resource limit

2、sProfiles are assigned to users by the CREATE USER or ALTER USER commandCan be enabled or disabledCan relate to the DEFAULT profilePassword ManagementUserPassword expiration and agingPassword verificationPassword historyAccount lockingSetting up profilesEnabling Password ManagementSet up password ma

3、nagement by using profiles and assign them to users.Lock, unlock, and expire accounts using the CREATE USER or ALTER USER command.Password limits are always enforced.Password Account LockingParameterFAILED_LOGIN_ATTEMPTSPASSWORD_LOCK_TIME DescriptionNumber of failed login attempts before lockout of

4、the accountNumber of days the account is locked after the specified number of failed login attemptsPASSWORD_LOCK_TIME Password Expiration and AgingParameterLifetime of the password in days after which the password expiresGrace period in days for changing the password after the first successful login

5、 after the password has expiredPASSWORD_LIFE_TIMEPASSWORD_GRACE_TIMEParameterPassword HistoryParameterPASSWORD_REUSE_TIMEPASSWORD_REUSE_MAXDescriptionNumber of days before a password can be reusedMaximum number of times apassword can be reusedPassword VerificationParameterPASSWORD_VERIFY_FUNCTIONDes

6、criptionPL/SQL function that makes a password complexity check before a password is assignedUser-Provided Password FunctionFunction must be created in the SYS schema and must have the following specification:function_name( userid_parameter IN VARCHAR2(30), password_parameter IN VARCHAR2(30), old_pas

7、sword_parameter IN VARCHAR2(30)RETURN BOOLEANPassword Verification Function VERIFY_FUNCTIONMinimum length is four characters.Password should not be equal to username.Password should have at least one alphabetic, one numeric, and one special character.Password should differ from the previous password

8、 by at least three letters. Creating a Profile: Password SettingsCREATE PROFILE grace_5 LIMIT FAILED_LOGIN_ATTEMPTS 3 PASSWORD_LOCK_TIME UNLIMITED PASSWORD_LIFE_TIME 30 PASSWORD_REUSE_TIME 30 PASSWORD_VERIFY_FUNCTION verify_function PASSWORD_GRACE_TIME 5;Altering a Profile: Password SettingALTER PRO

9、FILE default FAILED_LOGIN_ATTEMPTS 3PASSWORD_LIFE_TIME 60PASSWORD_GRACE_TIME 10;Dropping a Profile: Password SettingDROP PROFILE developer_prof;DROP PROFILE developer_prof CASCADE;Resource ManagementResource management limits can be enforced at the session level, the call level, or both.Limits can b

10、e defined by profiles using the CREATE PROFILE command.Enable resource limits with the:RESOURCE_LIMIT initialization parameterALTER SYSTEM commandEnabling Resource LimitsSet the initialization parameter RESOURCE_LIMIT to TRUEEnforce the resource limits by enabling the parameter with the ALTER SYSTEM

11、 commandALTER SYSTEM SET RESOURCE_LIMIT=TRUE; ResourceCPU_PER_SESSION SESSIONS_PER_USERCONNECT_TIME IDLE_TIME LOGICAL_READS_PER _SESSIONPRIVATE_SGA DescriptionTotal CPU time measured in hundredths of secondsNumber of concurrent sessions allowed for each usernameElapsed connect time measured in minut

12、esPeriods of inactive time measured in minutesNumber of data blocks (physical and logical reads)Private space in the SGA measured in bytes (for Shared Server only)Setting Resource Limits at Session Level ResourceCPU_PER_CALLLOGICAL_READS_PER _CALLDescriptionCPU time per call in hundredths of seconds

13、Number of data blocks that can be read per callSetting Resource Limitsat Call LevelCreating a Profile:Resource LimitCREATE PROFILE developer_prof LIMIT SESSIONS_PER_USER 2 CPU_PER_SESSION 10000 IDLE_TIME 60 CONNECT_TIME 480;Managing Resources Using the Database Resource ManagerProvides the Oracle se

14、rver with more control over resource management decisionsElements of the Database Resource ManagerResource consumer groupResource planResource allocation methodResource plan directivesDBMS_RESOURCE_MANAGER package is used to create and maintain elementsRequires ADMINISTER_RESOURCE_MANAGER privilegeM

15、anaging Resources Using the Database Resource ManagerResource plans specify the resource consumer groups belonging to the plan.Resource plans contain directives for how resources are to be allocated among consumer groups.Resource Plan DirectivesThe Database Resource Manager provides several means of

16、 allocating resources.CPU MethodActive Session Pool and QueuingDegree of Parallelism LimitAutomatic Consumer Group SwitchingMaximum Estimated Execution TimeUndo PoolObtaining Password and Resource Limits InformationInformation about password and resource limits can be obtained by querying the data dictionary.DBA_USERSDBA_PRO

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論