ITPUB个人空间 »
whiterain的个人空间
欢迎访问 whiterain 的个人空间
我的论坛主题
-
2008-07-09 11:20:51 / Oracle数据库管理
环境 hpux 11。23oracle 9206mc的环境由于业务限制,我每天需要增加一个分区,删除一个分区,分区表是按照时间来划分的。我删除了一个分区表的其中的一个分区,导致表不能插入,然后rebuild index搞定但是在删除分区和rebuild index这段时间的交易失败,请问大家有什么好办法解决这个问题?表中有一个主键,是个sequence,默认就是全局索引。我想过了,局部索引也解决不了这个问题。现在我不drop分区了,改成truncate分区了,暂时解决了这个问题,大家有没有更好的方法???
查看(574)
评论(21)
-
2008-06-13 17:45:39 / Oracle数据库管理
$SCUP01:/oracle/admin/SCSITDB1/udump>rm *$SCUP01:/oracle/admin/SCSITDB1/udump>lltotal 0$SCUP01:/oracle/admin/SCSITDB1/udump>sqlplus "/ as sysdba";SQL*Plus: Release 9.2.0.6.0 - Production on Fri Jun 13 17:28:15 2008Copyright (c) 1982, 2002, Oracle Corporation.All rights reserved.Connected to:Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit ProductionWith the Partitioning, OLAP and Oracle Data Mining optionsJServer Release 9.2.0.6.0 - ProductionSQL>select
查看(403)
评论(9)
-
2008-06-12 12:03:14 / Oracle数据库管理
A db file scattered read event occurs when the memory receiving the contentsof a disk read is not guaranteed to be contiguous. The Oracle kernelcould have been designed to spend more time finding a group of contiguous freebuffers that could be filled with a read(). Doing it this way would have provided anet benefit only if the additional time consumed were offset by a sufficient speedadvantage of read() over readv(). The cost of searching for contiguous buffersprobably overwhelmed
查看(210)
评论(2)
-
2008-06-11 17:02:52 / Oracle数据库管理
大家好:我在考虑一个问题,如果我的db_file_multiblock_read_count(MBRC),设置了16,我想做个全表扫描,如果buffer中没数据(flush过),这个时候用scattered read 还是sequential read ?? 为什么? 我看到eygle的一个文章是这样说的:当数据库进行全表扫时,基于性能的考虑,数据会分散(scattered)读入Buffer Cache。如果这个等待事件比较显著,可能说明对于某些全表扫描的表,没有创建索引或者没有创建合适的索引,我们可能需要检查这些数据表已确定是否进行了正确的设置。假如我要读取16个block,分别隔一个在
查看(194)
评论(1)
-
2008-06-11 17:02:29 / Oracle数据库管理
大家好:我在考虑一个问题,如果我的db_file_multiblock_read_count(MBRC),设置了16,我想做个全表扫描,如果buffer中没数据(flush过),这个时候用scattered read 还是sequential read ?? 为什么? 我看到eygle的一个文章是这样说的:当数据库进行全表扫时,基于性能的考虑,数据会分散(scattered)读入Buffer Cache。如果这个等待事件比较显著,可能说明对于某些全表扫描的表,没有创建索引或者没有创建合适的索引,我们可能需要检查这些数据表已确定是否进行了正确的设置。假如我要读取16个block,分别隔一个在
查看(598)
评论(23)
-
2008-06-11 10:53:17 / Oracle数据库管理
奇怪的问题,alert中没有undo segmet offline的信息,为什么trc中会有这个信息,那位能给解释下?/$SCUP01/oracle/admin/SCDB/bdump> lltotal 192-rw-rw-r--1 oracledba16699 Jun 11 09:58 alert_SCDB.log-rw-rw-r--1 oracledba71280 Jun4 05:25 alert_SCDB.log.0604-rw-rw----1 oracledba554 Jun 10 21:41 scdb_smon_24821.trc$SCUP01/oracle/admin/SCDB/bdump>more *.trc/oracle/admin/SCDB/bdump/scdb_smon_24821.trcOracle9i Enterprise Edition Relea
查看(191)
评论(5)
-
2008-06-10 11:33:26 / Oracle数据库管理
os hpux 11。23oracle 9206下面这段alert的日志对应的是udump对应的那个trc的文件:Current log# 3 seq# 1253 mem# 0: /oraclelog/onlinelog/SCDB/redo03.logThu Jun5 13:55:06 2008ARC1: Beginning to archive log 5 thread 1 sequence 1252 Creating archive destination LOG_ARCHIVE_DEST_1: '/oraclelog/archlog/1_1252.log'ARC1: Completed archivinglog 5 thread 1 sequence 1252 Thu Jun5 15:50:33 2008 Errors in file /oracle/admin/SCDB/udump/scdb_ora_8861.trc:ORA-07445: exception encountered:
查看(239)
评论(6)
-
2008-06-03 17:36:55 / Oracle数据库管理
在alert中发现有如下日志:(数据库表明看起来没有异常)ARC1: Unable to archive log 5 thread 1 sequence 1232Log actively being archived by another process Mon Jun2 15:12:49 2008ARCH: Completed archivinglog 5 thread 1 sequence 1232 Mon Jun2 15:12:53 2008 Errors in file /oracle/admin/SCDB/udump/scdb_ora_26120.trc:ORA-27037: unable to obtain file statusHPUX-ia64 Error: 2: No such file or directory Additional information: 4 Mon Jun2 15:12:53 2008 Errors in file /oracle/admin/
查看(510)
评论(10)
-
2008-06-02 10:35:10 / IBM数据库产品
rt,谢谢,想了解下informix
查看(526)
评论(4)
-
2008-05-29 13:41:24 / Oracle数据库管理
Question 21Your database operates in ARCHIVELOG mode. User-managed consistent backups are performed every Sunday night.On Tuesday, client A drops a table at 8:00 a.m. as follows:SQL>DROP TABLE cust_ord PURGE;Table dropped.Client B executes a query at 9:00 a.m. on the same table as follows:SQL>SELECT * FROM cust_ord;SELECT * FROM cust_ord;*ERROR at line 1:ORA-00942: table or view does not existClient B needs the dropped table and reports the problem to you.With refe
查看(317)
评论(10)