January 12, 2015 at 7:31 am
I have just ran the following command
USE master;
GO
ALTER DATABASE Staging
MODIFY FILE
(NAME = Staging,
SIZE = 20000MB);
GO
Why would the database have increased to 28000MB ?
January 12, 2015 at 7:34 am
What's the size of the transaction log?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 12, 2015 at 7:49 am
any other files ( besides the log file, as Gail suggested ) ?
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
January 12, 2015 at 10:09 am
8000MB
How does that logic work then ?
January 12, 2015 at 11:45 pm
simple: total db size = data file size + log file size ;
20GB + 8GB = 28GB
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
January 13, 2015 at 1:41 am
paul.farnell (1/12/2015)
8000MBHow does that logic work then ?
The size of a database is the sum of the size of all data and log files it has.
One data file of 20 GB
One log file of 8GB
Therefore database size is 28GB
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply