第一步:查看是否有死锁存在,查出有数据则代表有死锁 select p.spid,c.object_name,b.session_id,b.oracle_username,b.os_user_name from v$process p,v$session a,v$locked_object b,all_objects c where p.addr=a.paddr and a.process=b.process and c.object_id=b.object_id
存档在 ‘数据库’ 分类
oracle三步解锁
2011年11月27日混合存储中Flashcache使用的误区以及解决方案
2011年10月29日Flashcache是facebook释放出来的开源的混合存储方案,用ssd来做cache提升IO设备的性能.很多硬件厂商也有类似的方案,比如说LSI raid卡. 但是这个方案是免费的软件方案,而且经过产品的考验,具体参见: 主页:https://github.com/facebook/flashcache 开源混合存储方案(Flashcache):http://blog.yufeng.info/archives/1165 Flashcache新版重大变化:http://blog.yufeng.info/archives/1429 但是flashcache在使用中很多人会有个误区,导致性能很低。首先我们看下flashcache的设计背景和适用场景: Introduction : ============ Flashcache is a write back block cache Linux kernel module. This document describes the design, futures ideas, configuration, tuning of the flashcache and concludes with a note covering the testability hooks within flashcache and the testing that we did. Flashcache was built primarily as a [...]
软硬件结合的数据库解决方案
2011年10月24日最近参加了OTN China Tour技术嘉年华的活动,并准备了一个关于软硬件结合的主题演讲,介绍了我们在软硬件结合方面提升Oracle数据库性能和可用性的案例,后续我会详细介绍这些案例的架构与
Oracle Database Appliance
2011年9月27日Hardware and Software Engineered to Work Together
自从Oracle收购了SUN,不仅仅得到了MySQL,Java,Solaris等,还得到了SUN的硬件产品,真正成为了一家软硬通杀的服务提供商。这几年,接连推出了基于SUN的硬…
MySQL-5.1.48升级评估: MySQL-5.1.x系列修复了哪些BUG
2011年9月25日由于线上主流MySQL数据库用的MySQL-5.1.48版本,这个版本运行近两年来,暴露的问题比较少,也是相对比较稳定的一个GA版本。最近研究升级到MySQL-5.1.x系列,发现没有找到能说服我自己的理由,除非是遇到了真的过不去的坎,或者特别想利用新的特性,因为从sysbench测性能试的结果看,不分伯仲。 mysql-5.1.48 mysql-5.1.56 OPR requests latency requests latency select 37331.96 37192.82 0.85 0.86 37396.46 37399.82 0.85 0.85 update-key 17305.59 17207.60 1.85 1.86 16855.06 16633.32 1.89 1.92 update-nokey 15517.05 15600.70 2.06 2.05 15258.13 14713.75 2.09 2.17 insert 9807.19 9892.62 3.26 3.23 11030.71 8748.67 2.90 3.65 delete 21095.04 21721.00 1.51 1.47 19690.32 22372.53 1.62 1.43 trx 19112.93 [...]