BLOGS

ByDr. SubraMANI Paramasivam

Can I override Reportserver DB?

Has anyone of you ever wondered there are additional 2 system databases available once SSRS environment is added? These 2 database names are ReportserverDB & ReportserverTempDB. These databases stored all information related to your users, security, deployed reports, schedules, report history, etc.,

For those of you who are already aware of these databases, has anyone tried changing this? If yes, then you must have known the database a bit better. But have you ever wondered whether it is good to make changes to the system database? The answer is strictly NO, however at very rare situations, for those who are very well aware of what to change and if it is safe to do so have done some changes like me. Here is one of the scenarios that I have worked on, which can give you bit more understanding on this.

I had a consultant working for the company who used to create schedules to deliver a report to secured shared drive. After he left the company that job failed after 3 months. While analysing such issue, identified the company had policy to change the password of old employees for first 3 months and then remove them permanently after that. So after 3 months once the AD account no longer existed, the jobs started failing. During this time, I cannot raise a IT helpdesk to create the user again but raise the helpdesk ticket to have a system AD account for schedules and then went to the ReportServer DB and modified the schedules to totally move the owner name of the schedules to be the new system account. That’s it job done.

Below is also a screenshot for you to understand on Reportserver DB and what it can support.

Override_SSRS_DB

ByDr. SubraMANI Paramasivam

Securing your Report Manager easily with AD Groups

If you have already practised your SSRS environment locally, you might have played with less then 3 users and couple of AD groups, but what about a situation given like below image with more than 300 reports, 100+ users? How it will enable a DBA to maintain the security based on business requirements. You can add all users individually to the SSRS Report manager and grant them access to the relevant folder with all related hierarchy folders which is a big hassle. Here is where, the windows AD groups jumps in with magic wands to enable even non DBA’s like IT support guys to maintain the users list (of course with proper approval process) on who can access what reports across various departments or within the same department. You simply have to do the above exercise once with the AD group and SSRS Report manager automatically picks the relevant AD Group from Windows Active Directory. This intelligent tool will then enable a IT support guy to easily add / remove the users based on the requirements. You can also have a quick demo on security with AD here.

User_AD_Groups_Security

ByDr. SubraMANI Paramasivam

Report Manager in SSRS Box

What features do we have in terms of making use of the full installation of SSRS environment? Report manager does have features like viewing the available reports, search for any specific report, print and subscribe to deliver at required intervals.

ReportManagerOverview

It also enables (if allowed) to create folders, reports, upload your own word/excel/ppt documents, secure, maintain and organize them again. You can enable a user to login to SSRS browser based tool and you can let them browse the report in your own organized way, enable them to manage their own contents in a specific folder(s), to create their own reports and store in their “My reports” folder, publish their changes to the reporting application directly. Also you can let them give access to Report builder tool, which will enable them to start creating / modifying the reports using browser based application and the BIDS is not required.

You can also see other cool features such as History of running the reports, parametrized reports, grating access to specific entities like AD Groups, etc.,

And a video is available here for you to take a closer look.

ByDr. SubraMANI Paramasivam

How to enable/disable Resource Governor

A simple screenshot below shows you how you can easily enable/disable resource governor. By using SQL Server Management studio, connect to the instance where you need to enable Resource Governor. Then navigate down to Management and expand to see resource governor. There you can simply right click and choose Enable from the pop up menu. You can also enable by using T-SQL by simply passing below command.

ALTER RESOURCE GOVERNOR RECONFIGURE;

GO

EnableDisableRG

To disable via GUI, using your SSMS navigate to the management again and then right click on Resource Governor and choose Disable from the pop-up box. Alternatively, you can pass below T-SQL command to disable.

ALTER RESOURCE GOVERNOR DISABLE;

GO

 

ByDr. SubraMANI Paramasivam

Evolution of data warehouses

Evolution in organization use of data warehouses

Organizations generally start off with relatively simple use of data warehousing. Over time, more sophisticated use of data warehousing evolves. The following general stages of use of the data warehouse can be distinguished:

Off line Operational Databases

Data warehouses in this initial stage are developed by simply copying the data of an operational system to another server where the processing load of reporting against the copied data does not impact the operational system’s performance.

Off line Data Warehouse

Data warehouses at this stage are updated from data in the operational systems on a regular basis and the data warehouse data is stored in a data structure designed to facilitate reporting.

Real Time Data Warehouse

Data warehouses at this stage are updated every time an operational system performs a transaction (e.g., an order or a delivery or a booking.)

Integrated Data Warehouse

Data warehouses at this stage are updated every time an operational system performs a transaction. The data warehouses then generate transactions that are passed back into the operational systems.

ByDr. SubraMANI Paramasivam

SQL Server Version, Release Year and Codenames

In the Data Awareness Programme to students, I have shown below slide to let them know on how many versions have released, so far. As you can see below, the first ever version released was in 1989 and we are in 2014 now. SQL 2016 CTP versions are available but expected to release in beginning of 2016. There were totally 13 releases in last 25 years and the product has become very much stronger than ever. SQL 2016 is going to be a huge one with easy integration to cloud.

SQLServer_Versions_Codenames

ByDr. SubraMANI Paramasivam

SQL Server Features from 2000 to 2014

In my Data Awareness Programmes, I also spread the available SQL Server features from 2000 to 2014 in below slide formats. This will also give a quick glimpse on all SQL Server releases with available features in one single article. Note: These slides covers only a noticeable features and does not cover every single feature on it.

SS2000_Features SS2005_Features SS2008_Features SS2008R2_Features SS2012_Features SS2014_Features

ByDr. SubraMANI Paramasivam

SQL Server Editions from 2000 to 2014

In my Data Awareness Programmes, I also spread the available SQL Server Editions from 2000 to 2014 in below slide formats. This will also give a quick glimpse on all SQL Server releases with available Editions in one single article.

SS2000_Edition SS2005_Edition SS2008_Edition SS2008R2_Edition SS2012_Edition SS2014_Edition