MDW - Error Executing Disk Usage Collector

Hi,
I'm encountering an error with the MDW on a SQL Server 2012 instance. I've successfully configured the MDW database to go to the local instance and have set up the Data Collectors. However, the Data Collector for Disk Usage errors, specifically when running
the "Disk Usage - Log Files" step with the following message:
Date  14/11/2013 11:19:46
Log  Data Collection (Disk Usage)
Log ID  828
Source  TSQLQueryCollect
Collection Set Name 
Collection Item Name 
Status  
Runtime Execution Mode 
Start Time  14/11/2013 11:19:46
Last Iteration Time 
Finish Time 14/11/2013 11:19:46
Duration (ms) 
Operator  
Package Execution ID 
Event  OnError
Data Code  -1071636471
Message
SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "The metadata could not be determined because statement 'SET STATISTICS XML OFF' in procedure 'sp_syspolicy_dispatch_event'
does not support metadata discovery.".
I've tried searching the web to see if anyone else has encountered this error when using MDW but have drawn a blank.
The "Disk Usage - Data Files" step executes successfully and the Data Collectors for Query Statistics and Server Activity also are successful.
I'm running the following version of SQL Server 2012 on Windows Server 2008 R2 Standard.
Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64)
 Oct 19 2012 13:38:57
 Copyright (c) Microsoft Corporation
 Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)
SQL Server Agent is configured to use a domain account which is a member of the Local Administrator group on the server. I've also tried configuring the MDW account to use this same domain account and given it sysadmin permissions within the SQL Server instance.
Any pointers/guidance to resolve this issue greatly appreciated!
Thanks,
Iain

Any progress?
You should contact Microsoft support.
Kalman Toth Database & OLAP Architect
SELECT Video Tutorials 4 Hours
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

