Question : Sybase sp_helpdb and sysusages show incorect space usage

Hi,

Sybase sp_helpdb shows  for 'data only' that 'free kbytes' is almost the same as the size,  So, it seems that the database does not have any data.  But we do know that it has data  because many tables returned xxx rows.    Sysusages also shows the unreservedpgs is the same as  the size.  

How can we correct this?    This has been in this state for several days already and the backup that we have probably also has this and I prefer to just correct (if possible), instead of reloading backup.

We have ASE 12.5.2.

Thanks.
Maria

Answer : Sybase sp_helpdb and sysusages show incorect space usage

Try running dbcc checkalloc (dbname, full, fix), that will usually correct these values.
Random Solutions  
 
programming4us programming4us