|
本帖最后由 botang 于 2015-8-22 23:15 编辑
上完1Z0-052第8章 (52-37)
上完1Z0-052第9章 (52-38)
上完1Z0-052第10章 (52-39)
2015-08-22a.sql:
2015-08-22b.sql:
- CREATE PROFILE "PROFILE1" LIMIT
- FAILED_LOGIN_ATTEMPTS 1;
- select * from dba_profiles p where p.profile='PROFILE1' and p.resource_type='PASSWORD';
- select * from dba_users where username='HR';
- alter user hr profile profile1;
- alter user hr account unlock;
- ALTER PROFILE "PROFILE1" LIMIT PASSWORD_LOCK_TIME 0.000694444;
- ALTER PROFILE "PROFILE1" LIMIT PASSWORD_REUSE_MAX 1
- PASSWORD_REUSE_TIME 0.000694444;
- ALTER PROFILE "PROFILE1" LIMIT PASSWORD_verify_function verify_function_11g;
复制代码
2015-08-22c.sql:
- select * from dba_tablespaces;
- create temporary tablespace temp2 tempfile '/u01/app/oracle/oradata/orcl/temp2.dbf'
- size 15G;
- select * from database_properties;
- alter database default temporary tablespace temp2;
- create undo tablespace undotbs1 datafile size 100M autoextend on maxsize 20G;
- drop tablespace undotbs1;
- select * from dba_rollback_segs;
- select * from v$transaction ;
- select * from v$session where taddr='00000001EAEBE200';
- alter system kill session '8,3111' immediate;
- select * from dba_tablespaces;
- alter tablespace undotbs1 retention guarantee;
- select * from dict where table_name like '%UNDO%' or table_name like '%ROLLBACK%';
- select * from DBA_HIST_UNDOSTAT;
- select * from v$undostat;
复制代码
|
|