Is there are way to shrink sybase database to reclaim physical space at OS?
We have a database with 15GB freespace, we want to shirnk it and reduce device size so the physical space can be recliamed at the OS level also. Is it possible?

Software/Hardware used:
Sybase
ASKED: November 24, 2010  9:59 AM
UPDATED: November 24, 2010  2:36 PM

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

You can shrink the database in sybase by deleting old records or truncating tables which are not used.

 22,035 pts.

 

Thanks for the update, however deletion and truncation will not shrink the database.

How can we reduce the total database size and device size? For example in SQL Server we have DBCC SHRINKDATABASE command to physically shrink database. In Oracle we can alter the datafile to a smaller size. Similary In Sybase how can we achieve this?