How does one enable dead connection detection ? [akadia]
Dead database connections can be detected and killed by SQL*Net if you specify the SQLNET.EXPIRE_TIME=n parameter in your SQLNET.ORA file (usually in $TNS_ADMIN). This parameter will instruct SQL*Net ...
含有timestamp类型数据的imp
加 commit=y 时非常慢, 不加则快20倍,看来timestamp跟lob等大字段习性一样.我的环境: p590 + aix5.3 + oracle 9206 + 3内存 + 3cpu
9i在pl/sql方面比8i严格许多
这次数据库升级遇到一个情况:8i上可以编译的package不能在9i上编译,原因是9i要求包头的参数说明一定要和包体里的说明一致.:)
How to escape special characters in Oracle ? [akadia]
If you want to retrieve TABLE_NAMES from ALL_TABLES where the table name is like 'ADD_' using the following query, you may notice that the query is returning ADDRESS and ADD_CODES:create table address...
ORA-00600[ktsxaffs1]错误的解决
环境:oracle9205 rac aix5.2.0.4 hacmp5.1一台正常,一台startup时没有错误,但alert.log有如下错误:ORA-00600: 内部错误代码,参数: [ktsxaffs1], [], [], [], [], [], [], []而且产生了很多 core文件和trc文...
Interacting with Oracle via the UNIX Korn shell [akadia]
UNIX remains a fabulous choice for hosting Oracle databases. Both technologies have proven to be more flexible and more stable for more time than most of us care to remember.The remarkable 'Korn' shel...
设置口令复杂度
可以强制用户的口令符合复杂度标准。例如,可以要求口令的最小长度,限制不能是一些简单的词,至少包括一个数字或标点符号等。“create profile”和“alter profile”命令的PASSWORD_VERIFY_FUNCTION参数指定用于评...
Tracking the progress of a long running statement[akadia]
Sometimes you run an INSERT or DELETE statement that takes a long time to complete. You have wondered how many rows have already been inserted or deleted so that you can decide whether or not to abort...
更惨的还在后面
系统终于架起来了,应用程序也正常运行了1天;验收报告写完了,用户也很满意地签字了;正准备回广州时,其中一台主机上的应用程序反应非常慢,部分分局已经遭到群众的投诉;但最后,双机不正常,主机当机.按照以往的...
Using Index Only Tables (IOTs)[akadia]
Index-organized tables are tables with data rows grouped according to the primary key. The attributes of index-organized tables are stored entirely within the physical data structures for the index. I...
奇怪的exp coredump
今天在做系统切割的时候,遇到一个很奇怪的问题:环境: es4100 + 4.0f + oracle7.3.4 apps: oracle applications 10.7在本机器上exp system/system full=y buffer=..........报错: memory fault (coredump)尝试...
修改lob存储参数的语句
跟一般字段不太一样alter table tabname modify lob (lobcolname) (storage (next 10m));
ora-12570
环境: a: hp ia64 9204 rac b: aix 9204 故障现象: sqlplus a/a@dblink from a to b时而通几个小时, 时而不通几个小时,抱错 ora-12570.最后发现是a to b中两个防火墙中的一个引起的,升级了防火墙软件...
ORA-00600: internal error code, arguments: [ttcgcshnd-1]
这是Oracle9i的一个和JDBC Thin Driver有关的BUG.设置:event='10841 trace name context forever' 可以屏蔽这个ORA-00600错误.
问题解决小记[20040826]:系统迁移后的应用程序某个功能比原来慢了一个数量级
aix5L oracle8.1.7.4 32位新的机器的配置很好:4cpu 6g内存. 用户的数据库很小做了几个常规的调整,使某个大数据量(20万)的导入功能从原先的慢一个数量级变为快2倍,用户很满意.db_block_buffers ...
ora-00600[kkslgop1]
aix4.3.3oracle8.1.7.4是由于cursor_sharing=force所致, 当初这样设置是由于应用程序很垃圾.设为exact,问题就不报了.这个垃圾程序很快就要换成公安部的程序了:)
oracle诊断工具-RDA使用[zt]
oracle诊断工具-RDA使用 Posted on 2006-02-07 15:44 柳随风 阅读(196) 评论(2) 编辑 收藏 引用 收藏至365Key RDA是Remote Diagnostic Agent 的简称,是oracle用来收集、分析数据库的工具,运行该工具不会改变系统...
SP2-0614: Server version too low for this feature.
SP2-0614: Server version too low for this feature.This error will show up when you run catcpu.sql or catcpu_rollback.sql right after you startup the Oracle Database. You must log off and log back on ...
'tkprof' is not recognized as an internal or external command
实验环境:winxp + Oracle 9.0.1实验过程SQL> show parameter timed_statisticsNAME TYPE VALUE------------------------------------ ----------- ------timed_statistics boolean TRUESQL> alter session set sql_...
一种有趣的创建database link的语法
CREATE DATABASE LINK dblinkname CONNECT TO username IDENTIFIED BY password USING '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=*.*.*.*)(PORT=1521))(CONNECT_DATA=(SID=***)))';1.有一定的安全性,不需要在tnsn...