data and log file space reaches the maximum size of the database , that we allocated

Last post 05-19-2008 7:56 AM by moh_hassan20. 5 replies.
Page 1 of 1 (6 items)
Active Topics My Discussions Unanswered Sort Posts: Previous Next
  • 05-16-2008 9:30 AM

    data and log file space reaches the maximum size of the database , that we allocated

    suppose we allocated 4 GB to a database and 3.5 GB is given to datafile and .5 GB is given to log file...and due to the increase in the database size we end up being eaten up all the space and only 1 mb is remaing left over in the allocated space that we can increase the database data file size to be...in this scenario how can we handle the situation...and also the total is 5 GB on the drive where the data file resides in the server...

     both for sql 2005 and sql2000

    please help me out with this situation...

  • 05-16-2008 12:46 PM In reply to

    • gbd77rc
    • Not Ranked
    • Joined on 04-27-2005
    • San Francisco
    • Posts 13

    Re: data and log file space reaches the maximum size of the database , that we allocated

    Hi

    I take it you have either switched off the autogrowth for both data and log, or missed this feature when creating the database.  Anyway at any time you can change the size  of the data and log files manually.  Failing that you can add new data/log files to the database.  These data/log files can even be on another hard disk on the same server, as long as they are installed in the same file group you should not have to change any of the existing schema.

    Regards

    Richard...

  • 05-16-2008 1:47 PM In reply to

    Re: data and log file space reaches the maximum size of the database , that we allocated

    You have to get more disk or move data file to other disk.

    Luis Martin
    Moderator
    SQL-Server-Performance.com

    When the power of love overcomes the love of the power, the world will know peace.

    J. Hendrix


    All postings are provided “AS IS” with no warranties for accuracy.
  • 05-19-2008 2:23 AM In reply to

    Re: data and log file space reaches the maximum size of the database , that we allocated

    Hi,

    You have to analyse and foresee the growth of the database for the next 5 years (atleast) and based on that you have to keep hard disk space available for database.  When you configure database growth option its always recommended that you set it for fix mb refer http://www.extremeexperts.com/SQL/Articles/AutoGrowth.aspx

    Coming to the growth of the T-Log file, here is a link you can refer http://technet.microsoft.com/en-us/library/ms365418.aspx and http://hemantgirisgoswami.blogspot.com/2006/03/cause-for-t-log-become-full-and-how-to.html

    hth

     

    Hemantgiri S. Goswami | MS SQL Server MVP
    -------------------------
    "Humans don't have Caliber to PASS TIME , Time it self Pass or Fail Humans" - by Hemantgiri S. Goswami

    http://hemantgirisgoswami.blogspot.com
    http://forums.surat-user-group.org/

    View Hemantgiri S. Goswami's profile on LinkedIn

    Disclaimer: This post is provided as is, for the sake of knowledge sharing only.
  • 05-19-2008 2:40 AM In reply to

    • satya
    • Top 10 Contributor
    • Joined on 11-05-2002
    • United Kingdom
    • Posts 22,567
    • Microsoft MVP
      Moderator

    Re: data and log file space reaches the maximum size of the database , that we allocated

    -Satya S K J

    SQL Server MVP



    Knowledge is Power, you will gain by sharing it. SSQA.net - Invisible contributions to the users & visible success in SQL Community.
  • 05-19-2008 7:56 AM In reply to

    Re: data and log file space reaches the maximum size of the database , that we allocated

     Also, take into account autogrow of tempdb database.

    Although it is initialized at startup of the server , it may reach large size (or out of space), based on the activities on your server.

    You must add extra storage for your server , move log file to other storage. 

    MCSE , MCITP (SQL 2005 Administration & Development), MCTS, MCPD
Page 1 of 1 (6 items)
Active Topics   My Discussions    Unanswered Posts


© 2000 - 2007 vDerivatives Limited All Rights Reserved.