Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8645469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:33:34+00:00 2026-06-12T12:33:34+00:00

What causes a DB or log files Initial Size setting to change? For example,

  • 0

What causes a DB or log files “Initial Size” setting to change? For example, we are trying to shrink a too-large transaction log. We noticed that the “Initial Size” is much larger than is necessary. We can set it lower, but it ends up at the higher value again. Is that the AutoGrowth setting doing that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T12:33:36+00:00Added an answer on June 12, 2026 at 12:33 pm

    The “Initial Size” information actually uses a very misleading header. That should be “Current File Size (MB)” to be more accurate.

    Try this:

    Choose a database and check the current sizes of the files. Compare that to what you see in the GUI, they should be the same

    SELECT file_id, name, physical_name, (size * 8 /1024.0) AS SizeMB FROM sys.database_files
    

    Now increase the file size (I’m using a test database called DBAdmin here)

    ALTER DATABASE DBAdmin MODIFY FILE (NAME = dbadmin, SIZE = 1GB)
    

    Run the first query and you’ll see that the SizeMB now reflects that new value, as will the “Initial Size” in the GUI.

    Now shrink that file

    DBCC SHRINKFILE(1, 500)
    

    And again look at the values from the query and the GUI, you’ll see that they are back at 500MB.

    This introduces the question around your transaction log. Are you in simple recovery or full? If in full then increase the frequency of your log backups to help keep the transaction log under control. If in simple recovery then size the transaction log accordingly, do not perform shrink operations on it as it will just need to grow again should the same criteria be met, and the growth portion will introduce a performance hit against your database.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been told that defragging causes the log to grow tremendously. Is this true?
I am working on a project that allows users to view log files of
We have an asynchronous WCF service operation that gets log files from all of
I've been tasked with converting some text log files from a test reporting tool
When using Magentos log facility Mage::log() it sometimes causes a white screen. No error
I'm subclassing FileHandler to write a handler that produces correct xml files (meaning, not
I have a thread in a Java web application that causes a java.lang.OutOfMemoryError: Java
I have to parse a big bunch of log files, which are in the
i want to derive from std::exception to add specific information to my log files,
I have a google-maps mashup that worked fairly well with small test files -

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.