Database size and Storage Metrics are mismatching

Hi,
When I look at the storage metrics for one of our SharePoint Web Application root site collection it shows the top sized site as 28.2% of parent and the size as 21178.5 MB. When we calculate the total size of the site collection from
that it should 74994 MB. But when I see the size of the content database ( this is the only site collection in this content database) it shows 185661.5 MB as the size and 26852.5 MB as the space available. When I run the report (Disk Usage By Top Tables)
on that database it brings the list with dbo.AllDocStreams table at the top (Data - 80333 MB) followed by dbo.AuditData (Data - 48305 MB) followed by dbo.AllUserData (Data - 8593 MB).
3 years back we migrated this SharePoint Web Application from 2007 to 2010.
I saw that the recycle bin has only 30 day worth data. 
How can we reduce the size of the database according to what it shows in the storage metrics? Appreciate any help.
Thanks.
rani

so... your database has:
80gb in files (includes version history)
50gb in audit data
8.5gb of list data
plus ~27gb of free space for growth between backups
total of ~165gb (which is close enough to the 185661.5 that you listed)
you need to split up the site collection, and then spread the site collections across multiple databases.
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com
Strategic Data Systems - for all your SharePoint needs

Similar Messages

  • Get DataBase Size and Compare it

    Hello Folks
    I'm trying to get SQL 2008 R2 database size and compare it with this code:
    $DBSize = Invoke-SQLCmd -Query "sp_databases" -Username "user" -Password "pwd" `
    -ServerInstance "localhost" | where-object {$_.database_name -eq "ABC"} | select database_size
    If(($DBSize | Out-String) -ge "5242880"){
    # Some action #
    But that don't return nothing... Some help !?
    Jimcesse
    Principal: http://sysadmin-cr.com/
    Alterno: http://blogs.itpro.es/jimcesse

    Hi,
    I have no way to test this, but try adding -ExpandProperty to select.
    Also, I suggest getting rid of Out-String and using numbers instead.
    EDIT: Also, you may need to use a loop to check each returned size if the query is returning more than one database size.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • Mismatch between the Content Database size and the total of each site collection' storage used.

    Hi All,
    Environment:  SharePoint 2010 with SP2.
    Issue: One of the Content databases size in our farm shows 200 GB as used. There are 25 site collections in the DB and we counted
    the total storage used of all site collections in that Content DB and is not more than 40 GB. (used "enumsites" command and counted the each sitecollections storage used).
    What actions/troubleshooting were done?
    Ran one script which will find the actual size of site collection and how much space used in the disk. But didn’t find major difference in the report.
    Checked “Deleted from end user recycle bin “in all the site collections and no major storage is noticed.
    Planning to Detach the problematic Content DB and attach ,will check whether any major effect is there
    Why the Content DB shows 200 GB as used when the total storage used of all site collections is just 40 GB.
    Appreciate suggestions from any one.
    Best Regards,
    Pavan Kumar Sapara.
    s p kumar

    Hi,
    Thanks for your reply.
    As there is only 20 MB of unallocated space for the above said DB, SQL DB team informed that they cannot perform the DB shrink at this moment.
    So we are thinking to Offload all the site collections to other new DB and then will Drop the problematic database. In this way we can overcome the
    issue.
    Answer for your queries.
    Are the mismatched sizes causing an issue? Are you short on diskspace for DB storage or SQL backups?
    No, there is no issue with the mismatched sizes. We are not on short on disk space. We just worried why it occupies that much size(200 GB) when
    the total storage used of all site collections in that DB is 40 GB.
    Best Regards,
    Pavan Kumar Sapara.
    s p kumar

  • After upgrading to 8.1 Pro from 8.0 Pro, my Storage Spaces and Storage Pool are all gone.

    Under 8.0 I had three 4-terabyte drives set up as a Storage Pool in Storage Spaces.  I had five storage-space drives using this pool  I had
    been using them for months with no problems.  After upgrading to 8.1 ( which gave no errors ) the drives no longer exist.  Going into "Storage Spaces" in the control panel, I do not see my existing storage pool or storage drives. I'm prompted
    to create a new Pool and Storage Spaces.  If I click the "Create Pool" it does not list the three drives I used previously as available to add.
    Device Manager shows all three drives as present and OK.  
    Disk Management shows Disks 0,1,2,6.  The gap in between 2 and 6 is where the 3,4,5 storage spaces drives were.  
    Nothing helpful in the event log or the services.
    I've downloaded the ReclaiMe Storage Spaces recovery tool and it sees all of my logical drives with a "good" prognosis for recovery.  I've not gone down that road yet though because it requires separate physical drives to copy everything to
    and they want $299 for the privilege.
    Does anyone have any ideas?  I'm thinking of doing a fresh 8.1 install to another drive to see if it can see it or reinstalling 8.1 to the existing drive in the hope that it will just suddenly work.  Or possibly going back to 8.0.
    Thanks for your help!
    Steve

    Hi,
    “For parity spaces you must backup your data and delete the parity spaces. At this point, you may upgrade or perform a clean install of Windows 8. After the upgrade or clean installation is complete, you may recreate parity spaces and
    restore your data.”
    I’d like to share the following article with you for reference:
    Storage Spaces Frequently Asked Questions
    (Pay attention to this part:How do I prepare Storage Spaces for upgrading from the Windows 8 Consumer Preview to Windows 8 Release Preview?)
    http://social.technet.microsoft.com/wiki/contents/articles/11382.storage-spaces-frequently-asked-questions-faq.aspx#How_do_I_prepare_Storage_Spaces_for_upgrading_from_the_Windows_8_Consumer_Preview_to_Windows_8_Release_Preview
    Regards,
    Yolanda
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Database size and backups

    I have deleted a large number of records from a database which accounted for much of the space being used as it was not needed at this time. When I take a backup of the database will the size of the db I then restore from this backup be reduced or should
    I shrink the database first. Didn't want to have to perform a shrink operation if not necessary as I've seen posts that it affects performance.
    Thanks
    Robert

    If you have deleted chunks of data and take the backup the size of the backup will be reduced. However if you want to release the unused space from the running database(with out backup and restore), you could do a shrink
    Have a look at this link
    http://dba.stackexchange.com/questions/28360/sql-server-database-size-didnt-decrease-after-deleting-large-number-of-rows
    from
    the above link
    I've blogged about this where I admonished folks to "Don't
    touch that shrink button!" but sometimes... Sometimes you need to. 
    Satheesh
    My Blog |
    How to ask questions in technical forum

  • Logical Database PNPCE and inherited Sub Area

    Hi,
    I have asked this in the HR forum but no response......
    I have a report using Logical Database PNPCE to find some values from a couple of info types. When I select a unit (from the 'OrgStructure' button at the top of the screen), say 111, and all its sub-units with no selections in the selection screen, I get one person displayed. This is correct and this person is in a sub-unit 3 levels down (unit 333).
    I then added a selection to only display people in units with Personnel SubArea 'OTEC'. Now I get no results output. When I look in PPOME, I can see that unit 333 has Personnel SubArea 'OTEC' but it is inherited from '111'.
    In PP01, unit 111 has an Account Assignment entry (Info Type 1008) but 333 does not.
    Does anyone know how to report on this?
    Is there a flag somewhere that tells the LDB to check for inherited units?
    If not, any ideas if there is a function out there to find the superior unit for these sub-units?
    Thanks.

    Thanks,
    I am aware of that FM but how do I find the parent unit in a clever fashion?
    The structure could have multiple levels e.g.
    Unit 1 - Unit 2a - Unit3a......
           - Unit 2b
           - Unit 2c
    Unit 1 is the parent and all the below units inherit from it.
    The LDB is looping through an internal table with a list of the units. It finds Unit 1 but not the rest.
    So, when the LDB is looking for Unit 3a, how does it know that Unit 1 is the parent?
    If I use that FM, I think I would have to look for all units above it and see if there is an Info Type 1008 exists. Seems like a lot of processing for something that should be simple?
    Kroc.

  • Have a problem in Numbers with entering data directly into a cell when a table reaches a certain size and special characters are used?

    I am creating a list of words with special characters in some of them. I get to a point where I cannot enter data directly into the cell. I have to use the data entry bar at the top in the toolbar. Any solutions available?
    This is the table I am creating...
    From row 25 on, I am only able to enter data into the cell through the toolbar at the top and not directly into the cell itself. I believe that this problem originates from the special characters I have inserted in the previous records because if I do not use special characters, then the spreadsheet acts flawlessly. Have there been issues in Numbers with data entry, the size of a table, and using special characters?

    I would try removing the rows with "special" characters one at a time to see which one is causing the problem

  • Album photos size and storage

    Where are my album photos stored physically? Does iTunes compress photos when I copy and paste them into the albums? If not, I will use a lot of space just on the photos... Does anyone know?

    Thank you! I can't understand what difficult it is for iTunes to link every album picture to each song on every album. Then we didnt have to save album picture for every song. Maybe I'm a nerd, but I really like the album pictures to show up on my iphone when i play...it doesn't if i dont mark the whole album and paste in the picture...

  • Column headers and data are mismatched in Data tab of views after move col.

    Hi,
    Currently, I am using Windows XP, SQL Developer Version 1.2.1 Build Main 32.13.
    Java platform 1.5.0_06
    Oracle IDE 1.2.1.3213
    I'm having trouble with display of data from views in the "Data" tab of SQL Developer. If I move a column left or right of its original place, the data no longer line up with the proper column heading. The data are in the correct order, but the column headers are out of whack. Also, in the Single Record View, the data and column headers are mismatched.
    Refreshing the view, closing the view, closing and reopening SQL Developer do not "reset" the view so that the data and proper column headers are lined up. Even dropping and recreating the view does not force SQL Developer to use the proper data-column header match.
    Just to be clear, the data within the view is fine. It is the display of the data-column headers in the "Data" tab of SQL Developer (and the single record view) that is wrong. The mismatch seems to occur after a column is moved in the view.
    Is this a bug? I like the ability to move columns around within the display of the view. However, much more important that the column headers and data line up correctly.
    Thanks,
    Morgan

    Thanks much. I found the correct file, deleted it, and the column headers and data match up again.
    I found the correct file by searching the directory for one of the column names that occurs in the view (though I had to find both instances of "COLUMN_NAME" and "COLUMN NAME" (without the underscore)). Not sure why there were files with both versions.
    Do you know if there is any way to prevent those XXXXXXXXXTableSettings.xml files from writing all together (oracle.javatools.controls.nicetable.NiceTablePersistentSettings)? I looked through the SQL Developer preferences but nothing jumped out as being the setting to switch off.
    Should I be doing anything in particular to bring more attention to this potential bug so it might get fixed in a future release?
    Thanks again,
    Morgan

  • Does iPhone 5 sim card size and shape are changed?

    About the sim card size and shape, there are some web sites talk about new micro - nano.....what ever sim cards for the new iPhone 5, I searched the details in the official Appel site there was no any topics about this issue, now I want the truth form any one knows it, is the sim card changed? or it is the same as for iPhone 4 and 4s?

    Yes sim card size is changed, iPhone 5, 5c and 5s supports a nano sim which is slightly shorter than micro sim which is used in iPhone 4 and 4s so you have to trim your sim or you can get a new one

  • How to know the database size

    can one tell how to find the database size?

    Depends what you mean by database size and how you want the output to look?
    Are you referring to the number of rows across all tables of a schema? The number of bytes used by the rows? The number of bytes used by the tablespaces? The number of bytes used by the datafiles? etc. etc. etc. So many options.
    Be more clear in your requirements please.

  • Object Size and Position values not being retained

    Hi,
           I'm trying to set the size and position of a picture object in a report. This logo, should appear on the top right corner of the report.
    The margins of the report are Left - .79 in, Right - 0.79 in, Top - 0.79 in and Bottom - 0.39 in.
    The size of the picture object should be 1.574 x 0.79 inches.
    I have ensured that File -> Page Setup -> dimensions are in INCHES.
    I right click the logo and select 'Size and Position'.
    I set 'Y' (distance between top of object and top margin) = 0. This is to perfectly align the object with the top margin.
    Now, i set the height of the object = 0.79 inches. Ok the dialog and close.
    The strange thing happening is, when i re-open the size and position dialog, i see that the values i set are not being retained.
    0.79 becomes 0.810
    and
    0 become -0.010.
    What am i doing wrong here? How can i make sure the values i specify in the size and position dialog are  retained.
    Thanks.

    Ensure File | Options | Layout tab has the following UNMARKED!!!!
    Design View
      Guidelines
      Grid
    Preview
      Guidelines
      Grid
    Ensure that "Snap to Grid" is turned off.
    Make your grid size larger (.5 inches for example)
    What is occurring (I suspect) is that your objects are snapping to the grid - thus changing the position and possibly size due to the Snap to Grid being turned on.

  • Image size and/or cropping with iMovie 9

    I have a video in .mov format that was created by Roxio's Easy VHS to DVD software. The movie is a copy of a 4:3 aspect ratio videotape. When I review the clips from this movie in iMovie, the size and aspect ratio are identical to the original. However, when I move the clips into an iMovie project, the aspect ratio appears to be the same but all of the edges are severely cropped (it's like one used a zoom feature on the image). I get the same result whether I select 4:3 or 16:9 aspect ratio for the project. I have also had this experience with iPhoto -cropping occurs on any photo being printed or exported. I can convert the .mov into a video DVD or any format, without aspect ratio change cropping. But, that conversion doesn't allow me to edit the .mov.
    How do I solve this problem?

    I wish someone could answer this. I'm having the same problem. I imported video from my digital tape camera using iMovie (automatically saved as .dv files). In the clip viewer of iMovie (lower right part of iMovie), they appear whole. But when I drag into a project, the clips are severely cropped, just like the original post describes. It doesn't matter if I set the project to 16:9, 4:3, or 3:2 - the same cropping occurs.
    What's up with this?

  • Using MaxL in batch script to get Essbase database size before proceeding

    I have a batch script which dynamically generates some MaxL before passing it to ESSMSH. I would like to insert a command at the beginning of the MaxL script, to get and assess the size of the database before proceeding. If the database is empty I would like the script to quit. This is to prevent the script from exporting data and overwriting the previous export file if the database is empty.
    The generated MaxL (modified) is currently as follows. What logic can I add to the MaxL script, to assess the database size and go to the "errorhandler" label if it is empty? Is this even possible?
    login %USER% identified by %PASS% on %SERVER%;
    iferror "errorhandler";
    /* log file */
    spool stdout on to '<directory>.log';
    iferror "errorhandler";
    /* error file */
    spool stderr on to '<directory>.err';
    iferror "errorhandler";
    /* export data */
    set timestamp on;
    execute calculation %APP%.%DB%.C_Export;
    iferror "errorhandler";
    /* reset database */
    alter database %APP%.%DB% reset data;
    iferror "errorhandler";
    /* import data */
    import database %APP%.%DB% data from server data_file "<filename>.txt" on error abort;
    iferror "errorhandler";
    /* calculate database */
    execute calculation default on %APP%.%DB%;
    iferror "errorhandler";
    /* error handler */
    spool off;
    define label "errorhandler";
    logout;
    exit;

    Hi Stuart,
    Yes I was aware of display database "app"."db"; however this will output a table rather than a specific value. And what logic can I then add to the MaxL script to assess the specific value of "Db Status" and go to the "errorhandler" label if it is empty?
    It would seem this needs to be done via a VBScript, to loop through the file rows to find the value before proceeding accordingly. But I was hoping there might be a way to do this within MaxL.

  • Reduce File Size and Optimise PDF both increase file size

    Hi All
    I have exported a pdf (our college mag) at smallest file size from Indesign CS4 for online use. The problem is the resultant file size is a little under 19Mb. Using both or either Reduce File Size or Optimise functions simply result in an increase to 22Mb. The document is packed with images however I would have thought one or both of these processes would have helped reduce the file size to a more manageable download file size.
    A pdf is also produced to go to print so simply compressing all images prior to imcuding them in Indesign is not a preferable option - this would mean creating two separate Indesign documents, something which I would rather avoid if possible.
    Any help would be greatly appreciated as always.
    The file reside here if anyone cares to take a look http://www.ayrcoll.ac.uk/index.php?name=UpDownload&req=viewdownload&cid=11&orderby=dateD  It's the latest release (September 09)
    Thanks
    Colin

    You might want to do an audit of the PDF (button in PDF Optimizer) and try to figure out what the various parts are. It shows 58% is content streams (sorry, but I am not sure what that is), 26% is overhead, and only 12.7% is graphics. Since you are not storing bookmarks and such, you might want to try going back to ID and printing to the Adobe PDF printer for a comparison. It may be one technique is more efficient than the other.
    When I used the optimizer, the file did get larger. When I used Reduce File Size, it got slightly smaller. The key may be in figuring out what the various parts are from the audit. You might try copying one page of ID to a new document and play with various versions - different fonts (all were embedded and that is probably best), variations on graphics, etc. That is all I can suggest since I would simply be playing with different ways to produce the document and looking at what is causing the bloat. When the Images are only 12.7% and the fonts less than 1%, there is something going on to produce the size, and those 2 are typically the killers. I would mention tags that tend to bloat, but you do not have any (normally used for assessibility).
    You might want to try some of the preflight checks to find issues. I did the transparency check and got 170 instances in 22 pages. Flattening the page may help. There were some pages that seemed to be very bad. However, I did not get a big file size reduction. I did not get a lot of improvement by printing to a new PDF either. Certain pages seem to be part of the bloat problem. The print took a long time around pages 11 and 22.
    One troubleshooting technique would be extract pages to separate files and look at the details of each page to see what is causing the issue.
    Need to go. Good luck.

Maybe you are looking for