Archive

Author Archive

Why do we need SQL Server 2017

September 18, 2017 Leave a comment

SQL Server 2017 (Linux)

DIM (Data is Money) is the latest or at-least a new business model. Microsoft did a fantastic job in implementing SQL Server in Linux as a cross platform. This strategy has surprised Microsoft community and overturned the way we think about Microsoft database management products. In this story, I am going to talk about the SQL Server 2017 on Linux.

Reference:

https://blogs.technet.microsoft.com/dataplatforminsider/2017/08/31/six-reasons-to-consider-sql-server-2017-especially-if-youre-on-linux/

SQL Server 2017 runs on Windows, Linux, Docker containers. It has key features that attract many industry leaders for these features.

  • Cost
  • Security
  • Performance
  • Simplicity
  • Flexibility
  • Everything built in

Cost:

First of all, I would think about product cost. Because, there are many technologies available as an open source. Linux is open source and free for commercial use. So, we can remove Operating system license cost from the investment. Linux can run on any hardware and we can have affordable hardware to setup a business. It reduces the infrastructure cost. Well, With these two cost reduction options, it would possible to achieve ROI in short period of time.

  • With SQL Server 2017 on Linux, it’s possible to realize a lower total cost of ownership (TCO) and quicker return on investment (ROI)
  • Expand your hardware options and achieve ROI more quickly with Linux.
  • Mobile BI anywhere at a fraction of cost.

Security:

Next, with the current digital environment, we are worried about data protection. Past several yearly we have been hearing about data breaches in different sectors. Some events are unavoidable but we need to take maximum effort to protect it. In this way, we need to give preferences to security. So, what kind of security does SQL Server have?

SQL Server 2017 – Data Sheet

  1. Fewest NIST vulnerabilities over last 7 years
  2. Encrypt data at rest and in motion with Always Encrypted
  3. Dynamic Data Masking conceals sensitive data
  4. Control access to database rows with Row-Level Security

Performance:

We do not have much time to wait for a task to complete. It is due to heavy competition and vast amount of data to process to get serious decision quickly. Such as, Weather forecast, Medical diagnosis and real-time sale performance during holidays, etc. So, what does SQL Server 2017 have?

From Data Sheet:

  • Speed query performance without tuning using Adaptive Query Processing
  • Faster transactions with In-Memory OLTP and up to 100x faster analytics with in-memory Columnstore
  • Real-time operational analytics when you combine inmemory technologies

Simplicity:

Who do like to spend lot of man hours for just migrating database from one platform to others. With SQL Server 2017, we can transfer database from Windows to Linux easily by taking backup and restore. For security, we can use encrypted backup with master key.

Reference:

https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-migrate-restore-database

Flexibility:

This word “Flexibility” is more complicated then it looks. Because, it has to satisfy every audience from every perspective. SQL Server 2017 is also a flexible platform to connect with any application. Also, it gives various flexibility for language of your choice, on the platform of your choice, on premises or in the cloud.

Language of your choice:

  • C#, Java, Ruby, or another coding language

Platform of your choice:

  • Support for Windows and Linux operating systems and Docker containers

Cloud:

  • Any cloud, any platform including OpenShift, Red Hat OpenStack, Kubernetes, Docker Swarm and Pivotal

Everything built-in:

SQL Server 2017 is a complete package that can be used for data management with 99.99% availability, simplicity, security, efficiency, affordability and reliability. Also, features like data compression, columnstore, partitioning, high availability, and disaster recovery.

Advertisements
Categories: SQL Server

Gartner – Operational Database Management Systems

September 13, 2017 Leave a comment

I recent got to see the gartner’s magic quadrant for Operational Database Management Systems (ODMS). It is an interesting chart to visualize different companies and its market position in ODMS. There are 4 categories given in the chart with company’s position.

  • Niche Players –
    1. Couchbase
    2. MapR
    3. Clustrix
  • Visionaries
    • None
  • Challengers
    1. MarkLogic
    2. MongoDB
    3. EnterpriceDB
  • Leaders
    1. Microsoft
    2. Oracle
    3. SAP

Image credit: https://www.gartner.com

G_ODMS

For more details download the document from this link

