|
# 42894
ghb
|
|
|
To:
set termspool off 问题
oracle 9.2.0.4
在sqlplus 中使用spool user.txt 将查询到的结果保存到user.txt中,但不想将结果输出到屏幕。
sqlplus>set termspool off
SP2-0158: unknown SET option "termspool"
报错
sqlplus>set termout off
还是会将结果输出到屏幕。
有知道的朋友说一下吧,谢谢..
From: ghb 2007.05.30 16:05
|
|
|
|
|
# 42893
Chi
来自: Mexico
|
|
|
To: Eygle
This is the following of my previous post about the frequent redo log switching. My current redo log size is 50 MB each.You noticed that those switchings only occurred in the early morning around 8 am when users report to work.After that hour, the switching is back to normal, every 2 hours.I am pretty sure that our user just log into BAAN system ( which is linked to Oracle), not run any process on Oracle yet.That puzzled me, what caused the oracle to run so many redo log switchings, while during the real business hour (9 am ~ 5 pm), it does not.Some user (in oracle forum) said that as long as there is no "CHECKPOINT NOT COMPLETE" in alert log, I should not worry; or to increase the FAST_START_MTTR_TARGET.
From: Chi 2007.05.29 23:26
|
|
|
|
|
To: Chi
1.对于大量的日志,可以通过LOGMNR去分析一下
2.对于频繁的log switch
是否需要调整,那要酌情而定
FAST_START_MTTR_TARGET 仅是一个Target,你不能指望这个参数在系统繁忙或异常时还能给你保证
再者,LOG SWITCH本身就是有消耗的,在LOG Switch阶段,LOG Generate是完全禁止的,而且频繁的switch不可避免的引发IO竞争
这只是一个判断问题。
From: eygle 2007.05.30 16:14
|
|
|
|
|
# 42885
Ch
来自: Mexico
|
|
|
To: Eygle
In your article: oracle_hotbackup_redo.html, You mentioned that "如果数据库块大小等于操作系统块大小,则可以设置该参数 ( _log_blocks_during_backup ) 为False,减少热备期间数据库的负担.What do you mean "数据库块大小等于操作系统块大小"? Does the DB needs to restart after alter this parameter?
From: Ch 2007.05.29 05:48
|
|
|
|
|
To: Ch
这只是说明该参数和系统的关系;实际上"数据库块大小等于操作系统块大小"基本上是不存在的,所以也不必考虑。
这句话的意思是说,如果""数据库块大小等于操作系统块大小",那么就不会有分裂块的出现,也就不必设置log_blocks_during_backup
From: eygle 2007.05.29 09:01
|
|
|
|
|