Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to deal with high water level simply by ORACLE

Shulou Source: shulou.com Published: 2022-06-01 03:46:58 10月02日 Update

This article introduces you how to simply deal with high water level by ORACLE. The content is very detailed. Interested friends can use it for reference. I hope it will be helpful to you.

-- Table shrinkage (defragmentation) rather than table compression. The difference between SHRINK and MOVE is that MOVE can lower the high water level, SHRINK can lower the high water level or not, MOVE can operate on tables, and SHRINK can operate on both tables and indexes.

SQL > ALTER TABLE trans SHRINK SPACE-shrink the table (defragment), lower the high water level, eliminate row migration and row links, and free up space for the application

SQL > ALTER TABLE trans SHRINK SPACE COMPACT-shrink the table (defragment), do not lower the high water level, eliminate row migration and row links, and do not free up applied space

SQL > ALTER TABLE trans SHRINK SPACE CASCADE-shrink the table and its index (defragment), lower the high water level, and free up the space applied for

SQL > alter table move-shrinks the table (defragmenting), lowers the high water level, eliminates row migration and row links, and does not free up applied space

On how to simply deal with ORACLE high water level to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Water level fragmentation shrinkage space links migration processing content more index help good interest guys buddies articles knowledge articles references Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple macOS Shulou Tech Info Shulou Information Docker