niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Sybase
Unused space
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Hoosbruin
*nix forums beginner


Joined: 21 Oct 2005
Posts: 2

PostPosted: Wed Jul 19, 2006 12:46 am    Post subject: Unused space Reply with quote

I recently added another data device 200mb

disk init name="disk_dev_4", physname="<SYBASE_ROOT>\data\disk_dev_4" ,
vdevno=4,size=102400;

alter database dbmods on disk_dev_4=200;


I can see the space was increased with sp_spacesused db size increased but
why don't I see a greater unused column. The database was only 75mb before.


Is there some other command the will show me the this ?


Thanks
Back to top
Michael Peppler
*nix forums Guru Wannabe


Joined: 15 May 2005
Posts: 112

PostPosted: Wed Jul 19, 2006 5:01 pm    Post subject: Re: Unused space Reply with quote

On Tue, 18 Jul 2006 20:46:58 -0400, Hoosbruin wrote:

Quote:
I recently added another data device 200mb

disk init name="disk_dev_4", physname="<SYBASE_ROOT>\data\disk_dev_4" ,
vdevno=4,size=102400;

alter database dbmods on disk_dev_4=200;


I can see the space was increased with sp_spacesused db size increased
but
why don't I see a greater unused column. The database was only 75mb
before.

The unused space shown by sp_spaceused is the space that has been
allocated to tables or indexes, but is not yet used. It is NOT the amount
of free space in the database.

To see the amount of free space you can use sp_helpdb <dbname>

Michael
--
Michael Peppler [TeamSybase] mpeppler@peppler.org - http://www.peppler.org/
Sybase DBA/Developer
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Thu Nov 20, 2008 7:53 pm | All times are GMT
navigation Forum index » Databases » Sybase
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts FAQ 4.32 How do I strip blank space from the beginning/en... PerlFAQ Server Perl 0 Fri Jul 21, 2006 1:03 pm
No new posts strange user-space hangs Dan Miller system 2 Thu Jul 20, 2006 12:07 am
No new posts how to add a space after first word ina s entence sudip05@mailcity.com Perl 2 Tue Jul 18, 2006 11:12 am
No new posts where to find the complete solution for multiple user spa... Binary apps 2 Mon Jul 17, 2006 11:15 am
No new posts 0 disk space, wdm fails to let me in, weird business bjclark@gettys.digitalweb Debian 0 Sat Jul 15, 2006 9:10 pm

Reptile Tank | Cheap Loan | Salvage cars | Internet Advertising | Credit Cards
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1203s ][ Queries: 16 (0.0475s) ][ GZIP on - Debug on ]