I created a database with initial 10MBs and incremental is 10MB for SQL7 databse LOG file. Then the log file grows to 490MB. I just truncated the log file and now the space available for database is more than 350MB.
What I want to do is to keep the log file within 150MB. My questions are:
(1) How to set the max for the existing Database (I know I can set the max for the growth of log file during database creation, but how after it is created?)
(2) In this case, the max (150MB) is less than the existing allocated space (490MB). Can I do that and what's the impact?
(3) I tried to shrink the database but it doesn't make the database size any smaller. Why and how to make database size smaller?
Thanks a million.
What I want to do is to keep the log file within 150MB. My questions are:
(1) How to set the max for the existing Database (I know I can set the max for the growth of log file during database creation, but how after it is created?)
(2) In this case, the max (150MB) is less than the existing allocated space (490MB). Can I do that and what's the impact?
(3) I tried to shrink the database but it doesn't make the database size any smaller. Why and how to make database size smaller?
Thanks a million.