Home  >  Article  >  Database  >  <<oracle database 11gR2 性能调整与优化 >&g

<<oracle database 11gR2 性能调整与优化 >&g

WBOY
WBOYOriginal
2016-06-07 15:33:161247browse

11g的新特性:高级压缩。 可以在create table时指定压缩的设置: nocompress compress--适用于数据仓库。只在直接路径插入时启用压缩 compress for direct_load operations:同上 compress for all operations--适合oltp。所有操作(包括dml语句都启用压缩)。

11g的新特性:高级压缩。
可以在create table时指定压缩的设置:
nocompress
compress--适用于数据仓库。只在直接路径插入时启用压缩
compress for direct_load operations:同上
compress for all operations--适合oltp。所有操作(包括dml语句都启用压缩)。此时, compatible参数需要设置为11.1.0或者更高
compress for oltp--适合oltp。所有操作(包括dml语句都启用压缩)。此时, compatible参数需要设置为11.1.0或者更高。

                   在11.2中已经取代compress for all operations语法,但是compress for all operations依然有效。


值得注意的是:

压缩的优势在于

1。只需要很少的物理块读操作就可以完成全表扫描。

2. 压缩的数据块使更多的数据可以存储在sga中,这样可以潜在的节省高速缓冲区(db_cache_size)


注:我个人理解:高级压缩对oltp应该作用不是很大,或者说没有副作用就不错了。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn