rac中控制节点间并行
rac中控制节点间并行 -------------------数据库服务器的cpu数量越来越多为充分提高性能,很多时候都会使用并行处理来提高运算速度并行处理虽然可以在多个cpu上进行一个事务的处理,提高运算能力但同时也有...
v$open_cursor
v$open_cursor本视图列出session打开的所有cursors当诊断系统资源占用时,它常被用于联接v$sqlarea和v$sql查询出特定SQL(高逻辑或物理I/O)。然后,下一步就是找出源头。在应用环境,基本都是同一类用户登陆到数据...
v$pga_target_advice
v$pga_target_advice 与v$sga_target_advice类似,给出pga调整后性能的变化PGA_TARGET_FACTOR为1的列表示当前pga大小pga_target_for_estimate对应调整后pga的大小estd_pga_cache_hit_percentage表示pga中cach...
v$sga_target_advice
v$sga_target_advice 从10g开始oracle使用自动内存管理sga设置参数sga_target为非0就可以启动内存自动管理同事oracle还会收集内存使用的效率并根据收集的信息给出内存分配的建议值这些建议值记录在v$sga_targ...
mysql查看表大小
表大小=表大小+索引大小 查询语句select * from information_schema.TABLES where information_schema.TABLES.TABLE_SCHEMA = 'owner' and information_schema.TABLES.TABLE_NAME = 'table_name' \G...
11g trigger赋值语法变化
--11gcreate or replace trigger tr_namebefore insert on table_namefor each rowbegin :new.id := seq_name.nextval;end;/--10gcreate or replace trigger tr_namebefore insert on table_namefor each ro...
v$session_longops 查看回滚进度
查看回滚进度9i以及以前版本查看的是v$transaction当发生回滚时used_urec会有值回滚需要的时间越长这个值越大select used_urec from v$transaction;10g开始引入了v$session_longops其中time_remaining就是回滚需...
v$sga_resize_ops
v$sga_resize_ops-----------------10g中使用内存自动管理后系统自动调整内存的情况可以通过这个视图来查询可以通过观察这个视图内内存变化的情况来调整内存的大小如果发现某个内存组件频繁扩张和缩小,也就是内存...
db_files和控制文件maxdatafiles
参数db_fiels和控制文件中MAXDATAFILES ================== 今天看dba日记中记录看到老白记录了题目中两个内容的关系记得08年的时候我也遇到过数据库不断膨胀文件数达到db_files的最大限制后不能进...
oracle统计信息(四)
顺便贴上10个level的动态采样介绍Level 0: Do not use dynamic sampling.Level 1: Sample all tables that have not been analyzed if the following criteria are met: (1) there is at least 1 unanalyzed table ...
oracle统计信息(三)
8. 收集统计信息的一些例子例子1对表收集统计信息BEGIN DBMS_STATS.GATHER_TABLE_STATS(ownname => 'SCOTT', ...
oracle统计信息(二)
5. 锁住/解锁统计信息· LOCK_SCHEMA_STATS· LOCK_TABLE_STATS· &n...
oracle统计信息(一)
1. 理解什么是统计信息 优化器统计信息就是一个更加详细描述数据库和数据库对象的集合,这些统计信息被用于查询优化器,让其为每条SQL语句选择最佳的执行计划。优化器统...
将oracle中数据转存到excel中
今天一个朋友问我怎么把200万的数据转的excel里,说老板要看,而且只要excel格式的,他想到的方法就是用toad查出来在转存到excel里。我说那得跑到什么时候去啊,设计到网络传输和数据展现,万一中间有...
系统优化报告表格样例
系统优化报告表格样例性能指标 调整前 调整后 对比说明 响应时间/事物 3867.391000.74平均每事务响应时间减少; 系统响应速度加快; 说明系统总体性能提高3.87倍。 CPU时间/事物 2...
ORA-07445 [kkoipt()+3881] [SIGSEGV] [Address not mapped to object]
ORA-07445: exception encountered: core dump [kkoipt()+3881] [SIGSEGV] [Address not mapped to object] [0x000000028] [] [] [root@ora udump]# more orclsid_ora_13842.trc /data/oracle/admin/orclsid/...
an error has occurred. - no valid devices were found...
在VMware-server 下装linux 在建立分区的时候提示:an error has occurred. - no valid devices were found on which to create new file systems please check your hardware for the cause of this problem。&nbs...
rman异地恢复
rman异地恢复数据库---------startup nomount;set dbid 1826890219restore spfile from '/data0/rman/c-1826890219-20080710-01';shutdown immediatestartup nomountrestore controlfile from '/data0/rman/c-182...
监控索引的使用
从Oracle 9i开始,可以监控Oracle索引的使用情况具体方法如下:alter index <schema>.<index> MONITORING USAGE; 对某个INDEX开启监控后,就可以观察该INDEX是否被使用:select index_name,monitoring,used,star...
nologging对delete以及update效果不大
SQL> create table a (id int);Table created.SQL> begin for i in 1..10000 loop 2 insert into a select i from dual; 3 end loop; 4 commit; 5 end; 6&...