ASM培训0409
ASM Intelligent Data PlacementAssigning Files to Disk Regionsrebanlance后生效Use V$FILEMETRIC and V$FILEMETRIC_HISTORY reply方式+awr结合,分析迁移后的库SP 划逻辑卷的目的 ...
ORACLE调优20130411
调优方式:sql配置硬件 10g出现awr9i是statspackawr对应的视图当一个节点异常的时候,可以通过另外一个节点上来生成awr报告 exec DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT &nb...
ORACLE调优20130412
ACS--自适应游标,11g默认开;根据绑定变量来选择执行计划等待和默认参数的研究等待类型,官方文档查看v$event_namenetwork 等待一般小于3ms等待class---重要前提和后台的因果,一般后台是因,也有例外other...
V$LOCK
V$LOCKV$LOCK lists the locks currently held by the Oracle Database and outstanding requests for a lock or latch.ColumnDatatypeDescriptionADDRRAW(4 | 8)Address of lock state objectKADDRRAW(4 | ...
oracle之报错:ORA-00054: 资源正忙,要求指定 NOWAIT
问题如下:SQL> conn scott/tiger@vm_databaseConnected to Oracle Database 11g Enterprise Edition Release 11.1.0.6.0Connected as scott。。。。。。SQL> drop table student2;drop table student...
Oracle 表被其他的 对象 引用
Oracle 表被其他的 过程/视图 引用Select owner, object_type, object_name, object_id, status from sys.DBA_OBJECTS where object_id in (Select object_id ...
Oracle 联机重做日志文件(ONLINE LOG FILE)
--=========================================-- Oracle 联机重做日志文件(ONLINE LOG FILE)--========================================= 一、Oracle中的几类日志文件 Redo l...
DBMS_STAT笔记
DBMS_STAT笔记 The DBMS_STATS subprograms perform. the following general operations: The DBMS_STATS subprograms perform. the following general operations: 第一部分...
oracle中bind peeking问题的解决方法
使用绑定变量可以减少SQL PARSE,但是使用绑定变量有一个不好的地方,就是对于访 问具有倾斜的列,可能使用错误的执行计划。在Oracle 9i之前,如果WHERE 条件里面全 部使用绑定变量,那么只能使用固定...
Oracle 用户 profile 属性
在之前的Blog里,讲了Oracle 用户和角色的一些概念,但是没有讲属性profile的信息。 Oracle 用户及角色 介绍 ...
深入理解AWR性能报告1
摘自:MacLiu:开Oracle调优鹰眼,深入理解AWR性能报告 啥是AWRAWR (Automatic Workload Repository)一堆历史性能数据,放在SYSAUX表空间上, AWR和SYSAUX都是10g出现的,是Oracle调优的关键特性; 大...
认识v$fixed_view_definition、v$fixed_table和dict
v$fixed_view_definition 这个视图功能很强,可以将一些视图的数据来源(视图的定义)给找出来。直接举例: 1.v$session。select * from v$fixed_view_definition a where a.VIEW_NAME='V$SESSION'...
Oracle DBWR,LGWR,CKPT,ARCH 触发条件 总结
oraclebufferheaderfile磁盘parallel 一. DBWR写磁盘数据触发条件 1. 当进程在辅助LRU链表和主LRU链表上扫描以查找可以覆盖的buffer header[空闲缓冲...
分区表实际使用数据块的块数远小于系统分配块数
分区表的一个分区,实际使用4262个块,而系统扩展分配了366592个块,系统监控显示,小于5分钟内空间扩展了3.5个G,导致分区所在的表空间被撑爆! 数据库版本:Release 10.2.0.4.01、实际使用的块查询:s...
数据库SQL小贴士之表创建
create table T_INFO_CUSTOMER--创建表表名( CUSTOMER_NO VARCHAR2(16) not null,--表字段名字、类型(有数字、字符、时间三种)、非空约束(可选项,保证插入值不能为空) PASSPORT_ID ...
3-4tuning the shared pool
3-4tuning the shared poollibrary cachedata dictionary cacheUser global area--一般放在large poolshared pool:shared_pool_sizeSGA_TARGET--10G开始提供library cache:LRU算法used to prevent sta...
3-3DB configuration and IO issuse
3-3DB configuration and IO issusethree standard storagefile system:network attached storage(NAS)SAN --storage area networkdirect attached storageRaw partitions --被淘汰Automatic Storage ma...
3-2Tunning Tools
3-2Tunning Tools每天检查alert日志路径检查:show parameter dump关注ORA-错误关注点:Detect internal errors(ORA-600) and block corrption errosMonitor database operationsView the nondefault initia...
3-1 Overview of tunning
3-1 Overview of tunning what does the dba tune?performance tuning areas:1、Application:SQL statement performance change managementshared with developers 2、Instance tuning:Memo...
OraDebug
1、 oradebug介绍oradebug主要是给Oracle支持人员使用的,尽管很早便有,但oracle官网很少有记载。他是个sql*plus命令行工具,有sysdba的权限就可以登入,无需特别设置。他可以被用于:1...