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

  • SEARCH
  • Home
  • 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 7838369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T15:05:14+00:00 2026-06-02T15:05:14+00:00

I have a database that’s taking up nearly 7 gigs. If I look at

  • 0

I have a database that’s taking up nearly 7 gigs. If I look at the table usage, it should be much less than that, like 40 megs. There was a large log table that I deleted yesterday, but my database still says it’s very large.

Here are the stats:

database_name   database_size   unallocated space
Umbraco_Indoorpower 6911.56 MB  859.59 MB

reserved    data    index_size  unused
31144 KB    26272 KB    3240 KB 1632 KB

I ran this:

DBCC SHRINKDATABASE (umbraco_indoorpower, 99);

And that got my database down to 2.3 gigs. Still though, way too large.

database_name   database_size   unallocated space
Umbraco_Indoorpower 2302.44 MB  1.63 MB

reserved    data    index_size  unused
30016 KB    26200 KB    3240 KB 576 KB

I’m guessing I’m not freeing up all the space from that log table that I deleted yesterday. I actual ran delete from tblLog. Maybe that was the wrong way to go about it.

Does anyone know how I can free up some more space?

  • 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-02T15:05:15+00:00Added an answer on June 2, 2026 at 3:05 pm

    How big is the log file? What is your recovery model? It’s quite possible that the database_size number above is nearly 7 GB of log and very little data. Find the files on your hard drive – you can locate the paths using:

    EXEC umbraco_indoorpower..sp_helpfile;
    

    I am going to bet that the LDF is HUGE and the MDF is actually small. In which case you are probably in FULL recovery model and have never taken a log backup. If this is true then you can do this:

    USE umbraco_indoorpower;
    GO
    BACKUP LOG umbraco_indoorpower TO DISK = 'C:\some_path\umbraco.trn';
    GO
    DBCC SHRINKFILE(umbraco_indoorpower_log, 20); -- guessing on target MB size here
    

    (If you are in simple recovery model, the above will fail, but there will be some other explanation why the log file is large – e.g. a long-running or uncommitted transaction, did your delete commit?)

    Then you will want to either (a) set up proper maintenance, including full/diff/log backups, which will help make optimal reuse of the log file, or (b) switch to simple recovery, in which case the log will manage itself.

    In most cases simple recovery does not provide enough protection in the event of a disaster, but that is for you to decide.

    In the meantime, you can shrink the file all you want, but if you keep your recovery model and transaction handling the way it is, you’ll just be seeing your file grow again and you’ll be back tomorrow running the shrink command. This is absolutely horrible for your files. This is why I object to answers like “Run a shrink operation.” I talk about why here:

    • Oh, the horror! Please stop telling people they should shrink their log files!
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a database that keeps track of books. The books table looks like
I have a database that consists of two tables, which look like this: users
I have a database that contains a table that looks a bit like this:
I have database tables that look like this: A Task can be mapped to
I have a database that I would like to leverage with Zend_Search_Lucene . However,
I have a database that has node & nodetype tables. Nodes table NodeID ParentNodeID
I have a database that has a Users table and I present the data
I Have Database that contains 4 tables TABLE TBLCARTITEM (CART_ID, ITEM_ID, PROMOTION_ID, many more
I have a database that looks like this: ID parent ticket category _record_status _log_user
I have a database that looks like this: ID parent name description _record_status _log_user

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.