BLOGS

ByDr. SubraMANI Paramasivam

Linked reports in SQL Server Reporting Services

Linked reports is a great feature and helps in easy maintenance. You can easily avoid any duplicity of the report just for the sake of security. For example if a report has got 5 regions like Europ, NA, Asia, China, SA. You don’t need 5 different versions of report and instead you can have one single report with report parameters pointing to region and easily grant access to relevant AD groups to access their own regional reports. Any single change made in the main RDL file will immediately reflect in other regions as well and no need to make the same change in each regions. Imagine if you have 50 departments and if you are in this situation, linked reports concept a real handy one.

A quick demo is available here.

LinkedReports

ByDr. SubraMANI Paramasivam

SSRS – Report Builder a closer look

Report builder is a browser based report authoring tool to enable any end users to start building / modifying existing reports (if they have enough permissions) without the need of any installation of BIDS or SSDT. This tool is available via local installation of Report manager. This is a light weight tool that will enable you to definitely build a decent report and you can deploy it directly to the report manager. You can start building this report against SQL Server database, SQL Azure, Oracle and others. Below image also explains more on Report builder tool and also try watching a quick video on this here.

 

ReportBuilder

ByDr. SubraMANI Paramasivam

Tiny bits about Resource Governor and of course my favorite

Resource Governor helps sorry saves DBA’s life in terms of performance improvement by deriving proper lanes on what applications or which service accounts should have high horse power when it comes to CPU & I/O usage. This feature was introduced in SQL Server 2008 and made available in Enterprise, Developer and Evaluation editions only. This has got the ability to classify connections and route the workload to specific already derived lanes by DBA as per the business requirements. This is limited to SQL Server Engine only and self contained and instant specific only. This has got 3 main below concepts.

  • Resource Pool
    • Represents physical resource
  • Workload Group
    • Categorizes the sessions and routes to relevant resource pool
  • Classification
    • A function to decide the sessions to allocate the relevant group

Below picture explains the available system views, DMVs, Performance counters that are specific to Resource Governor only.

ResourceGovernor

ByDr. SubraMANI Paramasivam

Running Stretch Database Advisor against AdventureworksDW2008R2 OLAP database

This article gives a quick glimpse on how to run SQL Server 2016 Upgrade Advisor Preview 1.2 against AdventureWorksDW2008R2 OLAP 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 AdventureWorksDW2008R2 database and clicking on Run button.

RunStretch_05

Following the analyzed database of AdventureWorksDW2008R2, 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. From below screenshot, you can see that the first table has been identified to be ready for stretch with a green tick mark, where as the next table is not eligible.

RunStretch_06

 

 

You can see the same results when the stretch database advisor is run against AdventureWorks2014 OLTP database here.

ByDr. SubraMANI Paramasivam

SQL Server Issues and the available tools

Below is the cheat chart, which will give you a quick glimpse on most of the possible issues, that you face in your day to day SQL Server life. This chart also provides you with available SQL Server Admin tools from left to right in the top, to tackle the issues that are relevant to your problems. This also explains a good understanding on available SQL Server admin tools that can be used to tackle problems that you may be facing in your work environment. At least now you know where to start if you hit with any performance or other issues.

IssuesVsTools

ByDr. SubraMANI Paramasivam

SQL Server 2016 Upgrade Advisor – Preview 1.2

SQL Server 2016 Upgrade Advisor 1.2 allows you to run Stretch Database Advisor to find the tables within the selected database, whether qualified for database stretch or not. This SQL Server 2016 upgrade advisor also allows you to run below.

  • RUN DATABASE UPGRADE ANALYZER
  • ANALYSIS SERVICES UPGRADE ADVISOR
  • INTEGRATION SERVICES UPGRADE ADVISOR
  • REPORTING SERVICES UPGRADE ADVISOR

SQLServer2016_UpgradeAdvisor1_2

ByDr. SubraMANI Paramasivam

SQL Server 2016 CTP 3.0 Benefits on Stretch Database concept

As we are very much excited with the improved version of Microsoft SQL Server CTP 3.0 release, below are some of the main benefits of this release towards the Stretch Database concept.

SQL2016_CTP30_Benefits

With the stretch enabled database, there are no updates required for any applications which we believe the change is required as the data has completed moved to Azure. Though the data has been moved to cloud, the table reference still has to the same local table.

As the data is moved to the cloud, you don’t have to keep expanding your local storages and can save money.

Though there is a bit of delay in accessing the data from the cloud, the performance has been still improved.

No more hassles in backing up and restoring huge databases which stores data locally. Now the data stretched to the cloud, you will only backup what is available in the local database files.

You can now easily manage Database stretch in GUI format within SSMS to pause, disable, enable, reconfigure, monitor, etc.,

CTP 2.0 did not allow connecting to already existing server in the cloud and this has been fixed in later releases.

ByDr. SubraMANI Paramasivam

System Resources

Below are the main system resources and are the key elements for better performing server.
CPU: We definitely require more than one CPU to perform multiprocessing and helps any program to be healthy enough with all I/O operations.
RAM: Even if you are not a DBA, you should be aware of the memory that is allocated for your SQL Server instances. Memory Sizing can be done based on the number of transactions that is going to hit the server. Any environment having high transaction should have highly allocated memory to process multiple operations in parallel.
Disk: Disk is the storage area where every single transaction stores and retrieves data from as part of the request from applications, users. Having good amount of understanding and knowledge on database & log files and their location, on these sort of storages is a must, even for non DBA’s. Monitoring and maintaining the data storage, RAID levels, etc., are some of the key activities for every single DBAs.
I/O:  Any Input and output to and from applications/users is calculated with the I/O level. As part of the user or application’s request the I/O part plays a major role and any performance issues will affect the time taken to retrieve the data.
SystemResources