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

Sybase- Reclaim unused space from database

Good day everyone,

I am new to Sybase and have a question for the experts.

I created a new Netweaver system using hetrogeneous system copy method. During the installation, I provided the number of data devices and their respective sizes. I opted for 8 data devices with 120 GB each.

After the installation, I realized that the total database size is about 180GB and is not expected to grow much in future.

I now want to reclaim the extra space allocated to the database and eventually want to keep it around 300 GB.

What is the procedure to achieve this?? Is it possible for me to reduce the number of data devices from current 8 to 2 or 3 (say 150GB each)?

It will be great, if someone can provide detailed instructions to achieve this.

Please Note:- Sybase ASE version is 15.7.100

Thank you in advance.

TK

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Oct 17, 2013 at 05:52 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 19, 2013 at 12:12 PM

    Hi TK

    Any sybase device may be dropped / unallocated from the sybase server if no part of it has been allocated to a database. If you log in via isql you should be able to see device details with sp_helpdevice.

    How you proceed will depend on how the "hetrogeneous system copy method" has made allocations of space to the devices you specified.

    -John

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2014 at 01:22 PM

    In Sybase ASE once you allocate device space to a database, you can't claim that space back. The only way to get disk space back is to drop the database, and the associated data devices.

    If it were me, I'd be investigating doing this via a redirected restore to a new device and then dropping the original database and device.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2014 at 01:37 PM

    I was just coming back here to update that!

    SyBooks Online

    Add a comment
    10|10000 characters needed characters exceeded

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.