Skip to Content
author's profile photo Former Member
Former Member

DATA Volume Size

Hi,

Can i shrink the size of data volume,suppose DB has 3 volumes of 10G each i want o shrink size of volume to 5G & fill level in each volume is only 2 G , is it possible.

I'm on 7.6 build 35. If we delete volume instead of shrinking what happens to data in that volume.

Please let me know. Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jun 03, 2009 at 06:59 PM

    > Can i shrink the size of data volume,suppose DB has 3 volumes of 10G each i want o shrink size of volume to 5G & fill level in each volume is only 2 G , is it possible.

    No

    > I'm on 7.6 build 35. If we delete volume instead of shrinking what happens to data in that volume.

    The data will be moved to the other volumes.

    I highly suggest updating your database to a recent service pack and build (7.6.00.35 is VERY old).

    Markus

    Add a comment
    10|10000 characters needed characters exceeded

    • >

      > can i use database copy to delete volumes, how can i specify(reduce) the no. of volumes on DB during recovery.

      Ok, "database copy" is not really a functionality of the MaxDB tools.

      Instead, for such a database copy we use the backup/restore functions.

      Since we backup pages and not volumes or files you can restore backups into databases with a totally different volume file layout.

      As long as the total data area is large enough to contain all backup data (+the converter data) the restore will work.

      So it's important to remember that the volume layout is not something that is setup or changed by the restore.

      Therefore you have to change the volume layout before you restore the database.

      If you create a new instance as a target for the restore, you can just do it while creating the instance.

      If you want to reuse an existing instance, you need to reconfigure the instance.

      In DBMGUI you can do this via "Instance -> Initialize".

      Note: this is not the "Recovery with Initialisation" but a totally different function.

      Anyhow, if you just want to change your current data volume setup and don't want to have a downtime - simply follow the approach Markus described.

      It's used quite often even and especially for big systems (e.g. from SAP Hosting).

      > Which method is risk free.

      None of the methods available or discussed here are risky - they are all safe and you won't loose any data by using them.

      regards,

      Lars

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.