https://info.microsoft.com/CO-SQL-CNTNT-FY16-09Sep-14-MQOperational-Register.html

Categories: SQL Server

Gartner Magic Quadrant BI and Analytics

February 18, 2017 Leave a comment

It is very interesting to see a consistent growth of Microsoft in BI and Analytics environment. Lets see Gartner’s Magic Quadrant BI and Analytics graph so several years.

2013

2013_mq

2014

2014_mq

2015

2015_mq

2016

2016_MQ.png

2017

2017_mq

We will revisit next year to see what-else has changed. By the way, what is your favorite tool.

Categories: Application, SQL Server, Tools

Can you identify file type without extension

November 17, 2016 Leave a comment

We may come across this situation when we get a file with out extension or given incorrectly. But, we have options in some operating system that will search and match the program associated with the unknown file type.

I had situation recently, a file with incorrect extension. I was trying to open the file in text edition (binary mode) to identify the file type manually. But, I could not do it simple reading the file content.

Finally found a tool that does what i was trying to do manually. This is light weight tool with easy to update external data dictionary for file finger print matching data.

Utility software details:

TrID

is free for personal / non commercial use.

URL: http://mark0.net/soft-trid-e.html

Direct download:

TrID is free for personal / non commercial use.

 Win32  TrID v2.24, 47KB ZIP(PGP sig)
 Linux/x86  TrID v2.24, 357KB ZIP(PGP sig)
 Linux/x86-64  TrID v2.24, 421KB ZIP(PGP sig)
 TrIDUpdate v1.00, 1KB ZIP (Python 2.7.x required)
 TrIDDefs.TRD package, 982KB ZIP (7647 file types, 15/11/16)

SQL Server 2016 – Arrived

June 3, 2016 Leave a comment

This is a good news for the SQL Server community for this year. Microsoft has released SQL Server 2016 on June 1st  2016.

You need to sign-up to download the evaluation edition from this web page.

https://www.microsoft.com/en-us/evalcenter/evaluate-sql-server-2016

There are many exciting features in this version. Now, SQL Server has moved to the top of the database management servers ladder.

GartnerMQ_ODBMS

 

Categories: SQL Server

Insert or Update a File in Database – SQL Server

February 17, 2016 Leave a comment

Database is a repository for data of various formats. In the past, we use text files to store huge data and technology revolution has changed everything for what we store and How we store data. Big data is a good example. It happened in different forms as punch card, file system, relational database, graph db, NoSQL, NewSQL and etc.

But, in this blog post I am going to show a simple example for storing (insert) and altering (update) a binary image file stored in a table.

Prerequisite

Create a Table

CREATE TABLE [dbo].[Images](
ImageID INT IDENTITY(1,1),
ImageDesc VARCHAR(20) NOT NULL,
[ImageData] VARBINARY(MAX) NOT NULL
) ON [PRIMARY]

Sample Image file – SQL2016.jpg

SQL2016

Insert a record with a Image file

INSERT dbo.[Images]
(ImageDesc, ImageData)
SELECT ‘SQL2016′ AS ImageDesc, * FROM OPENROWSET(BULK N’C:\Test\SQL2016.jpg’, SINGLE_BLOB) AS Img

Update an existing record with Image file

UPDATE dbo.[Images]
SET ImageDesc = ‘SQLServer’
,ImageData = BulkColumn from Openrowset( Bulk ‘C:\Test\SQLServer.jpg’, Single_Blob) as Img
WHERE ImageID = 1

This blog post is for code reference. You can use this code with not restriction.

Categories: SQL Server

The final edition DWH and BI reference

January 10, 2016 2 comments

Ralph Kimball and the Kimball Group have continued to refine their methods and techniques based on thousands of hours of consulting and training. This Remastered Collection of The Kimball Group Reader represents their final body of knowledge, and is nothing less than a vital reference for anyone involved in the field.

  1.  Learn data warehousing and business intelligence from the field’s pioneers
  2. Get up to date on best practices and essential design tips
  3. Gain valuable knowledge on every stage of the project lifecycle
  4. Dig into the Kimball Group methodology with hands-on guidance

Download this book

Thanks

Categories: Book, Data Warehouse
%d bloggers like this: