win10下github for desktop log in failed
打开gitshell 执行以下操作:C:\Users\liupeng\Documents\GitHub> git config --global user.name "xxxx"C:\Users\liupeng\Documents\GitHub> git config --global user.email "xxxxx@xxxx"
DG Broker管理dataguard注意事项
Once you start usingthe Broker you must always use the Broker to make any changes toyour Data Guard configuration. This means that you must useGrid Control or the Broker CLI DGMGRL to change any Data Guardsettings. If you use SQL*Plus to make configuratio...
enq: TM - contention解决之道——外键无索引导致锁争用(下)
enq: TM - contention解决之道——外键无索引导致锁争用
enq: TM - contention解决之道——外键无索引导致锁争用(上)
近日,开发负责人反映某生产环境业务处理缓慢,主要业务操作就是修改会员信息,登录查询后发现大量的session正在等待enq: TM - contention,且waiting的语句几乎都是update,session的即时信息没有保留,现在附上ash视图的一些统计信息,可以大概了解一下当时争用的场景SQL> @ash_wait_chains.sql username||...
Data Guard ORA-16825、ORA-16661解决一例
Data Guard ORA-16825、ORA-16661
Data Guard配置Broker解决ORA-16664、ORA-16792
给某一个客户安装ADG完毕,配置Broker方便日后的管理与切换,碰到些许问题,以作记录 创建完configuration之后,enable的过程很慢,而且状态出现error 主库查询:DGMGRL> SHOW CONFIGURATION VERBOSE;Configuration - anxinconfProtection Mode: MaxAvailability...
ORA-31617 unable to open dump file for write
Question: I am getting the ORA-31693 error during a data pump export in RAC:ORA-31693: Table data object "xxx" failed to load/unload and is being skipped due to error:ORA-31617: unable to open dump file "/u01/expdp/dump_test.dmp" for writeORA-19505: failed to identify file "/u01/e...
Oracle DataGuard switchover切换一例
Oracle DataGuard switchover切换
strace解决sqlplus登陆缓慢的问题一例
strace解决sqlplus登陆缓慢的问题一例
了解你所不知道的SMON功能(六):Instance Recovery
出处:http://www.askmaclean.com/archives/smon-instance-recovery.htmlSMON的作用还包括RAC环境中的Instance Recovery,注意虽然Instance Recovery可以翻做实例恢复,但实际上和我们口头所说的实例恢复是不同的。我们口头语言所说的实例恢复很大程度上是指Crash Recovery崩溃恢复,Instance Recovery与Crash Recovery...
SMON其他功能
出处:http://www.askmaclean.com/archives/了解你所不知道的smon功能系列文章汇总.htmlSMON的功能并不止于此,详细完整的功能列表:实施local instance recovery实施OPS/RAC instance recovery服务于排序段sort segment申请实施transaction recovery(rollback)清理不再使用的临时...
了解你所不知道的SMON功能(十二):Shrink UNDO(rollback) SEGMENT
出处:http://www.askmaclean.com/archives/smon-shrink-undo-rollback-segment.htmlSMON对于Undo(Rollback)segment的日常管理还不止于OFFLINE UNDO SEGMENT ,在AUM(automatic undo management或称SMU)模式下SMON还定期地收缩Shrink Rollback/undo segment。 触发场景 这种AUM下rollba...
了解你所不知道的SMON功能(十一):OFFLINE UNDO SEGMENT
出处:http://www.askmaclean.com/archives/smon-offline-undo-segment.htmlSMON这个老牌的后台关键进程的作用还包括对UNDO/ROLLBACK SEGMENT的维护, 这种维护主要体现在2个方面: OFFLINE和SHRINK UNDO/ROLLBACK SEGMENT, 今天我们主要介绍OFFLINE ROLLBACK SEGMENT。 你肯定要问,Oracle为什么OF...
了解你所不知道的SMON功能(十):维护SMON_SCN_TIME字典基表
出处:http://www.askmaclean.com/archives/smon-update-smon-scn-time.htmlSMON后台进程的作用还包括维护SMON_SCN_TIME基表。SMON_SCN_TIME基表用于记录过去时间段中SCN(system change number)与具体的时间戳(timestamp)之间的映射关系,因为是采样记录这种映射关系,所以SMON_SCN_TIME可以较为较为粗糙地(不精确...
了解你所不知道的SMON功能(九):维护MON_MODS$字典基表
出处:http://www.askmaclean.com/archives/smon-flush-dml-statistics-mon-mods.htmlSMON后台进程的作用还包括维护MON_MODS$基表,当初始化参数STATISTICS_LEVEL被设置为TYPICAL或ALL时默认会启用Oracle中表监控的特性,Oracle会默认监控表上的自上一次分析以后(Last analyzed)发生的INSERT,UPDATE,DELETE以及表是否被T...
了解你所不知道的SMON功能(八):Transaction Recover
出处:http://www.askmaclean.com/archives/smon-transaction-recover.htmlSMON的作用还包括启动(startup)时的Transaction Recover:SMON: enabling cache recoveryArchived Log entry 87 added for thread 1 sequence 58 ID 0xa044e7d dest 1:[15190] Successfully onlined Undo Tablespace 2.Undo initialization...
了解你所不知道的SMON功能(七):清理IND$字典基表
出处:http://www.askmaclean.com/archives/smon-clean-ind-while-rebuild-create-index-online-fail.htmlSMON的作用还包括清理IND$字典基表(cleanup ind$):触发场景当我们在线创建或重建索引时(create or rebuild index online),服务进程会到IND$字典基表中将该索引对应的记录的FLAGS字段修改为十进制的256...
了解你所不知道的SMON功能(五):Recover Dead transaction
出处:http://www.askmaclean.com/archives/smon-recover-dead-transaction.htmlSMON的作用还包括清理死事务:Recover Dead transaction。当服务进程在提交事务(commit)前就意外终止的话会形成死事务(dead transaction),PMON进程负责轮询Oracle进程,找出这类意外终止的死进程(dead process),通知SMON将与该dead proces...
了解你所不知道的SMON功能(四):维护col_usage$字典基表
出处:http://www.askmaclean.com/archives/smon-maintain-col-usage.htmlSMON的作用还包括维护col_usage$列监控统计信息基表。最早在9i中引入了col_usage$字典基表,其目的在于监控column在SQL语句作为predicate的情况,col_usage$的出现完善了CBO中柱状图自动收集的机制。create table col_usage$( obj# ...
了解你所不知道的SMON功能(三):清理obj$基表
出处:http://www.askmaclean.com/archives/smon-clean-up-obj-table.htmlSMON的作用还包括清理obj$数据字典基表(cleanup obj$)OBJ$字典基表是Oracle Bootstarp启动自举的重要对象之一:SQL> set linesize 80 ;SQL> select sql_text from bootstrap$ where sql_text like 'CREATE TABLE OBJ$%';SQL_TEXT-------...