Results 1 to 10 of 10
  1. #1
    Join Date
    May 2008
    Posts
    97

    Unanswered: DB is 100 GB but Empty

    I have an MS SQL database that appears to have all the data in it but when I do a check on the tables they are all "0 Mb". How can this be? Is my table data being hidden?

    Please help me investigate

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    How are you checking the size of the tables?
    George
    Home | Blog

  3. #3
    Join Date
    May 2008
    Posts
    97
    Right click the database and properties. I see no transaction logs either.

  4. #4
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    What level of permissions do you have on this server/database?
    George
    Home | Blog

  5. #5
    Join Date
    Aug 2004
    Location
    Dallas, Texas
    Posts
    831
    Update the stats.

  6. #6
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    The GUI usually caches metadata and statistics. Right click on the server, then select the Refresh menu item. After doing that, check to see what the GUI shows you.

    -PatP
    In theory, theory and practice are identical. In practice, theory and practice are unrelated.

  7. #7
    Join Date
    May 2008
    Posts
    97
    restarted entire machine, problem still there. Also, the MDF file is 100GB in windows explorer in addition to SQL management tools

  8. #8
    Join Date
    Jan 2003
    Location
    Massachusetts
    Posts
    5,800
    Provided Answers: 11
    Going back to GVee's question, are you an admin on SQL Server, or at least a DBO in the database in question?

  9. #9
    Join Date
    May 2008
    Posts
    97
    I was the full admin. Solution, re-create db. I guess I will never know the truth.

  10. #10
    Join Date
    Feb 2013
    Location
    perth australia
    Posts
    24
    Hi,

    Right click database -> reports -> disk usage by top tables.

Posting Permissions

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