Tables are deleted but database size does not change in sql server 2008r2

Hi All,
20GB Tables are deleted in my database but database size does not change and disk size showing same size.

Hi ,
I have ran the Disk usage by Top Tables report and Identified couple of tables with unwanted data for last 5 years. I have deleted the data for the first 3 years and then ran the Disk usage by Top Tables report again. When I compared the report before
and after the data deletion, I have noticed certain facts which is not matching with what I know or learned from experts like you. The following are the points where I am looking for clarification:
1.Reserved (KB) has been reduced. I was expecting the data Reserved (KB) will remain the same after the data deletion. 
2. The Data(KB) and Indexes(KB) fields have been reduced as expected. The Unused(KB) field have been increased as expected.
I was expecting the total of Data(KB) and Indexes(KB) field space gained will be equal to the Unused(KB) field gained after deleting the data. But that is not the case. When I deducted(subtracted) the difference in  the Reserved(KB)(Difference before
and after data deletion) field from the Total of space gained from the data deletion is equal to the Unused(KB) gained field value.
I am not a SQL expert and not questioning but trying to understand whether we really gain space by deleting data from the tables. Also keen to get the concepts right, but my testing by deleting some records confused me.
Looking ahead to all your expert advice.
Thanks,
Vennayat

Similar Messages

  • In Adobe Acrobat X Standard, our user used to be able to resize drawings to 8.5 x 10, it stopped working yesterday. It allows her to do this without an error but the size does not change?

    In Adobe Acrobat X Standard, our user used to be able to resize drawings to 8.5 x 10, it stopped working yesterday. It allows her to do this without an error but the size does not change?

    Try unmounting the volume on your iMac using Disk Utility. Then mount it again. You may need to reboot the laptop or relaunch its Finder process (using the Force Quit window) after remounting the drive on your iMac. Remember that no process may be accessing any files on the drive you plan to unmount, or the unmount will fail. Unmounting and remounting an external drive on my iMac made it become visible on my MacBook Pro after it had disappeared.

  • Hi I am unsuccessful in pairing my iPad 3 with my friend'sGT 19070 phone.  Her phone says we are paired but my iPad does not see the pair; it says it is unsupported.  Any suggestions?

    Hi I am unsuccessful in pairing my iPad 3 with my friend'sGT 19070 phone.  Her phone says we are paired but my iPad does not see the pair; it says it is unsupported.  Any suggestions?

    The iPad message is correct, it is unsupported. You cannot pair your iPad with your friends phone. Bluetooth on the iPad is designed for the use of headphones, keyboards, speakers and some peer to peer gaming.

  • I have just redeemed an iTunes card, but my balance does not change

    I have just redeemed an iTunes card, but my balance does not change to $15.00, but instead changes to $00.01 cant figure it out, did i waste money????

    And you didn't owe iTunes anything or have pre-orders ? If you can't find where the money went then try contacting iTunes Support and see if they can help : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • My ipod touch brightness just went to zero after charging it. i've tried adjusting it to 100% but it still does not changed. can anybody help me solve this problem? thankS!

    my ipod touch brightness just went to zero after charging it. i've tried adjusting it to 100% but it still does not changed. can anybody help me solve this problem? thankS!

    Have yu tried the standard fixes:
    - Resetting:
    Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Restoring the iPOd via iTunes.  First from backup and if problem persists, restore to factory defaults/new iPod
    - Make an appointment at the Genius Bar of an Apple store since you likely have a hardware problem

  • Add does not run with sql server 2008

    Hi all,
    My add on in the development environment does not run with SQL SERVER 2008. It ran well with SQL Server 2005 and sap b1 2207 B.
    On executing the project file system throws an error "YOU ARE NOT CONNECTED TO THE COMPANY"
    we are trying this scenario on a test machine where SAP B1 2007B with temporary license for one month and SQL server 2008
    is installed.
    Help needed.
    Thanking you
    Pradnya

    Hi Use this
    Dim i as integer
    i=oCompany.Connect()
    if i<> 0 Then
    msgbox(ocompany.GetLastErrorDescription ())
    end if
    the you will get the error description also use try catch wherever necessary
    Alternatively you can use
    Dim SboGuiApi As SAPbouiCOM.SboGuiApi
    Dim sConnectionString As String
    Set SboGuiApi = New SAPbouiCOM.SboGuiApi
    sConnectionString = Command
    SboGuiApi.Connect sConnectionString
    Set SBO_Application = SboGuiApi.GetApplication()
    Set ocompany = New SAPbobsCOM.Company 'initialate DI company object
      ocompany = SBO_Application.Company.GetDICompany
    HTH,
    Atul

  • SCOM 2012 Installation does not show the SQL Server Instance for reporting services

    I have an issue when I try to install SCOM 2012 with the Reporting Server feature, so in the step that I have to select a SQL Server Instance I cannot do that, because as you can see in the picture no one option appears.
    In my scenario I have a DCSERVER, SQLSERVER2008 R2, SCCMSERVER 2012 and in other server I are trying to install SCOM 2012. I are trying to use the same SQLSERVER to SCOM 2012.
    Should I do other procedure on SQL Server before to continue? I will apreciate someone could say me what I need to do to resolve this issue.
    Regards,
    Paul Mendoza.

    Hi Paul
    Can you confirm that SQL Reporting Services is installed on the server that you are doing the install.
    For a lab environment where you have SCOM Management Server, Web Server on one server and SQL Server on another you need to:
    - run setup on the SCOM Server and choose NOT to install reporting. The install here will create the OperationsManager database and OperationsManagerDW (reporting) database.
    - run setup on the SQL Server where SQL Reporting Services is installed. Then choose to install reporting. You should then see the SQL Reporting Services instance on the above window which is blank in your screenshot.
    Take note of the warning in that window - SCOM uses its own role based security within SQL Reporting Services and this can break other reporting. E.g. you can't install SCOM and SCSM reporting (SQL RS component) together. 
    Cheers
    Graham
    New SCOM 2012 Blog! - http://www.systemcentersolutions.com/blog/
    View OpsMgr tips and tricks at
    http://systemcentersolutions.wordpress.com/

  • Changing Paper size does not change page break?

    I am using Oracle Report R6i.
    I have created a matrix report showing months horizontally and items vertically. By default, the report displays a vertical line (Page Break Line) at 8 inches (as shown in Ruler).
    I change the paper size in Page Setup Menu but still the page break line displaying at 8 inches due to which only 03 months are displaying per page at Landscape mode. My page size is : 210x230 cm.
    How can I extend that page break line so that atleast 6 months to be displayed per page.
    Regards,
    Luqman

    Changing the size used by the printer with the page setup dialog does not affect how Reports formats the output. You need to change Reports page size for this.
    In 6i, the page size for Reports is controlled by properties against the Section objects (header, main, trailer) in the navigator.
    In 2.5 you would set the vertical and horizontal page size in the Reports property palette for all sections. With the introduction of individual sections in 6i, each section can have it's own page size.
    In your example you probably want to change the page size against the "main section" to 13" x 8.26" to get the report to format in Landscape. Also remember to set the ORIENTATION parameter or property to "Landscape" so that the printer is set to Landscape as well.

  • Screen Size does not changes automatically

    Hi,
    I am developing on ADF BC, 10.1.3.2, on 17" monitor. Every thing looks fine on my system.
    However, when I deploy the package on a 15" monitor, all screens does not fit within the explorer screen... Why ... Any settings is missing ....
    Needs some help
    Ravi Shankar Swamy

    Hi,
    Well, first think I did was this action. However, the client does not like that resolution, since you see very small fonts. Now, do I have to re-design every thing for the lower resolution or any settings exists to change globally ... windows.height and windows.width... or anything else.
    Ravishankar S

  • Mail.app and IMAP does not change message in server

    Hello all...
    I'm having a strange problem with Mail.app.. I have a IMAP server that uses pine-imapd. I can login and read messages, but anything I do with the messages to not change the message status on the server... If I read a new message, it remains NEW on server, if I delete, it DO NOT delete form server, and so on.. There are cases that I keep receiving the same message over and over again, but actually there's only one message on the server... I used to use Linux with Evolution and everything works just fine, but with Mail.app on Leopard, I have this issue.. Anyone experienced the same thing and have solved it?
    THanks
    Carlos Barros

    Hello Neithan.
    Assuming Preferences > Mailbox Behaviors > Move deleted messages to the Trash is ON, does having Store deleted messages on the server ON or OFF make a difference?
    Does the problem persist if you take the account offline, then back online (e.g. by means of Mailbox > Go Offline/Online)?
    Do you have any Mail plug-ins? In the Finder, go to each of the following folders (if they exist). What do you see there?
    /Library/InputManagers/
    /Library/Mail/Bundles/
    ~/Library/InputManagers/
    ~/Library/Mail/Bundles/
    To make accurately reporting that information easier, open /Applications/Utilities/Terminal, type the following command (you can just copy it here and paste it in Terminal), and press <Return>. You can then copy the output of that command from Terminal and paste it in your reply to this post:
    ls -1 /Library/InputManagers /Library/Mail/Bundles ~/Library/InputManagers ~/Library/Mail/Bundles
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. You can easily locate any of the folders referred to in this post by copying the folder path here, doing Go > Go to Folder in the Finder, and pasting the folder path there.

  • SQL Server Usage Summary page, the count of user/device: does not show for SQL Server 2008

    Does MAP tool capture User Summary  (count of users, their details) for SQL Server 2008? 
    At my end, its working for SQL Server 2012 but not showing User Summary for SQL Server 2008..
    Does the User Summary only works for SQL Server 2008 Enterprise edition as one of the thread points out?

    This is from the
    Wiki article:
    SQL Server 2008 Enterprise and Datacenter Editions introduced audit event configuration for Windows security logging, which enabled SQL Server 2008 to log logon events to the Windows Security log. The table below shows which versions and editions have the Audit
    feature that is needed to record the logon events. MAP cannot obtain user and device access information for any other editions or any older versions of SQL Server.
    Datacenter
    Enterprise
    Business Intelligence
    Standard
    Workgroup
    Web
    Express
    SQL Server 2008
    N/A
    Yes
    N/A
    No
    No
    No
    No
    SQL Server 2008 R2
    Yes
    Yes
    N/A
    No
    No
    No
    No
    SQL Server 2012
    N/A
    Yes
    Yes
    Yes
    N/A
    Yes
    Yes
    Please remember to click "Mark as Answer" on the post that helps you, and to click
    "Unmark as Answer" if a marked post does not actually answer your question. Please
    VOTE as HELPFUL if the post helps you. This can be beneficial to other community members reading the thread.

  • Logical Aggregate Column (count(distinct)) Does Not Group for SQL Server DB

    When utilizing the count(distinct column_name) aggregate function within a Logical Fact source in the Business Model and Mapping layer in the RPD file the output in BI Answers is not grouping correctly for SQL Server 2008 database sources only. All Oracle database sources represent the same aggregate column correctly within BI Answers.
    I am using OBIEE version 10.1.3.3.3
    Does anyone know how to resolve this issue?
    Thanks in advance,
    Kyle

    I thought that I would update my current findings with this issue. If you display the report in BI Answers as a Pivot Table view the aggregate column displays properly, it does not in a Table or Compound Layout view for some reason. I am still working with Oracle Support on this.

  • App Store is not opening. Email and Safari are opening but App Store does not saying cannot connect, App Store is not opening. Email and Safari are opening but App Store does not saying cannot connect

    even with my phone connected on wifi App Store gives a message "cannot connect to App Store". This when email and Safari are working normally.

    Mr Brett, thanks for the reply but my situation remains unchanged. Let me amplify my problem.
    My Mac Book, iPad and iPhone are using the same WiFi connection. Every device is able to connect to the internet, email connectivity is good, safari is working perfectly, Apple Store is fully accessible (except on the iPhone) and updates have been received for IOS as well as the various apps. 
    It is only on the iPhone 6 that message"cannot connect to appstore...." is being displayed whenever App Store is invoked. Surprisingly if i keep pressing the "update" button the page indeed opens but only for a second and I have been able to press update buttons for apps in that second. The app is even getting updated even as the message "Cannt..." continues to be displayed. However, the other buttons like "Featured" "Top Charts" "Explore" and "Search" are not opening for at all. Only the message "Cannot connect to App Store" is displayed.
    Help!!

  • Database Initialiser does not create azure sql database

    I have a WPF application In the OnStartup in the app.cs I set the Database initializer and forced the context the initialise my database:
    Debug.WriteLine("Setting Initializer");
    Database.SetInitializer<MyContext>(new MyDatabaseInitializer());
    Debug.WriteLine("Declaring new context");
    using (MyContext c = new MyContext("MyContext"))
    Debug.WriteLine("Force the initialization");
    c.Database.Initialize(true);
    Debug.WriteLine("Done!");
    I created a sql database in the management portal of the azure.
    Copied the connectionstring it provided for ADO.net.
    But my database is not created.
    I also added a firewall rule but nothing happens. I Have no clue what to do.
    Can anybody please help me with this?
    If you need more information please ask i really have to get this sorted out.
    Thanks in advance!

    Hi Turkstra,
    I have tried to use EF to create Azure SQL database, it works as expect, the database 'jambordbcreate' appear in my SQL Azure, below is the detailed codes.
    using System;
    using System.Collections.Generic;
    using System.Data.Entity;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    namespace CodeFirst
    class Program
    static void Main(string[] args)
    Database.SetInitializer(
    new CreateDatabaseIfNotExists<SchContext>());
    using (var db = new SchContext("Server=tcp:****.database.windows.net,1433;Database=jambordbcreate;User ID=vote@***;Password=***;Trusted_Connection=False;Encrypt=True;Connection Timeout=30"))
    string name = "jambor";
    var student=new Student(){Name=name, ID="1a"};
    db.Students.Add(student);
    db.SaveChanges();
    db.Database.Initialize(true);
    public class Student
    public string ID { get; set; }
    public string Name { get; set; }
    public string age { get; set; }
    public string sex { get; set; }
    public class School
    public string ID { get; set; }
    public string Name { get; set; }
    public virtual List<Student> Students { get; set; }
    public class SchContext : DbContext
    public SchContext(string connection):base(connection)
    public DbSet<Student> Students { get; set; }
    public DbSet<School> Schools { get; set; }
    I suggest  you check your SQL connection, after run your code, please refresh azure portal to see whether your database is exist. Hope this give you some help.
    Best Regards,
    Jambor
    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.
    Click
    HERE to participate the survey.

  • The password chang on from but does not chang in 'sql plus' connect

    DECLARE
    V_CONFIRM_NEW_PW VARCHAR2(100);
    V_USER_NAME VARCHAR2(100);
    V_CONNECT_STR VARCHAR2(100);
    BEGIN
    V_USER_NAME := Get_Application_Property(USERNAME);
    V_CONFIRM_NEW_PW := Get_Application_Property(PASSWORD);
    V_CONNECT_STR := Get_Application_Property(CONNECT_STRING);
    Forms_DDL('ALTER USER'||V_USER_NAME||'IDENTIFIED BY'||V_CONFIRM_NEW_PW||'@'||V_CONNECT_STR);
    IF FORM_SUCCESS = TRUE THEN
    MESSAGE(' SUCCESS...............');
    END IF;
    END;

    please stop duplicating
    not success ok

Maybe you are looking for