When to give access level View or View on Demand?
View access level
User’s benefit
- User can see the html report page which was saved when last refreshed.
- They don’t have the refresh report option enable.
- They can do all the report operation without touching the database.
System’s benefit
- When user refreshes the report the generated SQL query directly goes to database and ran it in database server. If they get the view access only they the system overload will be less as there will not be simultaneous run (same report in same point-of-time with multiple login) for the same query for different users.
- It reduces number of hit to database server.
- It reduces the network traffic.
- Report instance which a user is using having full capability ( like drill down , snapshot… ) but those activity will not send any SQL to Database server. It will go to the report server to get the copy of data saved in last refresh.
- There will be no chance of atomicity problem if we scheduled the report refresh after the regular database refresh.
Developer’s burden
Developers need to do the following:
- Either they need to schedule all the reports with proper prompt value so the reports can refresh automatically according to the prompt and return the proper data.
- Or they have to manually refresh the reports before the users’ starts using everyday. It may be daily, weekly, monthly, and yearly, quarterly or user assigned.
View On Demand access level
User’s benefit
- Users will get access to the real-time data.
- They can refresh their own report by changing the condition.
- Users will get the accurate data till the second of their refreshing time.
- Response time may be decreased but the accuracy of data is more perfect.
- User can change the condition of the report.
- If the reports are scheduled then the user have both choice to see the refreshed report or refresh it again to see the last minute update.
System’s benefit or Burden:
- Number of database server hit will be more.
- In time of yearly or quaterly closing the network traffic will be most.
- The same query will run thousand times for different users.
Developer’s burden or benefit:
- Need to tune the database and do the performance testing continuous.
- Do a perfect load balancing.
- No need to scheduled the reports or no need to refreshing and saving the reports.
No comments:
Post a Comment