上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页
摘要: 今天使用SQL Developer连接一台测试服务器数据库(ORACLE 11g)时,遇到了“ORA-12514, TNS:listener does not currently know of service requested in connect descriptor”错误,具体提示如下所示: 阅读全文
posted @ 2022-01-13 10:41 一只竹节虫 阅读(16899) 评论(0) 推荐(0)
摘要: Oracle的数据库日志大致可以分为三大类 告警日志、跟踪日志、重做日志 今天主要来谈谈告警日志 告警日志(记录报错信息) 一般命名为alert_<SID>.log,数据库告警日志是按时间顺序记录message和错误信息。 告警日志具体记录的内容 1:所有的内部错误(ORA-600)信息,块损坏错误 阅读全文
posted @ 2022-01-13 10:31 一只竹节虫 阅读(3409) 评论(0) 推荐(0)
摘要: 浅谈oracle RAC和HA的原理和异同 HA是High Availability的简称,即高可用性,在数据库应用上通常的高可用性是指广义的,应该是一种概念和模式而不是一种具体技术或者实现方式。简单来说,HA是让系统尽可能持续运行而不会中断的技术,包括软件的高可用,硬件的高可用,网络的高可用等等。 阅读全文
posted @ 2022-01-12 17:47 一只竹节虫 阅读(693) 评论(0) 推荐(0)
摘要: 首先查看装数据库的服务器内存是多少 查看数据库当前设置的参数数值 --查询数据库当前总内存 sp_configure 'max memory' go --查询数据库当前过程缓存 sp_configure 'procedure cache' GO --查询数据库当前高速缓存数值 sp_cachecon 阅读全文
posted @ 2022-01-11 16:03 一只竹节虫 阅读(536) 评论(0) 推荐(0)
摘要: 查询 sp_configure 'default char' go SELECT id,name FROM syscharsets WHERE id IN (1,171,173,190) go 查看当前数据库服务名 SELECT @@servername 打开Dos窗口 切换到对应的文件夹路径 以把 阅读全文
posted @ 2022-01-11 16:02 一只竹节虫 阅读(796) 评论(0) 推荐(0)
摘要: --建主键 DECLARE @pk_name VARCHAR(80)BEGIN select @pk_name=a.name from sysindexes aINNER JOIN sysobjects b ON a.id=b.idWHERE a.status&2048=2048and b.name 阅读全文
posted @ 2022-01-11 15:57 一只竹节虫 阅读(156) 评论(0) 推荐(0)
摘要: select d.name,a.name as 字段名, upper(b.name) as 字段类型, a.length as 长度, upper((case when a.status =8 then 'null' else 'not null' end)) as 是否为空FROM syscolu 阅读全文
posted @ 2022-01-11 15:55 一只竹节虫 阅读(1121) 评论(0) 推荐(0)
摘要: sp_dboption hh_report, single, truegouse hh_reportgocheckpointgosp_renamedb hh_report, lc_reportgouse mastergosp_dboption lc_report, single, falsegous 阅读全文
posted @ 2022-01-11 15:53 一只竹节虫 阅读(99) 评论(0) 推荐(0)
摘要: USE master gosp_configure "default character set id",171gosp_configure 'number of user connections',25gosp_configure 'max mem', 0,'8G' gosp_cacheconfi 阅读全文
posted @ 2022-01-11 15:50 一只竹节虫 阅读(177) 评论(0) 推荐(0)
摘要: select top 10 * from userinfo1 noholdlock where rq <'2021/10/10' sp_configure“print deadlock information”,1 ##不用重启服务即可生效打开这个选项,当发送死锁时,信息会记录在数据库运行日志中 对 阅读全文
posted @ 2022-01-11 15:39 一只竹节虫 阅读(341) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页