Similar Messages

  • MDW Disk Usage for Database Report Error - A data source has not been supplied for the data source DS_TraceEvents

    Hello,
    On the MDW Disk Usage Collection Set report, I get the following error when I click on a database hyperlink.
    A data source has not been supplied for the data source DS_TraceEvents
    SQL profiler shows the following SQL statements are executed (I've replaced the database name with databaseX)
    1. exec sp_executesql N'SELECT
    dtb.name AS [Name]
    FROM
    master.sys.databases AS dtb
    WHERE
    (dtb.name=@_msparam_0)',N'@_msparam_0 nvarchar(4000)',@_msparam_0=N'databaseX'
    this returns zero rows as databaseX does not exist on my MDW central server, but is a database on a target server (i.e. one that is being monitored and uploaded into the MDW central server).
    2. USE [datatbaseX]
    this produces the following error:
    Msg 911, Level 16, State 1, Line 1
    Database 'databaseX' does not exist. Make sure that the name is entered correctly.
    why is the report looking for the database on my server?
    thanks
    Jag
    Environment: MDW (Management Data Warehouse) on SQL 2008 R2

    Hi Jag,
    Based on my test, while this database is offline, we will encounter this issue. This is because that while we click the certain database in “Disk Usage Collection
    Set” report, it will query some information with that certain database. If this database is offline, we will not access this database to acquire related information and generates this error.
    Therefore I recommend that you check the status of this database by using this system view:
    sys.databases. If it is not online, please execute
    the following statements in a new window to make this database to be online:
    USE master
    GO
    ALTER DATABASE <database name> SET ONLINE
    GO
    If anything is unclear, please let me know.
    Regards,
    Tom Li

  • Premiere Pro export issues. Unknown error messages, extremely slow export times, strange I/O & disk usage

    Hello,
    I'm hoping I can start getting answers to some big issues I've been having running Premiere pro. I've had similar issues with CS6 but it seems like with CC and every recent update, the problem hasn't been resolved, its even worse.
    The main issue I have is seeing the 'unknown error' message everytime I try to export a file. I'm working with RED footage. When I turn off the CUDA support, I can export without the error but my export time goes from a few minutes to sometimes hours in the render time!
    I've looked through pages and pages of forums and there are so many people saying the same thing, with millions of opinions of what the problem is. Regardless, the only thing I tried that worked so far is turning off the CUDA support.
    Now something I recently noticed, is that the difference isn't the GPU usage, I still show GPU being used at 500mb or 1gb out of the 2gb that it has (GTX 680)
    The strange thing is without the mercury playback option, I'm seeing that disk usage and I/O go way down to kbs from a very high number. This would make sense why I'm seeing such huge changes in render times even though it still shows my 6 core CPU maxed out and ram over 40gb out of 64 that are installed.
    Does anyone have a suggestion on what may be happening here? Its the only thing that has plagued my system using Premiere since day one and there seems to be no way around it..

    Best way to get a real answer is go to the Tweaker's Page, download the most recent PPBM benchmark test, and run it. It's a folder that has a resource monitoring/logging program and a PrPro project with files that is short but HEAVY in effects, both AE and PrPro, so it tests all parts of a system's capabilities from disc in/out to GPU capability/use to CPU, fsb, RAM, you name it ... and after sending that back in you get a complete report on where your computer did well and what the choke-points were.
    Also ... over on the Hardware forum is the place where the techies amongst us hang ...
    Neil
    Tweaker's Page ...
    http://ppbm7.com/index.php/tweakers-page
    Hardware Forum ...
    https://forums.adobe.com/community/premiere/hardware_forum

  • 5200:Error executing query: null

    I am getting the error message 5200:Error executing query: null when trying to run a report that was perfectly fine a week ago. I searched on the internet and running the utility DeletePOV.cmd seems to resolve this issue for a lot of people. My issue is, I'm not sure what I need to modify in this file in order for it to work for me. I have tried just double clicking on this cmd file and nothing happens.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    SETLOCAL
    @ECHO OFF
    TITLE HR Delete User POV Utility
    if "%1" == "" goto Usage
    if "%2" == "" goto Usage
    if "%3" == "" goto Usage
    if "%4" == "" goto Usage
    SET CLASSPATH=F:/Hyperion/HyperionReports/lib;F:/Hyperion/HyperionReports/lib/HAB.jar;F:/Hyperion/HyperionReports/lib/HReports.jar;F:/Hyperion/HyperionReports/lib/HyperionADMWidgets.jar;F:/Hyperion/HyperionReports/lib/activation.jar;F:/Hyperion/HyperionReports/lib/jakarta-regexp-1.2.jar;F:/Hyperion/HyperionReports/lib/mail.jar;F:/Hyperion/HyperionReports/lib/swingall.jar;F:/Hyperion/common/ADM/7.0.1/lib;F:/Hyperion/common/ADM/7.0.1/lib/adm.jar;F:/Hyperion/common/ADM/7.0.1/lib/ap.jar;F:/Hyperion/common/CSS/2.5.3/lib/css-2_5_3.jar;F:/Hyperion/common/loggers/Log4j/1.2.8/lib/log4j-1.2.8.jar;F:/Hyperion/common/XML/JAXP/1.2.2/dom.jar;F:/Hyperion/common/XML/JAXP/1.2.2/jaxp-api.jar;F:/Hyperion/common/XML/JAXP/1.2.2/sax.jar;F:/Hyperion/common/XML/JAXP/1.2.2/xalan.jar;F:/Hyperion/common/XML/JAXP/1.2.2/xercesImpl.jar;F:/Hyperion/common/XML/JAXP/1.2.2/xsltc.jar;F:/Hyperion/HyperionReports/JRE/Sun/1.4.1_03/lib/i18n.jar;F:/Hyperion/HyperionReports/JRE/Sun/1.4.1_03/lib/charsets.jar;F:/Hyperion/common/XML/JDOM/0.8.0/jdom.jar;F:/Hyperion/common/JCE/1.2.2/US_export_policy.jar;F:/Hyperion/common/JCE/1.2.2/jce1_2_2.jar;F:/Hyperion/common/JCE/1.2.2/local_policy.jar;F:/Hyperion/common/JCE/1.2.2/sunjce_provider.jar;F:/Hyperion/HyperionReports/lib/planning/ext/servlet.jar
    "F:\Hyperion\HyperionReports\JRE\Sun\1.4.1_03\bin\java" com.hyperion.reporting.reportstore.DeleteUserPov %1 %2 %3 %4 %5
    goto End
    :Usage
    ECHO Usage: DeleteUserPov <ReportsAdminUserName> <AdminPassword> <ReportServerName> <DataSourceUserName>__<DataSourceServerName>__<AppName>__<DbName>__<DataSourceType> [ShowOnly]
    ECHO The 4th argument can use Regular Expressions. A link which describes in detail what a regular expression is "http://jakarta.apache.org/regexp/apidocs/"
    ECHO We can pass an optional 5th argument ShowOnly at the end to display a list of UserPov's which satisfy the search criterea.
    ECHO
    ECHO An example for Essbase datasource would be DeletePov hyperion reports localhost hyp__localhost__Sample__Basic__Essbase
    ECHO An example for HFM datasource would be DeletePov hyperion reports localhost hyp__localhost__Hfm__Hfm__FinancialManagement
    ECHO An example for Planning datasource would be DeletePov hyperion reports localhost hyp__localhost__Plan1__Plan1__Planning
    :End
    ENDLOCAL

    You will have to run the utility in the command prompt of the server. Within the command prompt, Navigate to the location where the utility is present and run the below command:
    DeleteUserPov <ReportsAdminUserName> <AdminPassword> <ReportServerName> <DataSourceUserName>__<DataSourceServerName>__<AppName>__<DbName>__<DataSourceType>
    An example for Essbase datasource would be DeletePov hyperion reports localhost hyp__localhost__Sample__Basic__Essbase
    An example for HFM datasource would be DeletePov hyperion reports localhost hyp__localhost__Hfm__Hfm__FinancialManagement
    An example for Planning datasource would be DeletePov hyperion reports localhost hyp__localhost__Plan1__Plan1__Planning
    HTH-
    Jasmine.

  • Ntoskrnl.exe 100% disk usage windows 8.0 and 8.1

    This is a bug report. I hope Microsoft will take it seriously as it took me a whole day and much stress to track it down. Basically my problem was the same as this: http://slopjong.de/2013/04/23/extremely-high-disk-activity-with-windows-8-and-how-to-fix-it/
    However in the graphic on this site it appears to show that Virtualbox is the culprit. However this is unlikely to be the case, as the author of the site fixed his problem by following his own advice. This is an extremely common problem as this Google search
    indicates:
    https://www.google.co.uk/#q=ntoskrnl.exe+100+disk+usage+windows+8
    To attempt to address my own problem first I disabled all non-microsoft services in Windows 8.1 professional. When this had no effect on the problem, I then disabled all non-essential Microsoft services. In turn. when this has no effect I disabled all user
    installed start-up items. Again when this failed to have an impact, I changed my browser from Firefox to Google Chrome, as I noted that the extremely high disk utilisation was at it's worst when using Firefox. This also had no effect.
    I then tried a variation of my search on Google "ntoskrnl.exe 100 disk usage windows 8" (I can't remember the exact variation) and stumbled over the above site at the beginning of this message. I had by that point tried everything that was in my power
    to try. But I noted from this article that the author recommended changing the power plan from 'balanced', to 'high performance'. Since I had   exhausted every other avenue, I decided to try this and like magic, instantly it worked. So there is clearly
    a bug in Windows 8.1 (and 8 prior to this) that causes 100% disk utilisation. I thought someone at MS might like to know about it and come up with a way to fix it.
    Below is my system configuration. Please note this system configuration may contain a number of errors, as it was generated with several non-essential Microsoft services disabled. I do not believe these issues need to be addressed. However the issue of 100%
    disk utilisation when using a 'balanced' power plan on Windows 8.1 (and 8.0) almost certainly does.
    PS
    This message board system will not allow me to post my full system configuration. MS need a better bug reporting system! Apple allow the public to submit bug reports, so why not Microsoft too. The public can find useful bugs!

    Hi,
    Thanks for your detailed description.
    We considered that the culprit for every computer is different. For the specific PC, we need to analyze the specific issue.
    Please trace the performance using the Windows performance toolkit.
    http://msdn.microsoft.com/en-us/library/hh162945.aspx
    The download link is below:
    http://www.microsoft.com/en-US/download/details.aspx?id=39982
    Then upload the .etl file to Skydrive. We will help you analyze.
    Karen Hu
    TechNet Community Support

  • 100% disk usage in Task Manager when using Photoshop CC (Windows 8.1 - 64 bit)

    Hi
    I have been using Adobe CC for a month or two now. I own an Asus laptop with Intel i7 (2.4 GHz), 6 GB RAM, 1 TB hard disk space and 64 bit, nearly 6 months old. Following apps are currently installed: Photoshop, Illustrator, InDesign, Audition, Acrobat XI Pro, Premiere Pro and Media Encoder. I recently performed an update through Adobe CC for Photoshop and Illustrator, all others are up-to-date.
    I believe, but I may be wrong, that since this update Photoshop is acting weird on my laptop. When I start Photoshop, my task manager immediately indicates a 100% rate of my disk usage. This seems to wield off after it is fully operational, but when I start to edit a file, the disk usage immediately jumps back to 100%, while the CPU remains below 10%, RAM stays at 3.5-3.8 GB (only 60% of total capacity) and even the actual read and write speeds of my HDD are not particularly high (5 - 10MB max). And because of the 100% disk usage, Photoshop freezes in an instant and operating it is nearly impossible.
    I already uninstalled Photoshop, went over all services and **** that could trigger this within Windows 8.1 (Google-search for: Windows 8.1 disk usage 100%) , re-installed Photoshop and I still have the same problem.
    So, I was wondering if there might be a solution to this problem or if anybody else is having this problem as well?
    Thanks in advance!
    UPDATE: This error applies only when I try to manipulate, add, edit or remove text. All other functions (not related to text) seem to work properly.

    No, I don't know much about that, but I found a couple links for you..
    "service host: Local system (network restricted)(11)" eating virtual memory
    http://www.reddit.com/r/techsupport/comments/1b496x/windows_8_high_disk_usage_usually_arou nd_100_and/

  • Windows 8.1 - 100% Disk usage & most of it is by ntoskrnl.exe ?

    Hi,
    The day i bought my new vaio laptop. i m facing this Disk usage 100% problem as it came with by default windows 8 OS. I thought it may be an bug or something may be it will be get fixed in windows 8.1. but , even after updating to windows 8.1 m still facing
    the same problem.
    I gone through so many forums and tried everything. even i tried with clean windows 8.1 installation.
    So,please i just want to know is there any solution for this. or now finally i have to go back to windows 7.
    Thanks,
    Maddy 

    Maddyy
    If your computer came like this return it to your place of purchase.  If that is impossible please upload your event viewer logs so we can examine them
    Please provide us with your Event Viewer administrative logs by following these steps:
    Click Start Menu
    Type eventvwr into Search programs and files (do not hit enter)
    Right click eventvwr.exe and click Run as administrator
    Expand Custom Views
    Click Administrative Events
    Right click Administrative Events
    Save all Events in Custom View As...
    Save them in a folder where you will remember which folder and save as Errors.evtx
    Go to where you saved Errors.evtx
    Right click Errors.evtx -> send to -> compressed (zipped) folder
    Upload the .zip file to skydrive or a file sharing service and put a link to it in your next post
    If you have updated to win 8.1 and you get the error message "the system cannot find the file specified" it is a known problem.  The
    work around is to edit the registry.  If you are not comfortable doing this DONT.  If you are, backup the key before you do
    Press Win+"R" and input regedit
    Navigate to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels. Delete "Microsoft-Windows-DxpTaskRingtone/Analytic"
    Wanikiya and Dyami--Team Zigzag

  • Disk Usage stuck at 100%, Factory installed windows 8 running like a turtle not being able to use my laptop. What should i do?

    I have a HP Pavillion Sleekbook 15-b002ee with Third generation core i5 processor 1.7 GHz, 500 GB Hard disk and 4 GB of RAM installed. Windows 8 came pre installed on it.
    I bought this laptop 11 months ago and it worked fine for 10 months and then from the last month its presenting unusual problems. My disk usage is stuck at 100% and the laptop freezes and never lets me work or do anything. Heres what i have already done
    to solve the issue but have been unsuccessful:
    1) I have reset my PC completely and reinstalled windows 8 using the factory setup. Didnt solve the issue, newly installed windows displays the disk usage 100% and the performance is same i.e the system freezes.
    2) I have tried adjusting my paging file, no change made a difference to the performance of my laptop. The default system managed Paging file size is something around 3.89 Gb. Does my problem have anything to do with my paging file?
    3) I have tried solving this issue by disabling the "Windows Search" and "Superfetch" services and still it didnt solve the problem.
    4) I have also run checkdisk on my hard drive completely. It took me a complete day to do so but still no change.
    5) Before resetting my laptop, an error called "Kernel_data_inpage(http.sys)" used to come on my upgraded windows 8.1. Whats the issue?
    So what should i do? Is there any problem with my hardware? Is my hard drive having bad sectors and is that causing the problem? Or is there any other technical problem which i couldnt yet find out?
    I have explained my problem in a lot detail and i would like a clear answer please, i have been at this issue for many days and this forum seems like the last place where i can find relevant answer because Google isnt helping.
    Thanks in advance.

    Ask here: http://h30434.www3.hp.com/. 
    This web site is for help in writing software and you are not planing in doing that. In the future, look around to see what others are saying before posting to a forum. If you can not understand what others are saying most likely you are in the wrong
    forum, and chances. are your questions will be ignored .
    If you are looking for help on a particular Microsoft product, start your search from support.microsoft.com instead of going to a random Microsoft forum. But since you got a HP laptop, chances are you have software prompted by HP as well, like antivirus/printer
    applications etc, so better ask HP first.
    Visual C++ MVP

  • System memory vs disk usage -- why is my hard drive almost full if my system memory is half empty?

    I have a white Macbook, 2.4 Ghz Intel Core 2 Duo processor with 2 GB of memory, Mac OS X, version 10.5.8, purchased in 2008. My Mac keeps warning me that my startup disk is almost full, and indeed Activity Monitor shows that my disk usage has minimal free space (2.31 GB). However, the System Memory tab shows that half my space is free.
    Does the discrepancy mean that there is lots of space left on my Mac? If not, how can I identify if some sort of error is filling up my memory? Right now, I have a lot of music and documents stored on my laptop, but nothing else, and I would like to be sure it's those two things that are filling up the space.
    What is the recommended method for adding more memory to my Mac, if nothing else?

    There are two different types of memory in your Mac. There is system memory, more commonly referred to as RAM, and there is disk space. RAM is where the Mac works on data. Disk space is where data is stored for long term storage.
    You are in serious danger of causing your Mac to die completely by running it with so little free space on your system drive. It is imperative that you start either deleting or move data off the disk drive. You should have 8 to 10 time as much free space at least at all times for OS X to run will.
    A tool that can  with cleaning up your disk drive is OmniDiskSweeper. It will tell you the files and fol,der that are using the most space. That will give you good candidates for deletion or movement.
    Allan

  • HCM Interactive forms - operation error while applying usage rights

    Hi!
    We have setup several scenarios using the new HCM Interactive forms on ERP6.0 and EP7.0. The scenarios include things like Transfer, pay change request.
    In 9 out of 10 cases everything thing is working as expected so that the users can complete the forms and the process for their requests but occasionally we are seeing a random error that occurs for any user at any time without any apparent pattern.
    The below is what is seen from the log file
    Exception Stack Trace:
    com.adobe.ProcessingError: PDF operation error while applying usage rights to PDF: /tmp/adobewa_PEP_17116350/DM-6192899546130604164.dir/DM8253967776737558967.tmp
    Specific error information:
    this document is signed
         at com.adobe.ads.request.UsageRights.execute(Unknown Source)
         at com.adobe.BaseADSRequest.doWork(Unknown Source)
         at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
         at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
         at sun.reflect.GeneratedMethodAccessor403.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)
         at java.lang.reflect.Method.invoke(Method.java:391)
         at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:215)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.adobe.document.pdf.PDFOperationFailure: IDL:com/adobe/document/pdf/PDFOperationFailure:1.0
         at com.adobe.EJB_PDFAgent.linearize(Unknown Source)
         at com.adobe.EJB_PDFAgent.setUsageRights(Unknown Source)
         ... 30 more
    I am in the processes of raising a message to SAP about this but was wondering if any one else had experienced a similar error or knows what might cause this type of error.
    Thanks
    Matt

    We had the same problem. The fix is to get a unique ID for every form. Given below
    Instructions to generate unique ID
    1. Modify template
    Edit your template via t-code SFP
    -> goto Layout tab -> Adobe LiveCycle Designer will be started
    -> Goto 'XML source' tab
    in line2, you will find following entry
    <?xfa generator="AdobeLiveCycleDesigner_V8.0_SAP" APIVersion="2.5.8227.0"?>
    <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2008-09-11T14:
    39:44Z" uuid="4ed773ff-6aeb-483e-a5ec-4af1a138c775">
    from this line, delete uuid="..." part.
    Go back to 'Design view' tab
    Check if layout is not changed.
    Save / activate template
    2. Delete database table entry for table ADS_Licensed_forms
    Schema SAP<SID>DB -> table ADS_LICENSED_FORMS
    (you can delete all table entry from this table)
    3. When you access the forms, they are aitomatically registered in this table.
    Hope this helps.
    Sunil

  • SQL server 2012 Standard report Disk usage – stale data

    I have strange problem, where standard report is giving me old data, from several months, but no new data. I can not see any errors.
    If I generate standard report fro disk usage, I get old data 
    from two monts. No new data. If I open trace file, I can see  current data.
    If I  run query, I can see current data :
    SELECT 
    TE.name
    AS [EventName]
    T.DatabaseName
    t.DatabaseID
    t.NTDomainName
    t.ApplicationName
    t.LoginName
    t.SPID
    t.Duration
    t.StartTime
    t.EndTime
    FROM   
    sys.fn_trace_gettable(CONVERT(VARCHAR(150),
    ( SELECT
    TOP 1
    f.[value]
    FROM    sys.fn_trace_getinfo(NULL)
    f
    WHERE   f.property
    = 2
    )), DEFAULT)
    T
    JOIN sys.trace_events
    TE ON
    T.EventClass
    = TE.trace_event_id
    WHERE  
    te.name
    = 'Data File Auto Grow'
    OR te.name
    = 'Data File Auto Shrink'
    ORDER
    BY t.StartTime
    SELECT 
    REVERSE(SUBSTRING(REVERSE(path),
    CHARINDEX('\',
    REVERSE(path)), 256))
    AS DefaultTraceLocation
    FROM   
    sys.traces
    WHERE  
    is_default = 1
    But these query gives me, data that I see in the report.
    SELECT 
    TE.name
    AS [EventName]
    T.DatabaseName
    t.DatabaseID
    t.NTDomainName
    t.ApplicationName
    t.LoginName
    t.SPID
    t.Duration
    t.StartTime
    t.EndTime
    FROM   
    sys.fn_trace_gettable(CONVERT(VARCHAR(150),
    ( SELECT
    TOP 1
    f.[value]
    FROM    sys.fn_trace_getinfo(NULL)
    f
    WHERE   f.property
    = 2
    DEFAULT)
    T
    JOIN sys.trace_events
    TE ON
    T.EventClass
    = TE.trace_event_id
    WHERE  
    te.name
    = 'Data File Auto Grow'
    OR te.name
    = 'Data File Auto Shrink'
    ORDER
    BY t.StartTime
    SELECT 
    REVERSE(SUBSTRING(REVERSE(path),
    CHARINDEX('\',
    REVERSE(path)), 256))
    AS DefaultTraceLocation
    FROM   
    sys.traces
    WHERE  
    is_default = 1

    Hi,
    SQL Server Management Studio Standard report-Disk Usage works normally in my test machine. My Microsoft SQL Server Management Studio version is 11.0.3128.0.
    Before going further, I would verify if only Data/Log File Autogrow/Autoshrink Events shows the old information.
    “Transaction Log Space Usage (%)” uses DBCC SQLPERF (LOGSPACE) and shows how much empty space we have in the physical transaction log file. Disk space used by Data Files uses DBCC SHOWFILESTATS to get information.
    Data/Log File Autogrow/Autoshrink Events uses the data from Default Trace.
    You can use SQL Profiler to capture the activities. The following entries was recorded when I ran Disk Usage report.
    exec sp_executesql @stmt=N'
    begin try
    if (select convert(int,value_in_use) from sys.configurations where name = ''default trace enabled'' ) = 1
    begin
    declare @curr_tracefilename varchar(500) ;
    declare @base_tracefilename varchar(500) ;
    declare @indx int ;
    select @curr_tracefilename = path from sys.traces where is_default = 1 ;
    set @curr_tracefilename = reverse(@curr_tracefilename);
    select @indx = patindex(''%\%'', @curr_tracefilename) ;
    set @curr_tracefilename = reverse(@curr_tracefilename) ;
    set @base_tracefilename = left( @curr_tracefilename,len(@curr_tracefilename) - @indx) + ''\log.trc'' ;
    select (dense_rank() over (order by StartTime desc))%2 as l1
    , convert(int, EventClass) as EventClass
    , DatabaseName
    , Filename
    , (Duration/1000) as Duration
    , StartTime
    , EndTime
    , (IntegerData*8.0/1024) as ChangeInSize
    from ::fn_trace_gettable( @base_tracefilename, default )
    left outer join sys.databases as d on (d.name = DB_NAME())
    where EventClass >= 92 and EventClass <= 95 and ServerName = @@servername and DatabaseName = db_name() and (d.create_date < EndTime)
    order by StartTime desc ;
    end else
    select -1 as l1, 0 as EventClass, 0 DatabaseName, 0 as Filename, 0 as Duration, 0 as StartTime, 0 as EndTime,0 as ChangeInSize
    end try
    begin catch
    select -100 as l1
    , ERROR_NUMBER() as EventClass
    , ERROR_SEVERITY() DatabaseName
    , ERROR_STATE() as Filename
    , ERROR_MESSAGE() as Duration
    , 1 as StartTime, 1 as EndTime,1 as ChangeInSize
    end catch
    ',@params=N''
    Both queries use the default trace file. Disk Usage report use sys.traces to get the trace file path. I suggest check default trace file in sys.traces is correct. You can modify the query like below and check if the output returns the same result.
    SELECT TE.name AS [EventName] ,
    T.DatabaseName ,
    t.DatabaseID ,
    t.NTDomainName ,
    t.ApplicationName ,
    t.LoginName ,
    t.SPID ,
    t.Duration ,
    t.StartTime ,
    t.EndTime
    FROM sys.fn_trace_gettable('<default trc file path>', DEFAULT) T
    JOIN sys.trace_events TE ON T.EventClass = TE.trace_event_id
    WHERE T.EventClass >= 92 and T.EventClass <= 95
    Best Regards,
    Tracy
    Tracy Cai
    TechNet Community Support

  • Pesky Error Executing Database Query

    About three times a week, we get a ton of errors for "Error
    Executing Database Query", all at once. That is about as
    descriptive as it gets. It does tell us the line and the exact SQL
    statement it tried to run, but when we copy and paste the SQL into
    a query browser it runs fine. It's almost like there is a
    connection failure somewhere between CF and the db that is causing
    this "error"? Has anyone experienced anything like this? Thanks for
    any help.

    We sometimes get that when a table has been corrupted on the
    SQL server, or the DTS service is having issues. The error just
    says there is a database execution error and says the error was at
    xyz, just like yours.
    Generally restarting the SQL server fixes the issue because
    when it restarts, SQL server rebuilds the tables as a kind of
    repair.
    Our problem seems to relate to issues with the drive. Just
    lately we saw a note in the Event Viewer that indicated that one
    drive had a bad block. It is possible that during the "repair" SQL
    moved the data off that block, similar to how defrag would.
    Basically, if you are seeing it semi-regularly and it works
    fine after restarting the data server, you may want to schedule a
    maintenance downtime and run a full disk check and defrag, possibly
    even replacing the drive.

  • [request]awesome 3- disk usage widget + mpd now playing widget

    i'm asking a good soul to help me:) i'm kinnda stupid form programming. i'd like someone to help me with a rc.lua part that would make new status bar on the bottom of the screen and help me add disk usage and mpd now playing widget on that status bar.
    i was reading awesome wiki and part about wicked(that i use) and it says(d-u widget)
    fswidget = widget({
    type = 'textbox',
    name = 'fswidget'
    wicked.register(fswidget, wicked.widgets.fs,
    ' <span color="white">FS:</span> ${/ used}/${/ size} (${/ usep} used)', 120)
    and that code does not work, or maybe i am too stupid to figure this out:(
    mpd widget also does not work.
    please help this poor stupid soul to figure this out. i was trying for few hours but this damn headache is stronger then lua. someone even said that rc.lua causes brain cancer. could be.
    sorry for my english, and thanx for even rading this (stupid?) request

    This should get you a bottom status bar.  You will need to define mpdwidget and fswidget.  (Only add the lines where bottomstatusbar is mentioned.)
    mystatusbar = {}
    bottomstatusbar = {}
    for s = 1, screen.count() do
    mystatusbar[s] = statusbar({ position = "top", name = "mystatusbar" .. s,
    fg = beautiful.fg_normal, bg = beautiful.bg_normal })
    bottomstatusbar[s] = statusbar({ position = "bottom", name = "bottomstatusbar".. s, fg = beautiful.fg_normal, bg = beautiful.bg_normal })
    -- Add widgets to the statusbar - order matters
    mystatusbar[s]:widgets({
    mytaglist,
    mytasklist,
    mypromptbox,
    mytextbox,
    mylayoutbox[s],
    s == screen.count() and mysystray or nil
    bottomstatusbar[s]:widgets({
    mpdwidget,
    fswidget,
    s == screen.count()
    mystatusbar[s].screen = s
    bottomstatusbar[s].screen = s
    end
    As far as the widgets, what do you mean they don't work?  Here are some ideas to fix a variety of possible issues
      -You should have wicked-git installed.
      -You should have require("wicked") near the top of your rc.lua.
      -You need to make sure that your widgets are included in a status bar or else they won't show up.
       -And if Awesome is just reverting to default, it means there is an error in your config file.  You should try running Awesome from one of the virtual terminals and seeing what the error message says.

  • SQLS/internalExecute-SQLError: 'Error #3128: Disk I/O error occurred.', details:'', operation:'execu

    SQLS/internalExecute-SQLError: 'Error #3128: Disk I/O error occurred.', details:'', operation:'execute'

    Is this happening when a specific .muse file is open? Does it happen during or immediately after the open completes? Or is it occurring randomly while working with Muse?
    Please send the MuseLog.txt file from your Documents folder to [email protected] along with a link to this thread.
    As you work, Muse both reads from the file you opened and writes the changes you're making to disk in temp files stored on your startup drive. Without more information it's unclear which file is generating this error. Answers to the questions above along with the MuseLog.txt file will help.

  • Difference between Available and Used in Info for MacIntosh HD and Space Free and Space Utilised under Activity Monitor, Disk Usage?

    I have a MacBook Air 2010, upgraded to OSX Version 10.8.4.  When I click the Macintosh HD and then look under Info, it says I have 120.47GB capacity, Available 60.97GB, Used 59.5GB.  However when I look under Activity Monitor, Disk Usage it says Space Utilised 92.18GB, Space free: 28.29GB.  Questions:
    Why the difference?
    Which is more important for computer speed?
    How to I reduce "Space Utlised" to closer to "Used"?  (I've already moved 25GB of the more bulky, less immediate data to external storage from the computer, including emptying IPhoto Trash and the main Trash.  The Space Utilised dropped only from 95GB to 92GB--while the Used space dropped from 85GB to 60GB.)

    Iheartapple1970
    Just to let you I tried the reindexing before the Mendes advice and it had no effect.  Of course, I may have done it wrong. It was the HD icon from the desktop which I dragged into the Privacy window of Spotlight (and then did the +, OK, - and close Spotlight).  Should I have dragged in something else?  Or opened up the HD and dragged in all the contents?
    Also, there is a small section in my HD which is for my wife's account which has a separate user name and password, although it has no data in it and I set it up while under my administrator account original, so my MacAir may think I still "own" it; in any case, I did not get any sort of error message saying I did not have ownership of the entire HD.

Maybe you are looking for

  • Show Reminders in iCal not showing

    I've just discovered Reminders - and I love it! But I can't get it to show up in iCal, either on my Macbook Air or in iCloud on the web. In the view menu, I don't see the Show Reminders option. Help!

  • Deferred Tasks - Passing Variables into Workflow

    Hi everyone I am experiencing difficulties with deferred tasks in IDM 8.1. I have managed to create a deferred task on a user, with the task name being ‘Generate Email’. I also passed in an attribute ‘id’, and these can be seen in the user view under

  • Problem getting things to compile.

    I need someone to help me because I can't compile my programs. When i'm in ms-dos prompt and try to compile, it just say bad file name. Anyone know possible problems. Thanks

  • How can i download yahoo messenger on my macbook pro

    i need yahoo messenger but obviously cant find it on app store and when i try to download it using other app store it says cant open it because the application is not supported byt OSX. i need it asap please help

  • Get AP Ethernet MAC and Radio MAC command

    Hello, I would like to get a list of the associated APs on my controller.  I would like the list to show the name of the AP, the Ethernet MAC, and the Base Radio MAC address.  I planned to do a show run-config, save that information to a file and the