Discover our Clipsal Smart Home packages as seen on The Block 2018

in location

OR

I'm looking for

  • Wholesalers
    • Uncheck All Check All
  • EXPERTISE
    • Expand
    • Expand
    • Expand
    • Uncheck All Check All
  • Switchboard Manufacturers
    • Uncheck All Check All
OR

The best way to see what Clipsal electric products can do for your home is seeing them in action at a Clipsal Display Centre.

Product stock may vary according to location. If you're after a specific product range, please check with your chosen location before visiting.

10 Results
    Load More Load Complete
    Change Location

    How to check status on Database Shrink Task in SQL Management Studio?

    Issue
     
    In some cases when database are large (>300GB), users will want to shrink the database (not trim) through SQL Management studio.
     
    However, there is no status bar or percentage of completion on the Database Shrink Task. The windows task manager will not show any spikes in CPU.
     
    Product Line
    Power Monitoring Expert v7.2.x, 8.x
    Struxureware Power Monitoring 7.0.x 
    ION Enterprise 6.0
     
    Environment
    SQL Management Studio
     
    Cause 
    SQL Management Studio does not have the capability of showing percentage of completion for Shrink Task.

    Resolution/Workflow
    *Warning: Irreparable database damage can occur. This procedure should only be performed by users familiar with SQL Server Management Studio. Databases should be backed up prior to performing this procedure.*
    Open up a new query in SQL Management Studio and run the following query:
     
    SELECT
           percent_complete,
           start_time,
           status,
           command,
           estimated_completion_time,
           cpu_time,
           total_elapsed_time
    FROM
           sys.dm_exec_requests
    WHERE
           command = 'DbccFilesCompact'
     
    The query will show you the percentage of completion and the status of the current database shrink. You can rerun the query to check statuses overtime. 

    Didn’t find what you were looking for?

    Try Searching Again View Our Categories

    Need further assistance?

    Our Customer Care department provides total customer service solutions for our residential, industrial and commercial applications.

    Get Assistance