Saturday, October 21, 2017

SQL Database Managed Instance on Azure

Azure-Database-OptionsAzure supported Single and Elastic Pool deployment options for provisioning SQL Databases on Cloud. It now supports one more option which will allow organisations to life and shift their on-premises SQL 2005 and above database instances to a fully-managed PaaS, reducing or eliminating the need to re-architect apps and manage them in the cloud. The key difference is this new offering exposes entire SQL Server Instances to customers, instead of databases.
On the Managed Instance, all databases within the instance are located on the same SQL Server instance under the hood are just like on an on-premises SQL Server instance. This guarantees that all instance-scoped functionality will work the same way, such as global temp tables, cross-database queries, SQL Agent, etc. This database placement is kept through automatic failovers, and all server level objects, such as logins or SQL Agent logins, are properly replicated.
The new Azure Database Migration Service (ADMS) is a fully managed Azure Service that enables seamless migrations of SQL Server instances from on-premises to Azure Database Platforms with only a few minutes of downtime.
Technorati Tags: ,


Saturday, July 29, 2017

Graph Database vs. Relational Database?

graphdbGraph Databases are one of the type of NOSQL Databases with CRUD methods that expose a graph model. Graph databases are generally built for use with transactional (OLTP) systems. Graph Databases provide a novel and powerful data modeling technique that makes the data models flexible. They are not a complete replacement for relational models instead they can be used where immediate and significant practical benefit can be achieved.
Graph Databases are schema free and they lack schema oriented Governance mechanisms. When designing Graph Databases, the focus has to be on modeling the structure of the data and their interconnectivity on how different data connect to each other. Graph based data model can become very complex really quickly.
Examples of list of Graph Databases
  • SQL Server 2017
  • Neo4j
  • FlockDB
  • Pregel
  • InfoGrid
  • HyperGraphDB
  • SAP HANA
The key terminologies in a graph database are:
  • Nodes - These are basically Entities
  • Properties - Information about the node or information about the relationship
  • Edges - Relationships between Nodes
A simple example is an Employee Node. An Employee can have a relationship with their Manager, an employee can have relationship with colleagues and relationship with their own subordinates or relationship with employees in other departments. Nodes can have as many relationships as required to describe the data. Relationships can be Unidirectional or Bidirectional and there is no limit on the relationships per node.
When to use a Graph Database vs. Relational Database?graphdb2
a) When multiple relationships need to be described e.g. Social relationships, Networks, Error logging, Sensor data, Logistics data. These are examples where the relationships don't truly exist but needs to be described to understand the data.
b) Using for non-analytical data e.g. Authorisation, User preferences, Non frequent changing variables if stored in a database table.
If you have high performance requirements especially using SQL Server 2017 you need to use functions to parse JSON data and it will be a row by row execution but indexes can be used to improve performance a bit but still recommend to use relational in those scenarios. If you have Validation and Integrity requirements and if you need them in the backend, then relational is the best choice.
SQL Graph Architecture
Technorati Tags: ,

Wednesday, July 12, 2017

Microsoft Azure Stack - Azure On-premises

Microsoft have announced the release of Azure Stack which allows enterprises to run Core Azure Services in their Corporate Data Centers.

Microsoft announced at its Inspire conference today, partners like Dell EMC, HPE and Lenovo will start shipping their integrated systems with Azure Stack in September 2017.

This will help lots of Enterprises who couldn't use Azure services on Cloud due to compliance or regulatory reasons.

More information on Azure Stack

Azure Stack Development Kit

Azure Stack Blog

Azure Stack Ideas for improvements

Nice video on how to bring Azure to your Data Center.

Monday, May 15, 2017

Power BI Premium

As part of the Data Amp event hosted by Microsoft this month, they made an announcement about Power BI Premium. Currently with SQL Server 2016 Reporting Services, you can upload Power BI Desktop reports to the SSRS Web Portal (Power BI Desktop needs to be installed on consumer devices)

With the January 2017 preview release of SSRS, Microsoft announced the ability to upload Power BI Desktop reports to the SSRS Web Portal along with serving them within the web browser without the need for Power BI Desktop installed on consumer devices.

Power BI Premium introduces the ability to manage Power BI reports on-premises with the included Power BI Report Server. Power BI Report Server includes all the features of SQL Server Reporting Services including the ability to publish and serve Power BI Desktop reports. Power BI Report Server will be generally available late in the second quarter of 2017.

So with the release of Power BI Report Server, SSRS in SQL Server 2017 will support only Paginated and Mobile Reports while Power BI Report Server will support Paginated, Mobile and Power BI Desktop reports. Good news is Power BI Report Server also supports Custom Visuals.

With Power BI Premium, if you want to distribute and embed Power BI Reports in your applications you no longer require to purchase per-user licenses.

Power BI Premium Pricing - https://powerbi.microsoft.com/en-us/pricing/

Power BI Premium Whitepaper - https://aka.ms/pbipremiumwhitepaper

Power BI Premium Calculator - https://powerbi.microsoft.com/en-us/calculator/

Sunday, May 14, 2017

Creating a new team and channel in Microsoft Teams

I have been using Slack as a collaboration platform for projects and have started using Microsoft Teams recently and really impressed with the features. Microsoft Teams is a really handy tool if you are working in projects and have to collaborate with a whole group of people.
Let us see how to create a new project and channel in Microsoft Teams.
a) Log on to Microsoft Teams [https://teams.microsoft.com]
b) From the Microsoft Teams account home page, click on the Create a Team link
TeamCreation1
c) Type the team name and description
TeamCreation3
d) Click on the “…” beside the “My First Team Project” team and click on “Add Channel” to create a new channel.
TeamCreation4
d) Provide a name and description to the channel.
TeamCreation5
e) Now let us create an integration using connectors within Microsoft Teams. In this scenario I would like get the RSS newsfeed for Microsoft Teams to be served in the “MS Teams Blog Feed” channel.
f) Click the “…” beside the “MS Teams Blog Feed” channel and click on “Connectors”. Microsoft Teams provides a whole range of connectors for integration with other SaaS applications.
Connector1
Connector2
g) Click on “RSS” and add the MS Teams Blog URL and frequency to pull the feeds from the blog.
Connector3
h) Click on “Save” and you can notice a connector configured for the channel.
Connector4
i) Now you can see the feed items listed under the MS Teams Blog Feed. Now this can be viewed by your team members who have permissions to the team and channel. Really useful to share important blog feeds with the rest of the team related to your project.
Technorati Tags: ,