Performance issue due to localization code in SSRS 2008
The reports I am working on consist lot of data and all the customers use it frequently.
Report title and columns are localized by expressions .
This takes long time for report rendering and exporting to csv. When I test without the localization code it doesn't take that long .
Can someone help me to optimize the report. SSRS 2008 R2
Archana
Hi Archana,
In Reporting Services, the total time to generate a reporting server report (RDL) can be divided into 3 elements:
Total time = (TimeDataRetrieval) + (TimeProcessing) + (TimeRendering)
TimeRendering means the number of milliseconds spent after the Rendering Object Model is exposed to the rendering extension. It includes the Time spent in on-demand expression evaluations (e.g. TextBox.Value, Style.*). So it is make sense that the report
with localization code takes longer time.
Besides, we can improve the report performance form other aspects. For example, we can add filter, sorting and aggregation in dataset query, because filter, sort, and aggregation is more efficient on the data source than during report processing. For more
details about report performance, please refer to the following article:
http://technet.microsoft.com/en-us/library/bb522806(v=sql.105).aspx
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support
Similar Messages
-
Performance issue with pl/sql code
Hi Oracle Gurus,
I am in need of your recommendations for a performance issue that I am facing in production envrionment. There is a pl/sql procedure which executes with different elapsed time at different executions. Elapsed Times are 30minutes , 40 minutes, 65 minutes , 3 minutes ,3 seconds.
Expected elapsed time is maximum of 3 minutes. ( But some times it took 3 seconds too...! )
Output on all different executions are same that is deletion and insertion of 12K records into a table.
Here is the auto trace details of two different scenarios.
Slow execution - 33.65 minutes
Stat Name Statement Per Execution % Snap
Elapsed Time (ms) 1,712,343 1,712,342.6 41.4
CPU Time (ms) 1,679,689 1,679,688.6 44.7
Executions 1 N/A N/A
Buffer Gets ########## 167,257,973.0 86.9
Disk Reads 1,284 1,284.0 0.4
Parse Calls 1 1.0 0.0
User I/O Wait Time (ms) 4,264 N/A N/A
Cluster Wait Time (ms) 3,468 N/A N/A
Application Wait Time (ms) 0 N/A N/A
Concurrency Wait Time (ms) 6 N/A N/A
Invalidations 0 N/A N/A
Version Count 4 N/A N/A
Sharable Mem(KB) 85 N/A N/A
-------------------------------------------------------------Fast Exection : 5 seconds
Stat Name Statement Per Execution % Snap
Elapsed Time (ms) 41,550 41,550.3 0.7
CPU Time (ms) 40,776 40,776.3 1.0
Executions 1 N/A N/A
Buffer Gets 2,995,677 2,995,677.0 4.2
Disk Reads 22 22.0 0.0
Parse Calls 1 1.0 0.0
User I/O Wait Time (ms) 162 N/A N/A
Cluster Wait Time (ms) 621 N/A N/A
Application Wait Time (ms) 0 N/A N/A
Concurrency Wait Time (ms) 55 N/A N/A
Invalidations 0 N/A N/A
Version Count 4 N/A N/A
Sharable Mem(KB) 85 N/A N/A
-------------------------------------------------------------For security reasons, I cannot share the actual code. Its a report generating code that deletes and load the data into table using insert into select statement.
Delete from table ;
cursor X to get the master data ( 98 records )
For each X loop
insert into tableA select * from tables where a= X.a and b= X.b and c=X.c ..... ;
-- 12 K records inserted on average
insert into tableB select * from tables where a= X.a and b= X.b and c=X.c ..... ;
-- 12 K records inserted on average
end loop ;1. The select query is complex with bind variables ( explain plan varies for each values )
2. I have checked the tablespace of the tables involved, it is 82% used. DBA confirmed that it is not the reason.
3. Disk reads are high during long execution.
4. At long running times, I can see a db sequential read wait event on a index object. This index is on the table where data is inserted.
All I need to find is why this code is taking 3 seconds and 60 minutes on the same day and on the consecutive executions ?
Is there any other approach to find the root cause of this behaviour and to fix it ? Kindly adivse.
Thanks in advance your help.
Regards,
Hari
Edited by: BluShadow on 26-Sep-2012 08:24
edited to add {noformat}{noformat} tags. You've been a member long enough to know to do this yourself... so please do so in future. ({message:id=9360002})Hariharan ST wrote:
Hi Oracle Gurus,
I am in need of your recommendations for a performance issue that I am facing in production envrionment. There is a pl/sql procedure which executes with different elapsed time at different executions. Please reedit your post and add some code tags around the trace information. This would improve readability greatly and will help us to help you
example
{<b></b>code}
select * from dual;{<b></b>code}
Based upon your description I can imagine two things.
a) The execution plan for the select query does change frequently.
A typical reason can be not up to date statistics.
b) Some locking / wait conflict. For example upon a UK index.
Are there any other operations going on while it is slow? If anybody inserts a value, then your session will wait, if the same (PK/UK) value also is to be inserted.
Those wait events can be recognized using standard tools like oracle sql developer or enterprise manager while the query is slow.
Also go through the links that are in the FAQ. They tell you how to get better information for makeing a tuning request.
SQL and PL/SQL FAQ
Edited by: Sven W. on Sep 25, 2012 6:41 PM -
Cisco ASR 1002- performance issue due to access list
Hi,
We are planning to implement inbound access-list to block subnets from particular country. Since the subnets are not contiguous, we have about 16000 lines of acl entries.
I want to know, would there be any performance or latency issues after applying 16k lines of acl?
Is there a good document where I can read more about ACL limitations and performance issues on ASR.
This is for ASR1002, running IOS-XE 15.3(1)S1.
ThanksDisclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Sorry, I don't know the answer to your questions, but I'm writing to mention a 7200 feature, that if supported on the ASR, might help in your situation. See http://www.cisco.com/c/en/us/support/docs/security/ios-firewall/23602-confaccesslists.html#turbo -
Avoiding performance issue due to loop within loop on internal tables
Hi Experts,
I have a requirement where in i want to check whether each of the programs stored in one internal table are called from any of the programs stored in another internal table. In this case i am looping on two internal tables (Loop within a loop) which is causing a major performance issue. Program is running very very slow.
Can any one advise how to resolve this performance issue so that program runs faster.
Thanks in advance.
Regards,
Chetan.Forget the parallel cursur stuff, it is much to complicated for general usage and helps nearly nothing. I will publish a blog in the next days where this is shown in detail.
Loop on loop is no problem if the inner table is a hashed or sorted table.
If it must be a standard table, then you must make a bit more effort and faciliate a binary search (read binary search / loop from index exit)
see here the exact coding Measurements on internal tables: Reads and Loops:
/people/siegfried.boes/blog/2007/09/12/runtimes-of-reads-and-loops-on-internal-tables
And don't forget, the other table must not be sorted, the loop reaches anyway every line. The parallel cursor requires both tables to be sorted. The additional sort
consumes nearly the whole advantage of the parallel cursor compared to the simple but good loop in loop solutions.
Siegfried -
Hi,
I am trying to write Custom Code in SSRS for Age Calculation for two requirements in the same report,But report is giving error #Error in expression with my below code.
whole logic is same for both but only two lines are different,Do i need create two functions or can i use them in one function.Please guide me.
1)Age in Years (Ex: 4)
2) Age in Years + months (ex: 3 Years 6 months)
My SSRS Custom Code:
Public Shared Dim Years as Integer
Public Shared Dim Months as Integer
Public Shared Dim Days as Integer
Public Shared Dim Age as Integer
Public Shared Function CalAge(ByVal D1 As Datetime,ByVal D2 As Datetime ) As Integer
Years=Year(D1)-Year(D2)
Months=Month(D1)-Month(D2)
Days=Day(D1)-Day(D2)
If Days < 0 then
Months=Months-1
End if
If Months < 0 then
Years=Years-1
End if
If Months < 0 then
Months=Months+12
End If
Return Years
If Months=1 then
Age=Years+" Years " + Months + "Month"
else
Age=Years+" Years " + Months + "Months"
End If
Return Age
End Functionhi Guys,
I have finally changed my custom code to below :
Public Shared Dim Years as Integer
Public Shared Dim Months as Integer
Public Shared Dim Days as Integer
Public Shared Function CalAge(ByVal D1 As Datetime,ByVal D2 As Datetime ) As Integer
Days=DatePart(DateInterval.Day,D1)-DatePart(DateInterval.Day,D2)
Months=DatePart(DateInterval.Month,D1)-DatePart(DateInterval.Month,D2)
Years=DatePart(DateInterval.Year,D1)-DatePart(DateInterval.Year,D2)
If Days < 0 then
Months=Months-1
End If
If Months < 0 then
Years=Years-1
End If
If Months < 0 then
Months=Months+12
End If
Return Years
End Function
Public Shared Function CalMon(ByVal D3 As Datetime,ByVal D4 As Datetime ) As Integer
Days=DatePart(DateInterval.Day,D3)-DatePart(DateInterval.Day,D4)
Months=DatePart(DateInterval.Month,D3)-DatePart(DateInterval.Month,D4)
Years=DatePart(DateInterval.Year,D3)-DatePart(DateInterval.Year,D4)
If Days < 0 then
Months=Months-1
End If
If Months < 0 then
Years=Years-1
End If
If Months < 0 then
Months=Months+12
End If
Return Months
End Function
and using expression in SSRS fo display like this :
=IIF((Code.CalMon(Parameters!AgeCalcDate.Value,Fields!StudentBirthDate.Value))=1,Code.CalAge(Parameters!AgeCalcDate.Value,Fields!StudentBirthDate.Value) & " Years " & Code.CalMon(Parameters!AgeCalcDate.Value,Fields!StudentBirthDate.Value)
& " Month ",
Code.CalAge(Parameters!AgeCalcDate.Value,Fields!StudentBirthDate.Value) & " Years " & Code.CalMon(Parameters!AgeCalcDate.Value,Fields!StudentBirthDate.Value) & " Months ")
got the correct solution. -
Performance issue due to RFC calls. (R/3 to R/3 system)
Hi,
My application face serious performance problem because of RFC calls (R/3 system to R/3 system).
1)is there any transaction code for doing performance analysis on RFC calls in R/3 system?
2)How far large volume of Data Transfer (mainly due to internal tables) in a RFC call affects the performance? is there any limit for data transfer size at a time in a RFC call? if so how to calculate for best performance?
Thanks and regards,
Prakash.Hi Andreas,
Suppose an RFC enabled Fm having an internal table as importing parameter.During execution of this Fm with 4000 enteries for the internal table results in performance degrading.is there any way to improve the performance?.
Thanks and regards,
Prakash. -
Performance issue due to column formula and filters
Hi,
I am facing strange issue with performance for my OBIEE reports. I have two sets of reports Static and Dynamic. Both runs against same tables. The only difference between these reports is that the Static reports would run against all the data for given aggregation level e.g. Year, Month, Date and so on. Where as for Dynamic one I have range prompts to filter data. Other difference is that I have a column formula for one of the column in the Dynamic report, which is nothing but Go URL to show another page with certain parameters.
The static report takes around 14-15 Seconds where as the Dynamic one takes around 3.5 min. The amount of data and range is same here. From the logs I could see that for the Static reports, i.e. reports without filters it applys group by at SQL level where as it is not doing so for the dynamic one. Is this expected ?
Second issue is, even if I say remove the filters and just have report with column formula in one and no formula in other there is significant time difference in the processing at Presentation service layer. Again this is taken from the log. it takes 8 second to get data from DB but shows almost 218 Seconds as response time at Presentation layer.
Below are conceptual details about table and reports -
Table 1 (It is date dimension) : Date_Dim
DateCode Date
Day Number
MonthCode Varchar2
YearCode Varchar2
Table 2 (It is aggregate table at year level) : Year_Aggr
DateCode Date (FK to Table1 above)
Measure1
Measure2
Measure3
Measure4
Measure5
Report 1
Date_Dim.YearCode | Year_Aggr.Measure1 | Year_Aggr.Measure2 | Year_Aggr.Measure3 | Year_Aggr.Measure4
Report 2
Dashboard Filter : Dimension1 | Dimension2 | Year Start | Year End |
Date_Dim.YearCode | Year_Aggr.Measure1 | Year_Aggr.Measure2 | Year_Aggr.Measure3 | Year_Aggr.Measure4
Column formula for Date_Dim.YearCode is something like :
'<a href="saw.dll?Dashboard&PortalPath=somepath and parameters target=_self>' || Date Dim"."YearCode" || '</a">'
Filters :
Dimension1 is prompted...
Dimension2 is prompted...
cast("Date Dim"."YearCode" as Int) is greater than or equal to @{Start_Year}
cast("Date Dim"."YearCode" as Int) is greater than or equal to @{End_Year}
Note : I need to apply cast to int as column is varchar2, legacy problem.+
How can I fix this? Am I missing something? In the result of report2 the DB SQL doesn't show the year in where thought it is displayed in the logical sql.
Let me know if anybody had faced this and have fixed. Or suggetion to make changes to fix this.
Thannks,
Ritesh</a>Hi Ritesh,
I think you right about the root cause of your problem. The first request does the group by in the database which returns fewer records to the BI Server for processing. The second request does not do the group by and sends significantly more records back to the BI server forcing it to do the group by. Compound that with the fact that pivot table views are relatively expensive computationally and that explains the difference between the execution times.
Assuming that the execution time of the first report is satisfactory, I would recommend you try to experiment with a few settings to see if you can get the second report to do the group by in the database.
Are the two filters identical except for the following conditions?
cast("Date Dim"."YearCode" as Int) is greater than or equal to @{Start_Year}
cast("Date Dim"."YearCode" as Int) is greater than or equal to @{End_Year}
Best regards,
-Joe -
SAP MaxDB 7.7.07.16 - performance issue due to IOWait(R) task
We are running MaxDB 7.7.07.16 unicode in a non SAP environment (is basis for a web application).
Database Server has 4 Cpu's, 8 Gb RAM, operating system Debian-Linux 6.0.
We have some performance problems in not regular periods of time.
The performance problem occurs for a time frame between 3 and 15 minutes and blocks more or less the complete system.
After a long phase of checking and evaluating possible issues, we think that we are very near to the issue.
We identified the database tasks
- TblPrfC - Prefetch Table Coordinator:
- PrefPag - Prefetch Pages
having the current state "IO Wait (R)".
As long these tasks are in state "IO Wait (R)" the users (at the web application) gets awful slow respond times on their queries.
On 9th of April 2011 we changed the DB parameters:
- ReadAheadTableThreshold old 0 => new 128
But today we got the same performance problem again.
If you have any hints or tips, you're welcome!
Best regards
HannesHello Hannes,
ok brief but hopefully usefull answer to your post:
- if the database I/O generated by SQL statements alone brings the system to a grinding halt, then your storage system is undersized. How should it be able to handle additional I/O, e.g. for backups if it isn't capable to handle the standard I/O?
- the prefetching tasks are used to speed up large scan operations. So, the next thing to do here is to find statements that perform table scans and check whether or not these can be tuned to KEY or Index accesses
- As a workaround, I would propose to increase the value of ReadAheadTableThreshold to, say, 500, so that the prefetching is done only for really large scans.
regards,
Lars -
System performance issue due to multiple submission of a job
For month end recoincilation users run few critical reports which are quite resource consuming.
In order to control this, want to restrict the usage of such reports. For example if one session is active (Foreground or background) user couldn't submit another job or gets a pop up with an error mesage.
Searched SDN for this and couldn't find much.
anyaAnya since this is the ABAP forum and I happen to be an ABAP programmer I can give you an ABAP solution. This would involve changes to the code in all these reports so you would need the help of an ABAP programmer if you are not one.
a) Create a Z table containing 3 fields
1) Client of type MANDT (Primary key field)
2)Program Name of type PROGRAM_ID (Primary key field)
3) User name of type XUBNAME (Regular field).
b) Create table maintenance for this internal table.
c) Create one record for each of the programs you want to regulate. You only need to enter the program name initially and leave the user name blank.
d) In all the ABAP programs make the following change.
1) Under the START-OF-SELECTION event of the report lock the use function module ENQUEUE_E_TABLEE to lock the record in the Ztable for the program being executed. Look at the sample code below.
TABLES: <ztable>.
data: w_message(100) TYPE c,
w_locked(1) TYPE c.
CALL FUNCTION 'ENQUEUE_E_TABLEE'
EXPORTING
tabname = <ztable name>
varkey = <concatenation of mandt and sy-cprog>
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
IF sy-subrc EQ 1.
SELECT SINGLE *
FROM <ztable>
INTO <ztable>
WHERE program FIELD name EQ sy-cprog.
IF sy-subrc EQ 0.
CONCATENATE 'Program'
sy-cprog
'is currently being used by'
<ztable>-<user name>
INTO w_message SEPARATED BY space.
MESSAGE e208(00) WITH w_message.
ENDIF.
ELSEIF sy-subrc EQ 0.
w_locked = 'X'.
SELECT SINGLE *
FROM <ztable>
INTO <ztable>
WHERE program FIELD name EQ sy-cprog.
IF sy-subrc EQ 0.
<ztable>-user name> = sy-uname.
MODIFY <ztable> FROM <ztable>.
ENDIF.
ENDIF.
e) At the event END-OF-SELECTION (at the end of the program) use function module DEQUEUE_E_TABLEE to unlock the record. Look at sample code below.
CASE w_locked.
WHEN 'X'.
CALL FUNCTION 'DEQUEUE_E_TABLEE'
EXPORTING
tabname = <ztable name>
varkey = <concatenation of mandt and sy-cprog>.
ENDCASE.
This code is designed to allow just one user or job to run the program at a time. The second person will be issued an error message informing him/her that the program is being used by <user name>. -
Performance Issues due to Loading of ADF/JClient View Objects
Hi,
I developed a two-tier ADF/JClient application.
When the ADF/JClient application opens for the first time, there's a big delay
However opening it subsequently, takes less than half of the time to open the screen.
I think it might the xml files of different view objects which the framework loads for the first time, and thus takes a lot of time. And after that, the time to open the application reduces.
We have around 200 view objects in our application. Can this be the reason?
If yes, then can we load the view objects before ahead, or can we just load them at the very time they are requested ?
Thanks,
Makrand PareHi Makrand,
Check this out:
"Limiting Fetching of Business Components Attributes in ADF Swing
http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtTopicFile.developing_jclient_applications%7Cjui_plimitingfetching%7Ehtml/
Note: In local mode deployment (the client and Business Components reside in the same VM), the fetching of attribute properties is not supported.
You can optimize startup time for a Business Components client application and the remotely deployed Business Components by specifying the list of view object attributes that your client uses. If you create a project without the metadata, by coding to the API, you will want to add fetchAttributeProperties() to the bootstrap code of the client forms with a list of only the attributes used by the form. Without this method call, your client form would fetch all control hint properties (including the attributes format and label for example) for all the attributes of the named view objects in the application module, in a single network roundtrip.
For example, when you do not intend to use all the attributes of the ADF Swing form's bound view object, with the fetchAttributeProperties() method, your ADF Swing form fetches only the information required to layout your forms, while ignoring the attributes you do not require.
Note: In local mode deployment (the client and Business Components reside in the same VM), the fetching of attribute pro
Calling fetchAttributeProperties() will prevent property methods such as getFormat() or getLabel() from being called on the Business Components attribute definition whenever the form is created."
Vlad -
How do you solve issue of reports timing out with SSRS (2008 R2) Report Manger?
When trying to access reports through Report Manager we get an error:
An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database. (rsReportServerDatabaseError)
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
The reports were all running ok until the night before last when some more reports were deployed.
Now that this has occurred it is impossible to carry out any action on the reports in the Report Manager - e.g. delete etc.
This issue is also affecting Reports that are accessed through the ReportServer.
A typical log we get is as below:
<Product>Microsoft SQL Server Reporting Services Version 2009.0100.1600.01 ((KJ_RTM).100402-1539 )</Product>
<Locale>English (United Kingdom)</Locale>
<TimeZone>GMT Daylight Time</TimeZone>
<Path>C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\Logfiles\ReportServerService__04_17_2014_09_26_58.log</Path>
<SystemName>WIN-0F023F9I3H1</SystemName>
<OSName>Microsoft Windows NT 6.1.7601 Service Pack 1</OSName>
<OSVersion>6.1.7601</OSVersion>
<ProcessID>2432</ProcessID>
<Virtualization>Hypervisor</Virtualization>
</Header>
rshost!rshost!828!04/17/2014-09:26:58:: i INFO: CLR runtime is initialized.
rshost!rshost!828!04/17/2014-09:26:58:: i INFO: Derived memory configuration based on physical memory as 4193784 KB
appdomainmanager!DefaultDomain!d20!04/17/2014-09:26:58:: i INFO: Entered managed ServiceMain in DefaultDomain.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing ConnectionType to '0' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing SecureConnectionLevel to '0' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing CleanupCycleMinutes to '10' minute(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing DailyCleanupMinuteOfDay to '120' minutes since midnight as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing RunningRequestsScavengerCycle to '60' second(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing RunningRequestsAge to '30' second(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing MaxScheduleWait to '60' second(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing DisplayErrorLink to 'True' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing WebServiceUseFileShareStorage to 'False' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing WatsonFlags to '1064' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing WatsonDumpOnExceptions to 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException,Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException'
as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to 'System.Threading.ThreadAbortException,System.Web.UI.ViewStateException,System.OutOfMemoryException,System.Web.HttpException,System.IO.IOException,System.IO.FileLoadException,Microsoft.SharePoint.SPException'
as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing AuthenticationTypes to '5' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing RSWindowsExtendedProtectionLevel to 'Off' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing RSWindowsExtendedProtectionScenario to 'Proxy' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing EnableAuthPersistence to 'True' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing IsSchedulingService to 'True' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing IsNotificationService to 'True' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing IsEventService to 'True' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing PollingInterval to '10' second(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing WindowsServiceUseFileShareStorage to 'False' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing MemorySafetyMargin to '80' percent as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing MemoryThreshold to '90' percent as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing RecycleTime to '720' minute(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing MaxQueueThreads to '0' thread(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: w WARN: Initializing UrlRoot to default value of '' because it was incorrectly specified in Configuration file as ''.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing IsWebServiceEnabled to 'True' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing IsReportManagerEnabled to 'True' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing MaxConnections to '2' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing Timeout to '10' second(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing AppID to '(Default)' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing CacheLevel to 'Default' as specified in Configuration file.
resourceutilities!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Reporting Services starting SKU: Standard
configmanager!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Using report server internal url http://localhost:80/ReportServer.
configmanager!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Using report server external url http://WIN-0F023F9I3H1:80/ReportServer.
configmanager!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Using url root http://WIN-0F023F9I3H1:80/ReportServer.
rshost!rshost!b78!04/17/2014-09:26:59:: i INFO: Configuring maxPhysicalCpu=4, minLogicalCpu=0
rshost!rshost!b78!04/17/2014-09:26:59:: i INFO: Logical processor per physical processor 4
rshost!rshost!b78!04/17/2014-09:26:59:: i INFO: Maximum logical CPU is 4
configmanager!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Using report server internal url http://localhost:80/ReportServer.
configmanager!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Using report server external url http://WIN-0F023F9I3H1:80/ReportServer.
configmanager!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Using url root http://WIN-0F023F9I3H1:80/ReportServer.
appdomainmanager!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Appdomain:2 WindowsService_0 started.
resourceutilities!WindowsService_0!b78!04/17/2014-09:27:00:: i INFO: Reporting Services starting SKU: Standard
library!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: Catalog SQL Server Edition = Standard
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Registered url=http://+:80/ReportServer/, vdir=/ReportServer, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer.
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Registered url=http://regreports.edfringe.com:80/ReportServer/, vdir=/ReportServer, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer.
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Registered url=http://localhost:80/ReportServer/, vdir=/ReportServer, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer.
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Currently registered url http://localhost:80/ReportServer/ on endpoint 2
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Currently registered url http://regreports.edfringe.com:80/ReportServer/ on endpoint 2
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Currently registered url http://+:80/ReportServer/ on endpoint 2
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Registered url=http://+:80/Reports/, vdir=/Reports, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager.
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Registered url=http://regreports.edfringe.com:80/Reports/, vdir=/Reports, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager.
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Registered url=http://localhost:80/Reports/, vdir=/Reports, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager.
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Currently registered url http://localhost:80/Reports/ on endpoint 3
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Currently registered url http://regreports.edfringe.com:80/Reports/ on endpoint 3
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Currently registered url http://+:80/Reports/ on endpoint 3
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Endpoint 4 is disabled and no url is registered vdir=/ReportServer/ReportBuilder, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\ReportBuilder.
resourceutilities!DefaultDomain!b78!04/17/2014-09:27:00:: i INFO: Maximum memory limit is 65536Mb
rshost!rshost!b78!04/17/2014-09:27:00:: i INFO: Derived memory configuration based on physical memory as 4193784 KB
servicecontroller!DefaultDomain!1578!04/17/2014-09:27:00:: i INFO: Total Physical memory: 4294434816
rpcserver!DefaultDomain!1044!04/17/2014-09:27:00:: i INFO: Process monitoring started.
crypto!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: Initializing crypto as user: NT AUTHORITY\NETWORK SERVICE
crypto!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: Exporting public key
crypto!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: Performing sku validation
crypto!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: Importing existing encryption key
dbpolling!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: EventPolling polling service started
dbpolling!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: NotificationPolling polling service started
dbpolling!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: SchedulePolling polling service started
dbpolling!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: UpgradePolling polling service started
dbpolling!WindowsService_0!f74!04/17/2014-09:27:00:: i INFO: HeartbeatThread(EventPolling): heartbeat thread started.
dbpolling!WindowsService_0!51c!04/17/2014-09:27:00:: i INFO: HeartbeatThread(NotificationPolling): heartbeat thread started.
dbpolling!WindowsService_0!11d4!04/17/2014-09:27:00:: i INFO: PollingMaintenance: Polling started
resourceutilities!WindowsService_0!11d4!04/17/2014-09:27:00:: i INFO: Maximum memory limit is 65536Mb
rpcserver!DefaultDomain!e34!04/17/2014-09:27:00:: i INFO: RPC Server started.
servicecontroller!DefaultDomain!e34!04/17/2014-09:27:00:: i INFO: RPC Server started. Endpoint name ='ReportingServices$MSRS10_50.MSSQLSERVER'
appdomainmanager!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: Appdomain:2 WindowsService_0 initialized.
library!DefaultDomain!e34!04/17/2014-09:27:01:: i INFO: Catalog SQL Server Edition = Standard
appdomainmanager!DefaultDomain!123c!04/17/2014-09:27:51:: i INFO: Appdomain:3 ReportManager_MSSQLSERVER_0-1-130421968711068584 started.
appdomainmanager!ReportManager_0-1!123c!04/17/2014-09:27:51:: i INFO: RS authentication mode is 5; effective ASP.NET authentication mode is Windows. vdir=/Reports.
appdomainmanager!DefaultDomain!123c!04/17/2014-09:27:51:: i INFO: Appdomain:3 ReportManager_MSSQLSERVER_0-1-130421968711068584 initialized (#1).
appdomainmanager!DefaultDomain!100!04/17/2014-09:27:54:: i INFO: Appdomain:4 ReportServer_MSSQLSERVER_0-2-130421968744180477 started.
appdomainmanager!ReportServer_0-2!100!04/17/2014-09:27:54:: i INFO: RS authentication mode is 5; effective ASP.NET authentication mode is Windows. vdir=/ReportServer.
appdomainmanager!DefaultDomain!100!04/17/2014-09:27:54:: i INFO: Appdomain:4 ReportServer_MSSQLSERVER_0-2-130421968744180477 initialized (#1).
webserver!ReportServer_0-2!100!04/17/2014-09:28:00:: i INFO: Reporting Web Server started
resourceutilities!ReportServer_0-2!100!04/17/2014-09:28:01:: i INFO: Reporting Services starting SKU: Standard
resourceutilities!ReportServer_0-2!100!04/17/2014-09:28:01:: i INFO: Maximum memory limit is 65536Mb
library!ReportServer_0-2!6f4!04/17/2014-09:28:02:: Call to GetPermissionsAction(/).
library!ReportServer_0-2!6f4!04/17/2014-09:28:03:: i INFO: Catalog SQL Server Edition = Standard
crypto!ReportServer_0-2!6f4!04/17/2014-09:28:03:: i INFO: Initializing crypto as user: NT AUTHORITY\NETWORK SERVICE
crypto!ReportServer_0-2!6f4!04/17/2014-09:28:03:: i INFO: Exporting public key
crypto!ReportServer_0-2!6f4!04/17/2014-09:28:03:: i INFO: Performing sku validation
crypto!ReportServer_0-2!6f4!04/17/2014-09:28:03:: i INFO: Importing existing encryption key
library!ReportServer_0-2!6f4!04/17/2014-09:28:03:: Call to GetPropertiesAction(/, PathBased).
library!ReportServer_0-2!6f4!04/17/2014-09:28:03:: Call to GetPropertiesAction(/, PathBased).
library!ReportServer_0-2!6f4!04/17/2014-09:28:03:: Call to GetSystemPermissionsAction().
library!ReportServer_0-2!6f4!04/17/2014-09:28:03:: Call to ListChildrenAction(/, False).
library!ReportServer_0-2!6f4!04/17/2014-09:28:03:: Call to GetSystemPropertiesAction().
library!ReportServer_0-2!6f4!04/17/2014-09:28:03:: Call to GetSystemPropertiesAction().
library!ReportServer_0-2!6f4!04/17/2014-09:28:06:: Call to GetPermissionsAction(/EFW_Reports).
library!ReportServer_0-2!6f4!04/17/2014-09:28:06:: Call to GetPropertiesAction(/EFW_Reports, PathBased).
library!ReportServer_0-2!6f4!04/17/2014-09:28:06:: Call to GetPropertiesAction(/EFW_Reports, PathBased).
library!ReportServer_0-2!6f4!04/17/2014-09:28:06:: Call to GetSystemPermissionsAction().
library!ReportServer_0-2!6f4!04/17/2014-09:28:06:: Call to ListChildrenAction(/EFW_Reports, False).
library!ReportServer_0-2!6f4!04/17/2014-09:28:06:: Call to GetSystemPropertiesAction().
library!ReportServer_0-2!6f4!04/17/2014-09:28:06:: Call to GetSystemPropertiesAction().
library!ReportServer_0-2!6f4!04/17/2014-09:28:06:: Call to GetSystemPropertiesAction().
library!ReportServer_0-2!e34!04/17/2014-09:28:15:: Call to GetPermissionsAction(/EFW_Reports/Show_Proof_Orgs).
library!ReportServer_0-2!e34!04/17/2014-09:28:15:: Call to GetSystemPropertiesAction().
library!ReportServer_0-2!e34!04/17/2014-09:28:15:: Call to GetPropertiesAction(/EFW_Reports/Show_Proof_Orgs, PathBased).
library!ReportServer_0-2!e34!04/17/2014-09:28:16:: Call to GetSystemPermissionsAction().
ui!ReportManager_0-1!168c!04/17/2014-09:28:16:: i INFO: PageCountMode 'Estimate' read from config file
ui!ReportManager_0-1!168c!04/17/2014-09:28:16:: i INFO: AccessibleTablix value not specified in config file.
library!ReportServer_0-2!e34!04/17/2014-09:28:17:: Call to GetSystemPropertiesAction().
library!ReportServer_0-2!e34!04/17/2014-09:30:23:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database. This may be due to a connection failure, timeout
or low disk condition within the database.;
library!ReportServer_0-2!e34!04/17/2014-09:30:23:: w WARN: Transaction rollback was not executed connection is invalid
library!ReportServer_0-2!e34!04/17/2014-09:32:28:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database. This may be due to a connection failure, timeout
or low disk condition within the database.;
library!ReportServer_0-2!e34!04/17/2014-09:32:28:: w WARN: Transaction rollback was not executed connection is invalidWhen trying to access reports through Report Manager we get an error:
An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database. (rsReportServerDatabaseError)
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
The reports were all running ok until the night before last when some more reports were deployed.
Now that this has occurred it is impossible to carry out any action on the reports in the Report Manager - e.g. delete etc.
This issue is also affecting Reports that are accessed through the ReportServer.
A typical log we get is as below:
<Product>Microsoft SQL Server Reporting Services Version 2009.0100.1600.01 ((KJ_RTM).100402-1539 )</Product>
<Locale>English (United Kingdom)</Locale>
<TimeZone>GMT Daylight Time</TimeZone>
<Path>C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\Logfiles\ReportServerService__04_17_2014_09_26_58.log</Path>
<SystemName>WIN-0F023F9I3H1</SystemName>
<OSName>Microsoft Windows NT 6.1.7601 Service Pack 1</OSName>
<OSVersion>6.1.7601</OSVersion>
<ProcessID>2432</ProcessID>
<Virtualization>Hypervisor</Virtualization>
</Header>
rshost!rshost!828!04/17/2014-09:26:58:: i INFO: CLR runtime is initialized.
rshost!rshost!828!04/17/2014-09:26:58:: i INFO: Derived memory configuration based on physical memory as 4193784 KB
appdomainmanager!DefaultDomain!d20!04/17/2014-09:26:58:: i INFO: Entered managed ServiceMain in DefaultDomain.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing ConnectionType to '0' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing SecureConnectionLevel to '0' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing CleanupCycleMinutes to '10' minute(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing DailyCleanupMinuteOfDay to '120' minutes since midnight as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing RunningRequestsScavengerCycle to '60' second(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing RunningRequestsAge to '30' second(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing MaxScheduleWait to '60' second(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing DisplayErrorLink to 'True' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing WebServiceUseFileShareStorage to 'False' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing WatsonFlags to '1064' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing WatsonDumpOnExceptions to 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException,Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException'
as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to 'System.Threading.ThreadAbortException,System.Web.UI.ViewStateException,System.OutOfMemoryException,System.Web.HttpException,System.IO.IOException,System.IO.FileLoadException,Microsoft.SharePoint.SPException'
as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing AuthenticationTypes to '5' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing RSWindowsExtendedProtectionLevel to 'Off' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing RSWindowsExtendedProtectionScenario to 'Proxy' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing EnableAuthPersistence to 'True' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing IsSchedulingService to 'True' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing IsNotificationService to 'True' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing IsEventService to 'True' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing PollingInterval to '10' second(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing WindowsServiceUseFileShareStorage to 'False' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing MemorySafetyMargin to '80' percent as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing MemoryThreshold to '90' percent as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing RecycleTime to '720' minute(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing MaxQueueThreads to '0' thread(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: w WARN: Initializing UrlRoot to default value of '' because it was incorrectly specified in Configuration file as ''.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing IsWebServiceEnabled to 'True' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing IsReportManagerEnabled to 'True' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing MaxConnections to '2' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing Timeout to '10' second(s) as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing AppID to '(Default)' as specified in Configuration file.
library!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Initializing CacheLevel to 'Default' as specified in Configuration file.
resourceutilities!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Reporting Services starting SKU: Standard
configmanager!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Using report server internal url http://localhost:80/ReportServer.
configmanager!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Using report server external url http://WIN-0F023F9I3H1:80/ReportServer.
configmanager!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Using url root http://WIN-0F023F9I3H1:80/ReportServer.
rshost!rshost!b78!04/17/2014-09:26:59:: i INFO: Configuring maxPhysicalCpu=4, minLogicalCpu=0
rshost!rshost!b78!04/17/2014-09:26:59:: i INFO: Logical processor per physical processor 4
rshost!rshost!b78!04/17/2014-09:26:59:: i INFO: Maximum logical CPU is 4
configmanager!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Using report server internal url http://localhost:80/ReportServer.
configmanager!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Using report server external url http://WIN-0F023F9I3H1:80/ReportServer.
configmanager!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Using url root http://WIN-0F023F9I3H1:80/ReportServer.
appdomainmanager!DefaultDomain!b78!04/17/2014-09:26:59:: i INFO: Appdomain:2 WindowsService_0 started.
resourceutilities!WindowsService_0!b78!04/17/2014-09:27:00:: i INFO: Reporting Services starting SKU: Standard
library!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: Catalog SQL Server Edition = Standard
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Registered url=http://+:80/ReportServer/, vdir=/ReportServer, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer.
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Registered url=http://regreports.edfringe.com:80/ReportServer/, vdir=/ReportServer, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer.
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Registered url=http://localhost:80/ReportServer/, vdir=/ReportServer, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer.
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Currently registered url http://localhost:80/ReportServer/ on endpoint 2
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Currently registered url http://regreports.edfringe.com:80/ReportServer/ on endpoint 2
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Currently registered url http://+:80/ReportServer/ on endpoint 2
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Registered url=http://+:80/Reports/, vdir=/Reports, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager.
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Registered url=http://regreports.edfringe.com:80/Reports/, vdir=/Reports, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager.
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Registered url=http://localhost:80/Reports/, vdir=/Reports, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager.
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Currently registered url http://localhost:80/Reports/ on endpoint 3
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Currently registered url http://regreports.edfringe.com:80/Reports/ on endpoint 3
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Currently registered url http://+:80/Reports/ on endpoint 3
rshost!rshost!1044!04/17/2014-09:27:00:: i INFO: Endpoint 4 is disabled and no url is registered vdir=/ReportServer/ReportBuilder, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\ReportBuilder.
resourceutilities!DefaultDomain!b78!04/17/2014-09:27:00:: i INFO: Maximum memory limit is 65536Mb
rshost!rshost!b78!04/17/2014-09:27:00:: i INFO: Derived memory configuration based on physical memory as 4193784 KB
servicecontroller!DefaultDomain!1578!04/17/2014-09:27:00:: i INFO: Total Physical memory: 4294434816
rpcserver!DefaultDomain!1044!04/17/2014-09:27:00:: i INFO: Process monitoring started.
crypto!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: Initializing crypto as user: NT AUTHORITY\NETWORK SERVICE
crypto!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: Exporting public key
crypto!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: Performing sku validation
crypto!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: Importing existing encryption key
dbpolling!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: EventPolling polling service started
dbpolling!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: NotificationPolling polling service started
dbpolling!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: SchedulePolling polling service started
dbpolling!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: UpgradePolling polling service started
dbpolling!WindowsService_0!f74!04/17/2014-09:27:00:: i INFO: HeartbeatThread(EventPolling): heartbeat thread started.
dbpolling!WindowsService_0!51c!04/17/2014-09:27:00:: i INFO: HeartbeatThread(NotificationPolling): heartbeat thread started.
dbpolling!WindowsService_0!11d4!04/17/2014-09:27:00:: i INFO: PollingMaintenance: Polling started
resourceutilities!WindowsService_0!11d4!04/17/2014-09:27:00:: i INFO: Maximum memory limit is 65536Mb
rpcserver!DefaultDomain!e34!04/17/2014-09:27:00:: i INFO: RPC Server started.
servicecontroller!DefaultDomain!e34!04/17/2014-09:27:00:: i INFO: RPC Server started. Endpoint name ='ReportingServices$MSRS10_50.MSSQLSERVER'
appdomainmanager!WindowsService_0!e34!04/17/2014-09:27:00:: i INFO: Appdomain:2 WindowsService_0 initialized.
library!DefaultDomain!e34!04/17/2014-09:27:01:: i INFO: Catalog SQL Server Edition = Standard
appdomainmanager!DefaultDomain!123c!04/17/2014-09:27:51:: i INFO: Appdomain:3 ReportManager_MSSQLSERVER_0-1-130421968711068584 started.
appdomainmanager!ReportManager_0-1!123c!04/17/2014-09:27:51:: i INFO: RS authentication mode is 5; effective ASP.NET authentication mode is Windows. vdir=/Reports.
appdomainmanager!DefaultDomain!123c!04/17/2014-09:27:51:: i INFO: Appdomain:3 ReportManager_MSSQLSERVER_0-1-130421968711068584 initialized (#1).
appdomainmanager!DefaultDomain!100!04/17/2014-09:27:54:: i INFO: Appdomain:4 ReportServer_MSSQLSERVER_0-2-130421968744180477 started.
appdomainmanager!ReportServer_0-2!100!04/17/2014-09:27:54:: i INFO: RS authentication mode is 5; effective ASP.NET authentication mode is Windows. vdir=/ReportServer.
appdomainmanager!DefaultDomain!100!04/17/2014-09:27:54:: i INFO: Appdomain:4 ReportServer_MSSQLSERVER_0-2-130421968744180477 initialized (#1).
webserver!ReportServer_0-2!100!04/17/2014-09:28:00:: i INFO: Reporting Web Server started
resourceutilities!ReportServer_0-2!100!04/17/2014-09:28:01:: i INFO: Reporting Services starting SKU: Standard
resourceutilities!ReportServer_0-2!100!04/17/2014-09:28:01:: i INFO: Maximum memory limit is 65536Mb
library!ReportServer_0-2!6f4!04/17/2014-09:28:02:: Call to GetPermissionsAction(/).
library!ReportServer_0-2!6f4!04/17/2014-09:28:03:: i INFO: Catalog SQL Server Edition = Standard
crypto!ReportServer_0-2!6f4!04/17/2014-09:28:03:: i INFO: Initializing crypto as user: NT AUTHORITY\NETWORK SERVICE
crypto!ReportServer_0-2!6f4!04/17/2014-09:28:03:: i INFO: Exporting public key
crypto!ReportServer_0-2!6f4!04/17/2014-09:28:03:: i INFO: Performing sku validation
crypto!ReportServer_0-2!6f4!04/17/2014-09:28:03:: i INFO: Importing existing encryption key
library!ReportServer_0-2!6f4!04/17/2014-09:28:03:: Call to GetPropertiesAction(/, PathBased).
library!ReportServer_0-2!6f4!04/17/2014-09:28:03:: Call to GetPropertiesAction(/, PathBased).
library!ReportServer_0-2!6f4!04/17/2014-09:28:03:: Call to GetSystemPermissionsAction().
library!ReportServer_0-2!6f4!04/17/2014-09:28:03:: Call to ListChildrenAction(/, False).
library!ReportServer_0-2!6f4!04/17/2014-09:28:03:: Call to GetSystemPropertiesAction().
library!ReportServer_0-2!6f4!04/17/2014-09:28:03:: Call to GetSystemPropertiesAction().
library!ReportServer_0-2!6f4!04/17/2014-09:28:06:: Call to GetPermissionsAction(/EFW_Reports).
library!ReportServer_0-2!6f4!04/17/2014-09:28:06:: Call to GetPropertiesAction(/EFW_Reports, PathBased).
library!ReportServer_0-2!6f4!04/17/2014-09:28:06:: Call to GetPropertiesAction(/EFW_Reports, PathBased).
library!ReportServer_0-2!6f4!04/17/2014-09:28:06:: Call to GetSystemPermissionsAction().
library!ReportServer_0-2!6f4!04/17/2014-09:28:06:: Call to ListChildrenAction(/EFW_Reports, False).
library!ReportServer_0-2!6f4!04/17/2014-09:28:06:: Call to GetSystemPropertiesAction().
library!ReportServer_0-2!6f4!04/17/2014-09:28:06:: Call to GetSystemPropertiesAction().
library!ReportServer_0-2!6f4!04/17/2014-09:28:06:: Call to GetSystemPropertiesAction().
library!ReportServer_0-2!e34!04/17/2014-09:28:15:: Call to GetPermissionsAction(/EFW_Reports/Show_Proof_Orgs).
library!ReportServer_0-2!e34!04/17/2014-09:28:15:: Call to GetSystemPropertiesAction().
library!ReportServer_0-2!e34!04/17/2014-09:28:15:: Call to GetPropertiesAction(/EFW_Reports/Show_Proof_Orgs, PathBased).
library!ReportServer_0-2!e34!04/17/2014-09:28:16:: Call to GetSystemPermissionsAction().
ui!ReportManager_0-1!168c!04/17/2014-09:28:16:: i INFO: PageCountMode 'Estimate' read from config file
ui!ReportManager_0-1!168c!04/17/2014-09:28:16:: i INFO: AccessibleTablix value not specified in config file.
library!ReportServer_0-2!e34!04/17/2014-09:28:17:: Call to GetSystemPropertiesAction().
library!ReportServer_0-2!e34!04/17/2014-09:30:23:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database. This may be due to a connection failure, timeout
or low disk condition within the database.;
library!ReportServer_0-2!e34!04/17/2014-09:30:23:: w WARN: Transaction rollback was not executed connection is invalid
library!ReportServer_0-2!e34!04/17/2014-09:32:28:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database. This may be due to a connection failure, timeout
or low disk condition within the database.;
library!ReportServer_0-2!e34!04/17/2014-09:32:28:: w WARN: Transaction rollback was not executed connection is invalid -
Hi,
I am having serious performance issue due to BSEG table .I am having a change request in which I have to solve the performance issue with regard to BSEG. The situation was that previously they had used select * on both BKPF and BSEG. I removed the select * and selected only those fields which are required as shown below. I also tried using cursors. But the problem is happening in the TEST server where BSEG is having more than 1 crore entries. I have gone through some threads but still not able to understand how to solve this problem. Please help
select bukrs belnr gjahr bldat bstat from bkpf into table T_BKPF_p
WHERE BUKRS IN sd_bukrs AND
BLDAT < s_bldat-low
and BSTAT = ' ' .
select bukrs belnr gjahr shkzg dmbtr hkont from bseg into table T_BSEG_C
FOR ALL ENTRIES IN t_BKPF_p
WHERE BUKRS = T_bkpf_p-bukrs
AND BELNR = T_bkpf_p-belnr
AND GJAHR = T_bkpf_p-gjahr
AND HKONT = SKB1-SAKNR.Hi Kunal,
Here is my take on your issue.
In your select statement on BKPF you are selecting every BKPF record for a specified company code and blank document status that was created before a specified date. If your company has implemented SAP 10 years ago, and your user enters todays date and leaves the company code field blank you will effectively be retrieving almost all the records from BKPF (excluding the ones created today or those with non-blank document status). This would effectively be a huge amount of data. After that you are looking for the corresponding BSEG records for all the records that you have selected in BKPF.
My question to you is why do you need to look at all the records before a given date? Why not ask the user to enter a smaller date range and make the document date and the company code a mandatory entry? You do not have to look at 10 years worth of data especially if you are running this online (as opposed to in the background).
Your BSEG select looks correct. There is very little that you can do except for adding BUZEI to the field list. If you use for all entries and do not include the entire primary key you could lose data.
TABLES: bkpf,
skb1.
SELECT-OPTIONS: s_bldat FOR bkpf-bldat OBLIGATORY,
sd_bukrs FOR bkpf-bukrs OBLIGATORY.
TYPES: BEGIN OF ty_bkpf,
bukrs TYPE bkpf-bukrs,
belnr TYPE bkpf-belnr,
gjahr TYPE bkpf-gjahr,
bldat TYPE bkpf-bldat,
bstat TYPE bkpf-bstat,
END OF ty_bkpf,
BEGIN OF ty_bseg,
bukrs TYPE bseg-bukrs,
belnr TYPE bseg-belnr,
gjahr TYPE bseg-gjahr,
buzei TYPE bseg-buzei,
shkzg TYPE bseg-shkzg,
dmbtr TYPE bseg-dmbtr,
hkont TYPE bseg-hkont,
END OF ty_bseg.
DATA: t_bkpf_p TYPE TABLE OF ty_bkpf,
t_bseg_c TYPE TABLE OF ty_bseg.
SELECT bukrs
belnr
gjahr
bldat
bstat
FROM bkpf
INTO TABLE t_bkpf_p
WHERE bukrs IN sd_bukrs
AND bldat IN s_bldat
AND bstat EQ space .
IF NOT t_bkpf_p[] IS INITIAL.
SELECT bukrs
belnr
gjahr
buzei
shkzg
dmbtr
hkont
FROM bseg
INTO TABLE t_bseg_c
FOR ALL ENTRIES IN t_bkpf_p
WHERE bukrs EQ t_bkpf_p-bukrs
AND belnr EQ t_bkpf_p-belnr
AND gjahr EQ t_bkpf_p-gjahr
AND hkont EQ skb1-saknr.
ENDIF. -
Report Performance Issue - Activity
Hi gurus,
I'm developing an Activity report using Transactional database (Online real time object).
the purpose of the report is to list down all contacts related activities and activities NOT related to Contact by activity owner (user id).
In order to fullfill that requirment I've created 2 report
1) All Activities related to Contact -- Report A
pull in Acitivity ID , Activity Type, Status, Contact ID
2) All Activities not related to Contact UNION All Activities related to Contact (Base report) -- Report B
to get the list of activities not related to contact i'm using Advanced filter based on result of another request which is I think is the part that slow down the query.
<Activity ID not equal to any Activity ID in Report B>
Anyone encountered performance issue due to the advanced filter in analytic before?
any input is really appriciated
Thanks in advanced,
FinaFina,
Union is always the last option. If you can get all record in one report, do not use union.
since all records, which you are targeting, are in the activity subject area, it is not nessecery to combine reports. add a column with the following logic
if contact id is null (or = 'Unspecified') then owner name else contact name
Hopefully, this is helping. -
Hi,
Can you please modify this code, i have performance issue for the following code.
Here: t_po is a final internal table.
select ekkobukrs ekkoebeln ekkolifnr ekkobsart " EKKO
ekkoernam ekkoaedat ekko~memory " EKKO
ekpoebelp ekpoidnlf ekpotxz01 ekpoloekz " EKPO
ekpoeffwr ekpomenge " EKPO
ekknsakto ekknps_psp_pnr " EKKN
ekknzekkn ekknmenge " EKKN
into (t_po-bukrs,t_po-ebeln,t_po-lifnr,t_po-bsart,
t_po-ernam,t_po-aedat,t_po-memory,
t_po-ebelp,t_po-idnlf,t_po-txz01,t_po-loekz,
t_po-effwr,t_po-menge,
t_po-sakto,t_po-ps_psp_pnr,
t_po-zekkn,t_po-menge1)
from ( ekko inner join ekpo
on ekkoebeln eq ekpoebeln )
inner join ekkn
on ekkoebeln eq ekknebeln
and ekpoebelp eq ekknebelp
for all entries in t_pspnr
where ekko~bukrs in s_bukrs and
ekko~lifnr in s_lifnr and
ekko~bsart in s_bsart and
ekko~aedat in s_aedat and
ekko~ernam in s_ernam and
ekpo~idnlf in s_idnlf and
ps_psp_pnr = t_pspnr-pspnr.
append t_po.
clear t_po.
endselect.
Another code:
sort t_po by bukrs idnlf ebeln ebelp.
loop at t_po.
select single post1 psphi into (t_po-post1,t_po-psphi) "Performance issue
from prps
where pspnr = t_po-ps_psp_pnr.
select single pspid into t_po-pspid ""Performance issue
from proj
where pspnr = t_po-psphi.
if t_po-pspid in s_pspid.
do nothing
else.
delete t_po index sy-tabix.
continue.
endif.
Get invoiced amount for a PO line item
select dmbtr shkzg into (ekbe-dmbtr,ekbe-shkzg) ""Performance issue
from ekbe
where ebeln = t_po-ebeln and
ebelp = t_po-ebelp and
vgabe = '2'.
if ekbe-shkzg = 'H'.
ekbe-dmbtr = ekbe-dmbtr * -1.
endif.
t_po-invamt = t_po-invamt + ekbe-dmbtr.
endselect. ""Performance issue
if not t_po-menge eq 0.
t_po-polinamt = t_po-effwr * ( t_po-menge1 / t_po-menge ).
endif.
t_po-amtopen = t_po-polinamt - t_po-invamt.
modify t_po index sy-tabix.
clear: t_po,prps,ekbe,proj.
endloop.HI,
Instead of selecting each fields and putting it in each fileds in internal table, we can select the fields and put it into the internal table which contains the required fields.
Eg.
TYPES: begin of itab,
vorna type vorna,
nachn type nachn,
end of itab.
data: wt_itab type table of itab.
select vorna, nachn into table wt_itab from pa0002 where cond.
This increase the performance because it wont take time to match the each fields given after the table statement.
Regards,
Rani. -
Hi All,
We have an performance issue with FBRA t-code which uses the BKORM table.
Can the building of an index to this table will imporve the performance? How about the buffering of the table?
Also, provide us the difference between unique and non unique index types.
Thanks,
DVRK> We have an performance issue with FBRA t-code which uses the BKORM table.
>
> Can the building of an index to this table will imporve the performance? How about the buffering of the table?
Standard transaction, check in SAP Service Marketplace for possible fixes. Don't switch on buffering for such a potentially large table with frequent changes.
> Also, provide us the difference between unique and non unique index types.
This you can find out yourself with a little research effort.
Thomas
Maybe you are looking for
-
Sys Prefs setup with 2nd display using Mavericks . . . the new functions of Mav won't come in with LG display even though same display works with my other Macs. Any like experiences or advise would be more than appreciated? bumdiago
-
Pre Ordered Far Cry 4, yet to receive my $10 reward certificate!
Hello, just as the tittle says, I have yet to receive this. Also I am a Best Buy Elite Member, along with GCU, how do I access the 24/7 line for Elite members? Thanks for any help!<script src="safari-extension://com.ebay.safari.myebaymanager-QYHMMG
-
Photoshop CS4 and Lightroom 3.3
Has anyone had an issue with color shifting when using Lightroom 3.3 and then editing a photo in CS4. I continue to notice a color shift when printing and can not resolve the issue. Using a Epson 3880 printer. After editing in Lightroom and then open
-
Cloak (hide) URL links in PDF
Is there a way to cloak or hide the URL links within my PDF's? Or to prevent the MouseOver from displaying the URL link? Basically, I have a URL link within a sample version of a PDF that takes a potential customer to a payment page to buy the full v
-
Rollover buttons with unexpected results
Hello Folks, I'm hoping someone can point me in the right direction with a problem I'm having with rollover buttons. I've used Fireworks to create five rollover buttons with round corners onto a single transparent canvas. I've exported the images as