& Lt; oracledatabase11gR2 performance adjustment and optimization & gt; & g

Source: Internet
Author: User
New Feature of 11g: advanced compression. You can specify the compression setting when createtable: nocompresscompress -- applicable to data warehouses. Enable compressfordirect_loadoperations only when inserting directly: Same as compressforalloperations -- applicable to oltp. All operations (including dml statements enable compression ).

New Feature of 11g: advanced compression. You can specify the compression setting when creating table: nocompress compress -- applicable to data warehouses. Enable compress for direct_load operations only when inserting directly: Same as compress for all operations -- applicable to oltp. All operations (including dml statements enable compression ).

New Feature of 11g: advanced compression.
You can specify the compression settings when creating table:
Nocompress
Compress -- applicable to data warehouses. Enable compression only when the direct path is inserted
Compress for direct_load operations: Same as above
Compress for all operations -- applicable to oltp. All operations (including dml statements enable compression ). In this case, the compatible parameter must be set to 11.1.0 or later.
Compress for oltp-applicable to oltp. All operations (including dml statements enable compression ). In this case, the compatible parameter must be set to 11.1.0 or later.

The compress for all operations syntax has been replaced in 11.2, but the compress for all operations still works.


It is worth noting that:

The advantage of compression is that

1. A full table scan can be completed with only a few physical block read operations.

2. the compressed data blocks allow more data to be stored in sga, which can potentially save high-speed buffer (db_cache_size)


Note: I personally understand that advanced compression does not play a major role in oltp, or it does not have any side effects.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.