husthxd - by - 13 七月, 2007 17:27
husthxd - by - 19 六月, 2007 17:57
Windows2003 64bit,英文版.
expdp出错,备份脚本如下.
expdp sbuser/sbuser directory=dumpbak dumpfile=db%date:~0,10%.dmp schemas=(testuser) parallel=8
系统提示dumpfile文件名不对.
查看全文
husthxd - by - 03 六月, 2007 22:08
10.2.0.3
X86 64 bit
windows2003
出错信息:
UDE-00008: operation generated ORACLE error 31626
ORA-31626: job does not exist
ORA-39086: cannot retrieve job information
ORA-06512: at "SYS.DBMS_DATAPUMP", line 2745
ORA-06512: at "SYS.DBMS_DATAPUMP", line 3712
ORA-06512: at line 1
查看全文
husthxd - by - 03 六月, 2007 21:52
虽然expdp -help指明了exclude的语法:
exclude=table:emp
但实际上会出错。
正确的语法是
exclude=table:"in ('EMP')"
husthxd - by - 27 三月, 2007 12:17
OS:Windows 2000 32bit
根据补丁包附带的readme step by step安装即可。
安装后以upgrade模式打开数据库,执行升级脚本。
在执行脚本过程中,如果有涉及到java部分的脚本执行较慢或执行不下去,加大java_pool_size到150M或以上即可。
最好执行utlrp.sql脚本,重新编译。
husthxd - by - 25 三月, 2007 21:30
前段时间用LR做了一次压力测试。
OS:windows 2003 server 32bit
查看全文
husthxd - by - 07 一月, 2007 21:36
平台:
IBM X366
Oracle10.1.0.2
查看全文
husthxd - by - 03 十二月, 2006 13:32
考虑这样的需求:
系统中有两个模块A1和A2,A1负责insert数据到表T中,而模块A2负责更新表T中与模块A2有关的字段C1,C1上有not null约束.
这时候应在c1上建立延迟not null约束,在事务结束的时候才校验not null约束.
这是延迟约束在协同开发中的一个应用.
husthxd - by - 18 十一月, 2006 16:55
使用cast强制类型转换:
create table t1(c1 varchar2(8));
create or replace view vw_t1 as
select cast(rpad(c1 ,10,' ') as char(10)) as c1
from t1;
husthxd - by - 18 十一月, 2006 16:52
SQL> declare
2 v_o varchar2(50);
3 begin
4 select max(c1) into v_o from t1;
5 dbms_output.put_line('test = '||v_o);
6 end;
7 /
declare
*
第 1 行出现错误:
ORA-06502: PL/SQL: 数字或值错误 : 字符串缓冲区太小
查看全文
husthxd - by - 12 十月, 2006 13:07
系统崩溃或者HA系统切换可能会导致Oracle数据库Startup时发生ora-600内部错误。
查看全文
husthxd - by - 21 九月, 2006 17:10
DDL会提交事务,但,失败的DDL是否也会提交事务呢?
查看全文
husthxd - by - 05 九月, 2006 16:43
oracle的分析函数功能很强,略举一例,需求如下:
有表t1:
......................
ywbh char(16),-- 业务编号
bh char(10),-- 编号
clrq char(8),-- 处理日期
........................
有两类业务:增加业务和减少业务,业务编号分别以ZJ和JS开头,clrq用于记录业务处理日期(增加、减少)。如何获取同一编号bh的最大增加日期和最大减少日期?
查看全文
husthxd - by - 05 九月, 2006 16:16
10g启用归档一段时间后报错,归档失败,数据库不能正常使用。
查看全文
husthxd - by - 28 八月, 2006 12:58
husthxd - by - 03 八月, 2006 17:46
今天粗略看了一下.
版本:oracle10.1.0.2
查看全文
husthxd - by - 14 六月, 2006 10:45
husthxd - by - 12 六月, 2006 10:30
husthxd - by - 09 六月, 2006 09:28
husthxd - by - 08 六月, 2006 09:58
husthxd - by - 07 六月, 2006 11:16
3.创建物化视图站点:假定物化视图站点位于mv(网络服务名),作为simis的物化视图站点
查看全文
husthxd - by - 07 六月, 2006 11:14
husthxd - by - 07 六月, 2006 11:10
husthxd - by - 28 四月, 2006 17:53
last updated 2006-04-29
查看全文
husthxd - by - 13 四月, 2006 17:38
昨晚创建数据库,然后import数据,结果到今天早上还没有完成,停止在导入索引的步骤上.
查看全文
husthxd - by - 07 四月, 2006 08:40
侧重于算法方面,对于玩Oracle的人来说,想进一步深入了解Oracle优化的话,这本书很值得一看.
husthxd - by - 04 四月, 2006 14:41
今天在导数据的时候遇到Bug 3827736。
Oracle 10.1.0.2
Windows 2003 Server
查看全文
husthxd - by - 25 三月, 2006 21:02
平台:windows 2000 server
Oracle 9.2.0.4
使用了Windows的HA组件,在双机手工切换后打不开数据库,alert.log中出现
ORA-1113 signalled during: alter database open...错误.
查看全文
husthxd - by - 24 三月, 2006 22:05
下午RMAN备份出现问题,搞了半天结果是磁盘空间不够.
这几天头脑发懵,问题早就应该定位出来的:(
husthxd - by - 18 三月, 2006 22:53
执行过程出错:
ERROR 位于第 1 行:
ORA-04030: 在尝试分配 8204 字节 (PLS non-lib hp,PL/SQL STACK) 时进程内存不足
查看全文
husthxd - by - 18 三月, 2006 22:48
在执行一个存储过程的时候出现:
ORA-04030: 在尝试分配 123404 字节 (QERHJ hash-joi,kllcqas:kllsltba)
时进程内存不足
该错误从9i到10g一直都没有很好的解决.
查看全文
husthxd - by - 10 三月, 2006 20:04
平台:
os:Windows 2003 32bit
1G Memory 2xCPU
Oracle 10.1.0.2
查看全文
husthxd - by - 10 三月, 2006 19:59
Oracle冷备份恢复,打开数据库,用SQLPLUS连接数据库出现ORA-06553错误.
查看全文
husthxd - by - 06 三月, 2006 16:39
10.2.0.2 4458790 + ORA-6502 selecting MAX/MIN into a CHAR variable in PLSQL
查看全文
husthxd - by - 03 三月, 2006 17:11
记录数与EXIT WHEN <cursor>%NOTFOUND;的位置关系.
查看全文
husthxd - by - 02 三月, 2006 21:52
by Tom.
需求:现有表
create table t
(status varchar2(20) ,
teamid number(2),
job char(10)
)
/
要求status为ACTIVE的时候,teamid和job唯一.
查看全文
husthxd - by - 27 二月, 2006 17:57
如果在重命名表的时候出现ORA-26563: 不允许重命名此表错误,试着将表上的物化视图日志drop就可以了。
查看全文
husthxd - by - 21 二月, 2006 21:50
husthxd - by - 16 二月, 2006 15:16
husthxd - by - 17 十一月, 2005 11:31
husthxd - by - 10 十月, 2005 14:20
其实不管是sybase还是oracle,80%的性能问题出在sql上面.
查看全文
husthxd - by - 10 十月, 2005 08:58
in ('x)与in ('x','y')的性能差别很大.
查看全文
husthxd - by - 09 九月, 2005 13:17
husthxd - by - 26 八月, 2005 08:59
sybase的临时表可以直接在存储过程中创建.相对来说,还比较的
好用.
查看全文
husthxd - by - 14 八月, 2005 17:32
husthxd - by - 30 七月, 2005 11:43
在sqlplus中用pl/sql自动生成sql脚本.发现不少小问题.
查看全文
husthxd - by - 20 六月, 2005 15:41
Export: Release 9.2.0.1.0 - Production on 星期一 6月 20 15:24:15 2005
.............................................................................................................................
EXP-00056: 遇到 ORACLE 错误 19206
ORA-19206: Invalid value for query or REF CURSOR parameter
ORA-06512: at "SYS.DBMS_XMLGEN", line 83
ORA-06512: at "SYS.DBMS_METADATA", line 345
ORA-06512: at "SYS.DBMS_METADATA", line 410
ORA-06512: at "SYS.DBMS_METADATA", line 449
ORA-06512: at "SYS.DBMS_METADATA", line 1156
ORA-06512: at "SYS.DBMS_METADATA", line 1141
ORA-06512: at line 1
EXP-00000: 导出终止失败
查看全文
husthxd - by - 16 六月, 2005 22:13
husthxd - by - 09 六月, 2005 21:38
记得学数据结构的时候是用基于栈的的算法来解析计算公式.
现在又如何呢?
查看全文
husthxd - by - 31 五月, 2005 19:36
husthxd - by - 29 五月, 2005 15:22
os:red flag linux 64bit
db:oracle 10.1.0.3
查看全文
husthxd - by - 23 五月, 2005 21:49
SQL*Net允许dba通过调整两个参数SDU(Session Data Unit)和TDU(Transmission Data Unit )在packet大小上进行网络传输控制。
这些参数会控制会话层和传输层的buffers。
查看全文
husthxd - by - 11 五月, 2005 22:56
husthxd - by - 11 五月, 2005 22:40
下午帮其他部门调优数据库.
主机:hp的安腾服务器
os : red flag linux dc server 4.1
oracle 10.1.0.3
查看全文
husthxd - by - 29 四月, 2005 12:57
一些脚本,希望对beginner有所帮助.
查看全文
husthxd - by - 27 四月, 2005 19:47
unix平台下使用top
windows平台下可以通过实用工具pstat.exe
获取相应进程/线程的pid.
查看全文
husthxd - by - 27 四月, 2005 14:36
How oracle server determine about the changed blocks (dirty blocks) after a checkpoint event by
which the DBWR writes dirty buffers in data files and still user do not commit the transaction or rollback.
查看全文
husthxd - by - 19 四月, 2005 15:33
本文解析了NLS参数在C/S模式下的作用顺序。
可以在数据库、实例和会话级别上设置NLS参数。
如果在多个级别上均设置了NLS参数:
1.NLS数据库参数优先级低于NLS实例参数
2.NLS数据库和实例参数优先级低于NLS会话参数
比如,在init.ora中设置了参数NLS_NUMERIC_CHARACTERS(point B),并且在客户端环境变量(point A)中也有设置,那么会话级的参数值会覆盖实例级的参数值。
查看全文
husthxd - by - 18 四月, 2005 18:37
在需要drop的列上设置unused然后使用checkpoint选项drop column.
查看全文
husthxd - by - 14 四月, 2005 11:36
数据库sybase 11.9.2
windows 2000 sp3
查询一个表的时候把整个数据库都搞垮了.
查看全文