上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: OS: AIX 5300-12-05-1140 背景: 上了一台很老的 Oracle 查问题,手滑了,直接vi 了alert日志,报错了... 1. 报错如下 oraprd> vi alert_PRD.log ex: 0602-101 Out of memory saving lines for u 阅读全文
posted @ 2024-04-18 16:54 Coye 阅读(50) 评论(0) 推荐(0) 编辑
摘要: SQL*Plus Connection and DBCA Fails With: ORA-12547: TNS:Lost Contact 背景:某个SAP 的数据库的系统盘有问题了,需要迁移,当时数据库文件尚未损坏,于是将数据库软件连同数据文件一起 scp 到新的服务器 OS version: DB 阅读全文
posted @ 2024-04-11 16:55 Coye 阅读(195) 评论(0) 推荐(0) 编辑
摘要: version: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 通过sqlplus 获取视图的 DDL 的两种方法 先设置格式 set line 233 pages 233 long 9999 通过 all_views/dba_v 阅读全文
posted @ 2024-04-09 19:33 Coye 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 文件按照大小排序 OS:Red Hat Enterprise Linux Server release 7.9 (Maipo) 用的时候,经常盘就满了,得找最大的那个表,到数据库里面去查还得写sql ,就干脆查文件就得了,以下是用了个空库的查询结果 通过 ll 排序,对文件夹不够友好 desc 排序 阅读全文
posted @ 2024-03-26 19:36 Coye 阅读(21) 评论(0) 推荐(0) 编辑
摘要: too many files open in system 查看哪个用户或进程占用的文件多 #查看进程打开文件数最多的前5个进程 lsof | awk '{print $2}' | sort | uniq -c | sort -rn | head -n 5 lsof -n| awk '{print 阅读全文
posted @ 2024-03-12 10:12 Coye 阅读(9) 评论(0) 推荐(0) 编辑
摘要: emmm...也不知道为啥....密码不能过期...虽然不符合审计要求,但是用的爽啊.... `version:Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit` 0、检查用户密码过期时间 ``` SQL> SELEC 阅读全文
posted @ 2023-06-25 09:59 Coye 阅读(80) 评论(0) 推荐(0) 编辑
摘要: pt-ioprofile 属于Percona Toolkit 下的一个工具 下载地址:https://www.percona.com/software/database-tools/percona-toolkit 简单看一下使用说明 ``` pt-ioprofile --help Usage: pt 阅读全文
posted @ 2023-06-15 10:40 Coye 阅读(71) 评论(0) 推荐(0) 编辑
摘要: ``` col OPERATION FORMAT a20 col STATUS FORMAT a20 col MBYTES_PROCESSED FORMAT 999999.99 select OPERATION,STATUS,OBJECT_TYPE,MBYTES_PROCESSED, to_char 阅读全文
posted @ 2023-06-15 10:04 Coye 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 百度上抄来的。。。试了下可以用哎。。 官网下载地址: ``` https://www.allroundautomations.com/registered/plsqldev.html ``` 品编号 Product Code: ``` kfj6yg6rfyhqcha6cbgs6fsw3kyje7a6 阅读全文
posted @ 2023-06-12 16:28 Coye 阅读(14) 评论(0) 推荐(0) 编辑
摘要: How to Install 安装 Using the INSTALL PLUGIN statement: Unix/Linux: mysql> INSTALL PLUGIN clone SONAME 'mysql_clone.so'; Windows: mysql> INSTALL PLUGIN 阅读全文
posted @ 2023-05-05 13:31 Coye 阅读(33) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页
点击右上角即可分享
微信分享提示