摘要:
今天遇到个问题,客户说某天的11:45开始,系统遇到了大量的cursor pin s wait on X,经历一个小时后自动消失,需要查找原因。 这报错一般是某个会话需要申请S模式的mutex,而mutex被其他会话以X模式占有了。查holder也很容易,11g版本前看p2raw的前8位,将16进制 阅读全文
摘要:
A multiprocess Oracle database uses some additional processes called background processes. The background processes perform maintenance tasks required 阅读全文
摘要:
Prior to 12c,PGA_AGGREGATE_TARGET was the Parameter used to control amount of memory allocated to User Processes(mainly work areas). However PGA_AGGRE 阅读全文
摘要:
查询数据库中的存储过程和函数 select `name` from mysql.proc where db = 'xx' and `type` = 'PROCEDURE' //存储过程 select `name` from mysql.proc where db = 'xx' and `type` 阅读全文
摘要:
一、MySql官网文档解释在**mysql5.***中描述如下 Different limits related to tables and indexes. For example, the maximum number of ordered indexes in the cluster is d 阅读全文
摘要:
ADATA Custer database manual or auto snapshot hangs and never returns: Bug info: https://support.oracle.com/CSP/ui/flash.html#tab=KBHome%28page=KBHome 阅读全文
摘要:
创建表时报错,索引列超过最大约束ERROR 1709 (HY000): Index column size too large. The maximum column size is 767 bytes. 1. 错误原因由于 MySQL Innodb 引擎表索引字段长度的限制为 767 字节,因此对 阅读全文
摘要:
DELIMITER $$ CREATE PROCEDURE pro_insert(IN maxNum INT) BEGIN DECLARE i INT DEFAULT(1); while i<=maxNum DO INSERT INTO employees (first_name ,last_nam 阅读全文