- 最后登录
- 2013-11-14
- 在线时间
- 104 小时
- 威望
- 999
- 金钱
- 271
- 注册时间
- 2013-1-9
- 阅读权限
- 70
- 帖子
- 63
- 精华
- 0
- 积分
- 999
- UID
- 855
|
3#
发表于 2013-2-24 13:35:14
简单补充一下,数据库的这个autoextend特性可以在tablespace空间紧张时,使数据文件自动扩展,从而解燃眉之急。所以数据库会自己扩展,无需人工干预,当然也无需再设置其他阀值了。当然能扩展到什么程度,受到参数Maxsize的限制。
正如Maclean所说,生产库上一定要有capacity/space监控。不管使用没有使用autoextend,或者部分使用,这样可以做到心中有数。
下面的信息可以参考:
Autoextend Tablespace
You can set a tablespace to automatically extend itself by a specified amount when it reaches its size limit. If you do not enable autoextend, then you are alerted when the tablespace reaches its critical or warning threshold size. The critical and warning threshold parameters have default values that you can change at any time. These parameters also cause alerts to be generated for autoextending tablespaces that are approaching their specified size limit. You can respond to size alerts by manually increasing the tablespace size. You do so by increasing the size of one or more of the tablespace data files or by adding another data file to the tablespace.
Note:
Although it is common to refer to tablespaces as autoextending, automatic extension is a data file property, not a tablespace property. That is, when you create the data files that comprise a tablespace, you indicate whether these data files automatically extend. A tablespace that has autoextending data files is considered to be an autoextending tablespace. You can specify a maximum size for an autoextending data file.
http://docs.oracle.com/cd/E11882_01/server.112/e10897/storage.htm#ADMQS12057
Changing Space Usage Alert Thresholds for a Tablespace
http://docs.oracle.com/cd/E11882_01/server.112/e10897/storage.htm#ADMQS12069
http://www.databasejournal.com/features/oracle/autoextend-oracle-database-file-sizes.html
|
|