Results 1 to 7 of 7

Thread: sql reporting no space available

  1. #1
    Join Date
    Sep 2002
    Posts
    16

    sql reporting no space available

    When right clicking on several of our databases and choosing properties the value "space available" shows 0.00. When the data file and drive have tons of space. This is affecting a third party tool we use to monitor the databases resulting in a lot of incorrect warnings going out. Does anyone know how to "adjust" sql to report the correct space available?

  2. #2
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254

  3. #3
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    try "sp_spaceused" on a database and see what it shows.

    if it shows in negative then you have to run

    "dbcc updateusage" - Reports and corrects inaccuracies in the sysindexes table

  4. #4
    Join Date
    Sep 2002
    Posts
    16

    sql version

    No, all of the effected servers are 2000 with sp3. I have seen the same thing on 5 or 6 servers with multiple databases effected on each. The databases are set to unrestricted growth, show 200 - 2000 mb free. The drives have several gigs free.

  5. #5
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    It will expand automatically. it is just space available on the allocated on the .mdf and .ldf file.

  6. #6
    Join Date
    Sep 2002
    Posts
    16

    Talking dbcc updateusage

    Thanks this worked!

  7. #7
    Join Date
    Sep 2002
    Posts
    5,938
    Another way is 'sp_spaceused @updateusage = true'.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •