BLOGS

ByDr. SubraMANI Paramasivam

Running Stretch Database Advisor against AdventureWorks2014 OLTP database

This article gives a quick glimpse on how to run SQL Server 2016 Upgrade Advisor Preview 1.2 against AdventureWorks2014 OLTP database. Once you shoot the Upgrade Advisor, go to Scenarios and then select the first option “Run the Stretch Database Advisor”. Following this, you will get below screen and then click on Select Databases to Analyze. This will then shoot the blade option to select the databases but requires you to connect to which instance the database is located. In the below example I am connecting to my YSMLab01\SQL2016 instance.

RunStretch_01

After choosing the instance, I am selecting AdventureWorks2014 database and clicking on Run button.

RunStretch_02

Following the analyzed database of AdventureWorks2014, it has identified the database size and total number of tables being analyzed. By clicking on this result set it further displays the list of tables with status on eligibility to cloud or not. If it has errors then it gives out the reasons on why it is not selected in blade format.

RunStretch_03

In here, I am further trying to find the problem on why Person.Person was not selected and one of the reasons is because of Default Value Constraints on one or more columns cannot be part of stretch database.

RunStretch_04

You can see the same results when the stretch database advisor is run against AdventureWorksDW2008R2 OLAP database here.

ByDr. SubraMANI Paramasivam

Data Awareness Programme @ MacLearn International College

Following the success of Data Awareness Programmes conducted in India & Malaysia Stamford college, this new Data Awareness Programme was conducted again in Kuala Lumpur – Malaysia at Maclearn International College on 19/08/2015.

This included a mixed variety of Students from various degrees with in Information Technology. This programme provided the analytical solution based on the data collected within Malaysia. This helped better understand the students to learn and visualize based on their already known information.

This session also included students, teachers & non-teaching staff to enlighten data & bring awareness related to personal, individual, education & social and this was again successfully delivered, by Dr. Subramani Paramasivam and his Malaysian based team members.

The audience were unbelievably surprised with the level of information provided about data and how to learn more about data and analyse and help themselves and their surroundings including friends, family, relations, and local people in and around. The attendees were amazed with the level of information that was provided for about 8 hours with easy to understand slides & related videos.

This programme was specifically targetted to the attendees by providing more information about Microsoft SQL Server Products, Microsoft Releases, Microsoft SQL Server Editions, Database Development, Database Administration and other Microsoft related database & BI related products.

The demos were mainly based on Power Map, Power Pivot, Power BI and the visualization technology on power map really amazed every single attendee in the auditorium.

This was also a good opportunity for DAGEOP UK Ltd to better explain about the Microsoft products, certifications and awards at student level like MTA (Microsoft Technology Associate) & MSP (Microsoft Student Partner).

Students were very much looking forward for further awareness programmes in Malaysia and thrilled.

 

Appreciation Award to Tan Sri Datuk Seri M Kayveas

Appreciation Award to Tan Sri Datuk Seri M Kayveas

DataAP_Students_Teachers_Organizers_YSMCEO

DataAP Attendees, Teachers, Organizers with Dr.Subramani Paramasivam and Tan Sri Datuk Seri M Kayveas.

DataAP_Students_Teachers_Volunteers_Organizers_YSMCEO

DataAP Attendees, Teachers, Organizers with Dr.Subramani Paramasivam and Tan Sri Datuk Seri M Kayveas.

DataAP_Teachers_Organizers_YSM_team

Teachers, Organizers with Dr.Subramani Paramasivam and Tan Sri Datuk Seri M Kayveas.

DataAP_YSMCEO_DATUKSRI_Discussion

Dr.Subramani Paramasivam and Tan Sri Datuk Seri M Kayveas discussion during Data Awarness Programme

DataAP_YSMCEO_DATUKSRI_Discussion

Dr.Subramani Paramasivam and Tan Sri Datuk Seri M Kayveas discussion during Data Awarness Programme

DatukSri_CollegeHead_Chat_in_DataAP

DatukSri_CollegeHead_Chat_in_DataAP

DataAP_Lead_Students_Teachers_Volunteers_Organizers_YSMTeam

DataAP_Lead_Students_Teachers_Volunteers_Organizers_YSMTeam

Data Awareness Programme Delivery by Dr.Subramani Paramasivam

Data Awareness Programme Delivery by Dr.Subramani Paramasivam

Data Awareness Programme Delivery by Dr.Subramani Paramasivam

Data Awareness Programme Delivery by Dr.Subramani Paramasivam

Data Awareness Programme Delivery by Dr.Subramani Paramasivam

Data Awareness Programme Delivery by Dr.Subramani Paramasivam

Data Awareness Programme Delivery by Dr.Subramani Paramasivam

Data Awareness Programme Delivery by Dr.Subramani Paramasivam

Data Awareness Programme Delivery by Dr.Subramani Paramasivam

Data Awareness Programme Delivery by Dr.Subramani Paramasivam

Data Awareness Programme Delivery by Dr.Subramani Paramasivam

Data Awareness Programme Delivery by Dr.Subramani Paramasivam

Data Awareness Programme Delivery by Dr.Subramani Paramasivam

Data Awareness Programme Delivery by Dr.Subramani Paramasivam

Data Awareness Programme Delivery by Dr.Subramani Paramasivam

Data Awareness Programme Delivery by Dr.Subramani Paramasivam

Tan Sri Datuk Seri M Kayveas Speach

Tan Seri Datuk Seri M Kayveas Speach

Tan Sri Datuk Seri M Kayveas Speach

Tan Sri Datuk Seri M Kayveas Speach

Tan Sri Datuk Seri M Kayveas Speach

Tan Sri Datuk Seri M Kayveas Speach

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

Fun filled Student Participation

DAGEOP Malaysia team supporting the delivery of Data Awareness Programme

DAGEOP Malaysia team supporting the delivery of Data Awareness Programme

 

Data Awareness Programme Attendees

Data Awareness Programme Attendees

Data Awareness Programme Attendees

Data Awareness Programme Attendees

Data Awareness Programme Attendees

Data Awareness Programme Attendees

Data Awareness Programme Attendees

Data Awareness Programme Attendees

Data Awareness Programme Attendees

Data Awareness Programme Attendees

Data Awareness Programme Attendees

Data Awareness Programme Attendees

Data Awareness Programme Attendees

Data Awareness Programme Attendees

Data Awareness Programme Attendees

Data Awareness Programme Attendees

Data Awareness Programme Attendees

Data Awareness Programme Attendees

 

 

ByDr. SubraMANI Paramasivam

What is XACT_ABORT in terms of implicit or explicit transactions?

When it comes to data modification statements for OLE DB systems, the XACT_ABORT option with ON and OFF functions helps the Developer/Administrator to decide based on the requirements from the business.

For example lets take a stored procedure that will complete fully, only if the UPDATE statements are completed. In this case the XACT_ABORT option should be set to ON like below.

SET XACT_ABORT ON;

GO

BEGIN TRANSACTION

By setting this XACT_ABORT option to ON, it does not affect trapping of any errors using TRY-CATCH, but it helps in a scenario where the commit or rollback was successful or not.

 

 

ByDr. SubraMANI Paramasivam

Report server modes

There are 2 types of report server modes and given in below screen with available options in SQL 2012. The 2 modes are Native & SharePoint. With native mode you get all the features available to operate your reporting services. But with SharePoint mode you get to manage the SSRS environment using your local SharePoint. By operating via sharepoint mode, you can enable all your intranet users to get to access to SSRS environment within the same application but it does have its own downside like it does not support linked reports, my reports, my subscriptions.

ReportServerModes

ByDr. SubraMANI Paramasivam

SSRS Report Subscriptions

Subscription option with SSRS Reporting tool enables a user to schedule a report to deliver to a mail box as an attachment or to a network shared drive on a regular interval like everyday at 9am or every Monday at 10am or every month, every quarter, etc., based on the business requirements. This subscription is a great feature which enables a user to still see the report and data on that specific date and time no matter if the report date falls on a public holiday or a week end. So we don’t need a manual intervention to run the report like a robot, but instead the subscription option deliver the robotic service.

As this is alternative to running reports on demand, this also gives a great option to execute and deliver a report dynamically based on a condition derived with Dynamic Subscription option, like if the data exists or if the user exists. Below picture explains some of the options available in subscription option. A quick demo on subscription and dynamic subscription is available here.

SSRS_Subscriptions

 

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