Index operation log Problems

Source: Internet
Author: User

Some complete log records and large-scale index operations can generate large data loads. Whether performed offline or online, these data loads can quickly fill up transaction logs. This may affect performance. By setting the database recovery mode to large-capacity log mode or simple mode during the duration of index operations, you can minimize the log records of these index operations. The minimum log record is more effective than the full log record, and can reduce the possibility of index operations filling up the log space.

Index operation log records

The following table lists the types of log records available for index operations and each of these operations in database recovery mode. Both online and offline index operations support these recovery modes.

Index operations Complete Large-capacity logs Simple

Alter index reorganize

Full record

Full record

Full record

Alter index rebuild

Full record

Least recorded

Least recorded

Create Index

Full record

Least recorded

Least recorded

DBCC indexdefrag

Full record

Full record

Full record

DBCC dbreindex

Full record

Least recorded

Least recorded

Drop Index

The release of the index page is a complete log record, and the re-generation (if applicable) of the new heap is a complete log record.

The release of the index page will be fully recorded; the regeneration of the new heap will be recorded in the minimal way (if applicable ).

The release of the index page will be fully recorded; the regeneration of the new heap will be recorded in the minimal way (if applicable ).

For more information, see .

Related Article

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.