03 2018 档案

摘要:####监控脚本 [root@pdb~]# more /opt/VRTS/scripts/mysql_monitor.sh#!/bin/shn=`ps -ef |grep mysql|grep "port=3306"|wc -l`if test $n -eq 0 then exit 100 else 阅读全文
posted @ 2018-03-30 20:51 feiyun8616 阅读(345) 评论(0) 推荐(0) 编辑
摘要:###sample: #####view all userSELECT user, host from mysql.user;mysql> SELECT user, host from mysql.user;+ + +| user | host |+ + +| dbmonopr | % || svr 阅读全文
posted @ 2018-03-30 20:48 feiyun8616 阅读(237) 评论(0) 推荐(0) 编辑
摘要:转 : https://blog.csdn.net/bloodycuckoo/article/details/51175339 转 : https://blog.csdn.net/u010746431/article/details/50601347 阅读全文
posted @ 2018-03-30 20:45 feiyun8616 阅读(145) 评论(0) 推荐(0) 编辑
摘要:####0 https://yq.aliyun.com/ziliao/53466 首先,很荣幸你找到了这篇文章。。。 如果你忘记了mysql的密码不妨试试以下这个方法。 1、打开my.cnf 代码如下 复制代码 [mysqld] port=3306 #skip-grant-tables 在最后添加s 阅读全文
posted @ 2018-03-30 20:09 feiyun8616 阅读(282) 评论(0) 推荐(0) 编辑
摘要:issue 1: OPatch cannot find a valid oraInst.loc file to locate Central Inventory (OPatch failed with error code = 104) (文档 ID 2308329.1) 转到底部 修改时间: 20 阅读全文
posted @ 2018-03-29 16:26 feiyun8616 阅读(365) 评论(0) 推荐(0) 编辑
摘要:AIX上sqlplus /as sysdba rman target / 或者lsnrctl start时或者通过sqlplus system/oracle@orcl这样通过监听连接等方式来登陆时非常慢(LINUX/HP-UX也存在此问题),甚至要5分钟、10分钟左右才能进入。这种问题在排除系统资源 阅读全文
posted @ 2018-03-27 21:52 feiyun8616 阅读(296) 评论(0) 推荐(0) 编辑
摘要:在一次帮助客户解决归档满的过程中遭遇了此错误. 客户是新上线系统,11g版本.设置了归档清除脚本(脚本参考:http://www.ludatou.com/?p=766),结果发现以往没问题的脚本在此刻居然行不通,报了一对Rman-08517的错误,经查询发现是在11g里归档日志记录的一个机制导致的, 阅读全文
posted @ 2018-03-23 18:30 feiyun8616 阅读(301) 评论(0) 推荐(0) 编辑
摘要:目标 当 Central inventory 损坏或者丢失,如何在 Oracle 目录中重建 oraInventory(Central Inventory)? 解决方案 步骤 1: 找到 central inventory 的存放路径 Central inventory 的存放路径可以通过 cent 阅读全文
posted @ 2018-03-23 16:03 feiyun8616 阅读(390) 评论(0) 推荐(0) 编辑
摘要:最近在生成一套系统的AWR报告时出现了如下报错:ORA-06502: PL/SQL: numeric or value error: character string buffer too small,然后生成AWR报告的过程就终止了,查看生成的AWR报告,发现报告时不完整的,AWR报告到Compl 阅读全文
posted @ 2018-03-23 09:43 feiyun8616 阅读(202) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/oradh/article/details/37592809 http://www.docin.com/p-1875198938.html http://blog.csdn.net/yyf_china/article/details/53332419 阅读全文
posted @ 2018-03-20 16:53 feiyun8616 阅读(108) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/z644041867/article/details/76618644 https://www.cnblogs.com/miclesvic/p/6144924.html http://blog.chinaunix.net/uid-29155617-id-46 阅读全文
posted @ 2018-03-18 18:08 feiyun8616 阅读(356) 评论(0) 推荐(0) 编辑
摘要:https://www.iznb.cn/ 阅读全文
posted @ 2018-03-17 22:32 feiyun8616 阅读(114) 评论(0) 推荐(0) 编辑
摘要:################## http://rpm.pbone.net/ 下载下来的包放到本地yum源中,然后在这个目录下面重新生成依赖关系就可以使用yum包来完成安装了 tt 1. 生成依赖性关系createrepo -g /var/ftp/pub/Server/repodata/comp 阅读全文
posted @ 2018-03-16 18:28 feiyun8616 阅读(445) 评论(0) 推荐(0) 编辑
摘要:1. https://serverfault.com/questions/490656/mysql-not-starting-error-usr-sbin-mysqld-unknown-option-query-cache-si 4down votefavorite 4down votefavori 阅读全文
posted @ 2018-03-16 12:50 feiyun8616 阅读(2155) 评论(0) 推荐(0) 编辑
摘要:1 #!/bin/sh export ORACLE_SID=hdbexport ORACLE_BASE=/db/hdbdg/app/product/databaseexport ORACLE_HOME=/db/hdbdg/app/product/database/11gexport LANG=en_ 阅读全文
posted @ 2018-03-12 10:11 feiyun8616 阅读(227) 评论(0) 推荐(0) 编辑
摘要:###sample 1 数据库全备的脚本 https://blog.csdn.net/gumengkai/article/details/53645339 cat rman_full2.shexport NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'source /d 阅读全文
posted @ 2018-03-09 15:06 feiyun8616 阅读(1264) 评论(0) 推荐(0) 编辑
摘要:bk1gx7xwj9du6SELECT * FROM HEADERS GJH WHERE ATTRIBUTE10 IS NULL FOR UPDATE 优化建议如下: 短期来说:建立一个索引来优化:create index idx_test_2 on HEADERS (ATTRIBUTE10,1); 阅读全文
posted @ 2018-03-02 14:34 feiyun8616 阅读(432) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示