Objectives: List the major architectural components of Oracle DatabaseExplain the memory structuresDescribe the background processesCorrelate the logical and physical storage structuresDescribe ASM storage components 三种连接方式 直接登录serverClient(PL/SQL De…
Objectives: •Describe your role as a database administrator (DBA) and explain typical tasks and tools The approach for designing, implementing, and maintaining an Oracle database involves the following tasks:1. Evaluating the database server hardware…
6.Configuring the Oracle Network Environment su - grid装grid时自动创建了监听netca--创建新的监听 vi $ORACLE_HOME/network/admin/listener.ora 启动监听时会进行回环测试,如果注释掉127.0.0.1则不能启动监听.服务:动态配置服务alter system set service_names='orcl','easthome';alter system register; 静态配置服务list…
Objectives: •Create a database by using the Database Configuration Assistant (DBCA) •Generate database creation scripts with the DBCA •Manage database design templates with the DBCA •Perform additional tasks(such as Oracle Label Security or Oracle Da…
Objectives: •Start and stop the Oracle database and components •Use Oracle Enterprise Manager •Access a database with SQL*Plus •Modify database initialization parameters •Describe the stages of database startup •Describe database shutdown options •Vi…
查询优化器统计信息 搜集统计信息: 不是实时的: SQL> conn /as sysdbaConnected.SQL> grant select on dba_objects to scott; Grant succeeded. SQL> conn scott/tigerConnected.SQL> create table t as select * from dba_objects; Table created. SQL> select NUM_ROWS,BLOCKS f…
使用EM监控性能使用自动内存管理(AMM)使用Memory Advisor分配内存查看性能相关动态视图诊断无效的和不可用的对象 创建问题SQLsqlplus / as sysdbaconn scott/tiger;declare i number; j number;begin i := 0; loop j := sqrt(i); i := i + 1; end loop;end; / 查找问题SQL[root@nylg ~]# top --查看pidsu - oraclesqlplus / a…
Objectives:Describe the benefits of using ASMManage the ASM instanceCreate and drop ASM disk groupsExtend ASM disk groupsRetrieve ASM metadata by using various utilitiesUsing SQL*PlusSELECT * FROM v$asm_alias, v$asm_fileUsing asmcmdASMCMD> ls -l +DAT…
Undo自动管理与手动管理 undo段自动管理SQL> show parameter undo_management 将undo段改为手工管理SQL> alter system set undo_management=manual scope=spfile;SQL> startup force; SQL> show parameter undoSQL> select * from v$rollname; SQL> create undo tablespace undot…