Introduction
When troubleshooting issues with the report caching and the history list features, diagnostic tracing can provide useful information. This document describes diagnostic tracing options commonly used to troubleshoot these issues.
Diagnostic tracing for report caches
The creation and deletion of report caches can be traced using Report Server / Cache Trace:
When a new report cache is created, entries similar to the following will be logged:
Cache Pool Table: Cache with ID 49F4B67044B06776288612B4CA063D55 is added to bucket 17 Cache Lookup Table: Cache with ID 49F4B67044B06776288612B4CA063D55 is added to bucket 4 Cache Create/Update. Report Revenue Forecast 2003, Cache 49F4B67044B06776288612B4CA063D55
CDSSCachedReport::hSaveToFile starts writing into file D:\MicroStrategy\Intelligence Server\Caches\ServerSRVR1_PD8A682024AE33B375801CBB5C8602A8A\Cache49F4B67044B06776288612B4CA063D55.che CDSSCachedReport::hSaveToFile completes writing into file D:\MicroStrategy\Intelligence Server\Caches\ServerSRVR1_PD8A682024AE33B375801CBB5C8602A8A\Cache49F4B67044B06776288612B4CA063D55.che CDSSCachedReport::hSaveToFile starts writing into file D:\MicroStrategy\Intelligence Server\Caches\ServerSRVR1_PD8A682024AE33B375801CBB5C8602A8A\Cache49F4B67044B06776288612B4CA063D55_Info.che CDSSCachedReport::hSaveToFile completes writing into file D:\MicroStrategy\Intelligence Server\Caches\ServerSRVR1_PD8A682024AE33B375801CBB5C8602A8A\Cache49F4B67044B06776288612B4CA063D55_Info.che
Cache Hit. Report Revenue Forecast 2003, Cache 49F4B67044B06776288612B4CA063D55. Found in cache: ReportInstance(Job=150 Name="Revenue Forecast 2003" ExecFlags=0x200001c0(OSrcCch UptOSrcCch RunSync LclOly ) ExecActn=0x200001c0(RslvCB OSrcCch ) )
Cache Load. Report Revenue Forecast 2003, Cache 49F4B67044B06776288612B4CA063D55.
Cache Unload. Report Revenue Forecast 2003, Cache 49F4B67044B06776288612B4CA063D55.
Cache ID = 49F4B67044B06776288612B4CA063D55, Name = Revenue Forecast 2003 is invalidated
Cache Delete. Report Revenue Forecast 2003, Cache 49F4B67044B06776288612B4CA063D55. Cache Pool Table: Cache with ID 49F4B67044B06776288612B4CA063D55 is removed from bucket 17 Cache Lookup Table: Cache with ID 49F4B67044B06776288612B4CA063D55 is removed from bucket 4
MsiUserInBox::AddMsg(): msg 31493E844EB6C6FE0A70729ED794FDE5 is added into inbox CDSSServerMessage::AddInBoxRefCount: AddInBoxRefCount to result cache 49F4B67044B06776288612B4CA063D55 for msg 31493E844EB6C6FE0A70729ED794FDE5 CDSSServerMessage::AddInBoxRefCount: msg 31493E844EB6C6FE0A70729ED794FDE5 now references to result cache 49F4B67044B06776288612B4CA063D55
CDSSServerMessage::DropResultID(): release result cache 49F4B67044B06776288612B4CA063D55 for msg 31493E844EB6C6FE0A70729ED794FDE5
MsiUserInBox::AddMsg(): msg 0130840F4B185AA66D9759A8A19D1ACC is added into inbox MsiUserInBox::AddMsg(): msg 31493E844EB6C6FE0A70729ED794FDE5 is added into inbox MsiSessionManager::AddUserSession: session 98D5CFED4049F1758EEB45832819321F for user Administrator is added into session table. MsiSessionManager::LoginUser: Total time to log in user:60 ms.
User Administrator logs out from project 0 in session 98D5CFED4049F1758EEB45832819321F User Administrator logs out from project -1 in session 98D5CFED4049F1758EEB45832819321F User Administrator's session 98D5CFED4049F1758EEB45832819321F is removed from session table.