oracle trace 文件名,限制oracle trace 文件大小
限制oracle trace 文件大小
2007-10-10 17:34:55|??分類:?oracle?|??標簽:|字號
max_dump_file_size參數(shù)在oracle數(shù)據(jù)庫中用來限制 oracle trace 文件大小
max_dump_file_size 的單位是 操作系統(tǒng)塊? 默認值為? UNLIMITED
在有些時候,oracle會產(chǎn)生大量的trc文件,如果不加以限制,可能會導致磁盤空間很快耗盡,導致數(shù)據(jù)庫掛起,所以適當?shù)南拗苩rc文件大小,是非常必要的。
SQL> show parameter max_dump_file_size
NAME???????????????????????????????? TYPE??????? VALUE
------------------------------------ ----------- ------------------------------
max_dump_file_size?????????????????? string????? 100000
SQL> alter system set max_dump_file_size=2000;
System altered.
SQL>
也可以這樣設置 其大小:
alter system set max_dump_file_size='1M';
alter system set max_dump_file_size='1k';
--oracle doc :
MAX_DUMP_FILE_SIZE? Property Description
Parameter type String
Syntax MAX_DUMP_FILE_SIZE = { integer [K | M] | UNLIMITED }
Default value UNLIMITED
Modifiable ALTER SESSION, ALTER SYSTEM
Range of values 0 to unlimited, or UNLIMITED
Basic No
MAX_DUMP_FILE_SIZE specifies the maximum size of trace files (excluding the alert file). Change this limit if you are concerned that trace files may use too much space.
A numerical value for MAX_DUMP_FILE_SIZE specifies the maximum size in operating system blocks.
A number followed by a K or M suffix specifies the file size in kilobytes or megabytes.
The special value string UNLIMITED means that there is no upper limit on trace file size. Thus, dump files can be as large as the operating system permits.
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎總結
以上是生活随笔為你收集整理的oracle trace 文件名,限制oracle trace 文件大小的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ctsysvol.exe是什么进程 有危
- 下一篇: 国开大学计算机应用基础作业二,国家开放大