Skip to Content

How to shrink or reorganize the table in HANA.

Dear Experts,

After removing most of the records from the table, I need to release HWM.

What tools in HANA can do it?

For example, in oracle I can use reorganization via brtools or use command "ALTER TABLE <table_name> SHRINK SPACE [COMPACT] [CASCADE];"

Thanks for your attention, I look forward to your comments.

Best Regards

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Dec 03, 2015 at 02:12 PM


    for row store you have to follow the

    1813245 - SAP HANA DB Row store reorganization

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Davide Bruno

      It's like for all DDL statements: They acquire a table lock and open changes can be escalated to table level locks while the DDL statement is waiting until the open changes are finished. Setting the lock timeout to a small value for the executing transaction can reduce the impact:


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.