Solaris+Oracle 11g WARNING: aiowait timed out 1 times
最近给数据库做巡检的时候,总会发现WARNING: aiowait timed out 1 times报错,如下alert的内容:Thread 1 cannot allocate new log, sequence 52198Private strand flush not complete Current log# 5 seq# 52197 mem# 0: /oradb/ADC/sysfile/redo05.logThread 1 advanced to log sequence 52198 (LGWR switch)...
记一次并行恢复问题导致Oracle数据库Crash故障的处理
Errors in file /export/home/oracle/admin/ADC/bdump/adc_smon_3774.trc:<br />ORA-00600: internal error code, arguments: [ktprhtnew6], [], [], [], [], [], [], []<br />Tue Sep 1 11:22:49 2015<br />Fatal internal error happened while SMON was doing active transaction recovery.<br />Tue Sep &nbs...
sql中ORDER SIBLINGS BY排序的含义
SIBLINGS 是兄弟姐妹的意思,那么ORDER SIBLINGS BY的意思就是在兄弟姐妹之间的排序,和order by所表示的含义绝对不同,针对树状sql,我觉得ORDER SIBLINGS BY更有意义,树状sql查询出来的结果本身就是按照层次(hierarchy)结构排好序的,而加上关键字SIBLINGS 其实是在hierarchy内部进行排序。You have to be care...
ORA-07445: exception encountered: core dump [kgghstfel()+4] [SIGSEGV]
数据库alert日志报错如下:Errors in file /export/home/oracle/admin/CAMDS/udump/camds_ora_24244.trc:ORA-07445: exception encountered: core dump [kgghstfel()+4] [SIGSEGV] [Address not mapped to object] [0x000000018] [] []trace文件内容:Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to...
Linux上exp owner参数的测试
Linux上的测试:--test1用户create user test1 identified by test1;grant connect,resource to test1;--test2用户create user test2 identified by test2;grant connect,resource to test2;--test3用户(会被锁定)create user test3 identified by test3;grant connect,resource to test3;conn test1/test1...
ora-00600 [KGHAL04] [0x382800060]
今天在生产库上dbca建库时,遇到如下错误:看到ora 600的报错,心瞬间凉了。。。。不过,还是很耐心的检查错误:在alert文件中,定位如下:Errors in file /export/home/oracle/app/rdbms/log/camds_ora_13832.trc:ORA-00600: internal error code, arguments: [KGHALO4], [0x382800060], [], [], [], [], [], []按图...
解决oracle11g 空表不能exp导出的问题
解决方法:1插入一条数据(或者再删除),浪费时间,有时几百张表会累死的。2创建数据库之前使用代码:Sql代码 alter system set deferred_segment_creation=false; 调整再建表这两种方都不好下面是终极方法: 先查询一下哪些表是空的:Sql代码 ...
ORA-00201的报错
--报错:ORA-00201ORA-00201: control file version 10.2.0.1.0 incompatible with ORACLE version10.2.0.0.0--查看数据库版本SYS@CEMS>select * from v$version;BANNER----------------------------------------------------------------Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64biPL/...
where 1=1或者0 =0
sql where 1=1和 0=1 的作用where 1=1; 这个条件始终为True,在不定数量查询条件情况下,1=1可以很方便的规范语句。一、不用where 1=1 在多条件查询中的困扰 举个例子,如果您做查询页面,并且,可查询的选项有多个,同时,还让用户自行选择并输入查询关键词,那么,按平时的查询语句的动态构造,代码大...
非结构化数据存储方案
非结构化数据包括文本、图像、音频、视频、PDF、电子表格等。非结构化数据存储通常有两种方式:1. 将非结构化数据以文件的方式存储在文件系统中,同时将指向文件的链接或路径存储在数据库表中。这种方式数据读写的速度较快,但数据管理不方便,并需要额外考虑事务处理的一致性和数据的安全性。2. ...