Is anyone knows How to change available size in the database?

  • Is anyone knows How to change available size in the database? I have 0% after db was shrinked. How much % I change to?

  • Depends. How big is your database? How fast does it grow?

    You shouldn't ever shrink a database. By doing so you've fragmented all of your indexes. I would strongly suggest you rebuild them all asap.

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • How you do that?

  • This is a cross posting - it appears under "Development" as well but with a little less information.

    In addition to GilaMonsters advice can you:

    I can only assume that when your DB was created autogrowth (If memory serves me correctly Autogrowth enabled is the default for a new DB) was not selected or have you not checked that DB property? To do so in SSMS right click on the DB in question, in the menu that appears select Properties, in the left pane of the properties window select Files, and look at the autogrowth column. Post your results to allow someone to assist you further

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • yulichka (11/20/2008)


    How you do that?

    How do you do what? Rebuild indexes?

    Look up ALTER INDEX in books online.

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • if you're uncomfortable with T-SQL you can via management studio drill down through tables to the index level and right click then select rebuild all

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • Thank you This is 2000 and there is no option for that.

  • yulichka (11/20/2008)


    Thank you This is 2000 and there is no option for that.

    What do you expect? You posted your problem in a SQL Server 2005 forum, you are going to get a SQL Server 2005 answer.

  • Thank you::D

  • yulichka (11/20/2008)


    Thank you This is 2000 and there is no option for that.

    Then read up on DBCC DBREINDEX

    Please post in the correct forum from now on.

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic. Login to reply