日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

oracle trace 文件名,限制oracle trace 文件大小

發(fā)布時間:2023/12/10 编程问答 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 oracle trace 文件名,限制oracle trace 文件大小 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

限制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)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。