SQLServerCentral - www.sqlservercentral.com

A community of more than 1,600,000 database professionals and growing

Featured Contents

The Voice of the DBA

IoT Pros and Cons

The Internet of Things is coming, or maybe it's a wave that's growing underneath us right now. It certainly hasn't crested if that's the case, and I expect that we'll see more and more devices, sensors, and applications coming in the next decade. We'll get larger and smaller devices, commercial and industrial tools, some amazing innovations and some silly ones that will make most people roll their eyes.

I ran across an article with some pros and cons from the general perspective. Certainly security is a huge concern, and one that isn't well addressed by many organizations. In fact, many of the demos of the Azure IoT hub don't do a great job of showcasing security. I think the Azure IoT Hub is a great idea, with some well thought out security measures, but developers need to build in habits early, and certainly include them in their applications. Let's leave aside security for a moment and stipulate that it is, and likely always will, be a concern and issue.

What about the data perspective of IoT? The age of new sensors and devices mean a glut of data, perhaps an overload. We may get a scale of data that we don't expect and need to plan for more TB or PB sized databases. Those are serious challenges for any organization, and likely we'll need archival plans to remove old data, or at least ensure we don't have to scan it for queries. We might even need some sort of governors that prevent the errant "select * from table" queries that try to query 100 billion rows.

We also may see crazy rates of data acquisition as well. One of the strengths of some NoSQL platforms is that they handle quick streaming sets quicker than relational engines. In fact, in some domains we might not even want to bother storing all the data we can and may need to process this as we get the data, only storing certain samples or ranges. I worked with a stock market application once and the streaming of prices was enough to overwhelm our SQL Server until we learned to limit the data we actually needed to store in the system.

There's also the chance we'll get new, or different types of data that we aren't sure of the value. Data that might not seem like there is an obvious use for it, but we're just gathering the bits because a sensor or device captures them. This is where I see more intelligent analysis, more of the "data science" being used. Most of us won't know how to create these queries, but we certainly will know how to implement and run them, which is a much simpler process. This also means we might need to learn more about to partition, archive, or otherwise move some data of OLTP type, transactional systems to help manage our loads.

I think IoT is somewhat scary, but also very exciting. New types of data, new applications, new uses for data, which will make our jobs very interesting in the coming decade.

Steve Jones from SQLServerCentral.com

Join the debate, and respond to today's editorial on the forums

ADVERTISEMENT
SQL Compare

The industry standard for comparing and deploying SQL Server database schemas

Trusted by 71% of Fortune 100 companies, SQL Compare is the fastest way to compare changes, and create and deploy error-free scripts in minutes. Plus you can easily find and fix errors caused by database differences. Download your free trial.

Database DevOps

State of Database DevOps Report

Learn how teams are extending DevOps practices to SQL Server databases. Get the report.

Featured Contents

 

Performance Tuning Using Extended Events: Part 3

Brian Davey from SQLServerCentral.com

Identifying Performance Tuning Opportunities Using Extended Events: Part 3 Aggregate Report More »


 

SQL Server Join Example

Additional Articles from MSSQLTips.com

What are all of the JOIN options in SQL Server? What is the significance of each of the options? How does the syntax work? Jeremy Kadlec answers these questions and more. More »


 

How to Move a Table to a Different File Group

Additional Articles from Database Journal

There may be a time when you want to move a table from one file group to another. It's easy if it contains a clustered index. Read on to learn more. More »


 

From the SQLServerCentral Blogs - Quick Script: Finding Specific Columns

SQLRUs from SQLServerCentral Blogs

I like scripts.  Scripts that help me do things. Working in the financial industry, there are always things that you have... More »


 

From the SQLServerCentral Blogs - Pausing index rebuilds in SQL Server 2017

Andrew Pruski from SQLServerCentral Blogs

Last week Microsoft confirmed that the name of SQL vNext will indeed be SQL Server 2017. I was looking through... More »

Question of the Day

Today's Question (by Steve Jones):

I want to clear the Query Store in my Sales database in SQL Server 2016. What command should I use?

Think you know the answer? Click here, and find out if you are right.


We keep track of your score to give you bragging rights against your peers.
This question is worth 1 point in this category: Query Store (QS).

We'd love to give you credit for your own question and answer.
To submit a QOTD, simply log in to the Contribution Center.

ADVERTISEMENT

Expert T-SQL Window Functions in SQL Server

Expert T-SQL Window Functions in SQL Server takes you from any level of knowledge of windowing functions and turns you into an expert who can use these powerful functions to solve many T-SQL queries. Replace slow cursors and self-joins with queries that are easy to write and fantastically better performing, all through the magic of window functions. Get your copy from Amazon today.

Yesterday's Question of the Day

Yesterday's Question (by Stanley Kapfunde):

Which of the following is NOT a Data Manipulation Language keyword?

Answer: Alter

Explanation:

The correct Answer is:A

Alter is a Data Definition Language(DDL), not a Data Manipulation Language(DML) keyword.

Ref: T-SQL Statements - click here

SQL Server 2014 Development Essentials by Basit A. Masood-Al-Farooq page 26.


» Discuss this question and answer on the forums

Database Pros Who Need Your Help

Here's a few of the new posts today on the forums. To see more, visit the forums.

SQL Server 2016 : SQL Server 2016 - Administration

owner of db file - Hi, I just checked and the owner of db file of a critical db server is blank, when I set it...

Log Shipping - Exclusive access could not be obtained because the database is in use - Hi, We have been facing an issue with Log Shipping. Few databases struck in Restoring status. If we check the properties...


SQL Server 2016 : SQL Server 2016 - Development and T-SQL

Slow Full Text Search on New Server - Got a new SQL Server, running SQL 2016 on Windows Server 2016. This VMWare at our hosting site. Server properties show...

Why does this amended JOIN cause a syntax error. - I wish to change this SQL: SELECT     CONVERT(varchar(2), Data.WeekNumber) AS WeekNumber,     CONVERT(DECIMAL(18,2),SUM(Purchases)) AS Purchases,     CONVERT(DECIMAL(18,2), SUM(Data.PurchasesMinusWarrantyParts)) AS PurchasesMinusWarrantyParts,  &nb

Batch Transaction (Begin Trans/Commit Trans) - DML Operation - Hi , I have a very Huge table (millions of the rows). I am performing a batch operation on it via...

Export data in XML to import into Word - Hi Folks, I am building a one-click application to export information from SQL Server 2016 in XML format that will be...


SQL Server 2014 : Administration - SQL Server 2014

Client Upgrde - I need to upgrade SQL 2008 client to SQL 2016. How to do it?? do I need to uninstall SQL 2008?


SQL Server 2014 : Development - SQL Server 2014

Function return values - I have a function that returns a table of values and i like a way to list those values in...


SQL Server 2012 : SQL 2012 - General

Oh double hop, you're so fun ... Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. - I've fought this issue so many times over the years and perhaps I'm old and rusty, but I'm having a...

Table Changes - Does anyone know how to query changes made to any tables/rows made in a SQL database?

Stored Procedure for Dynamic Query in Sql server - I need procedure for below dynamic query.In that procedure f_id and value is input parameters. f_id and value is collection of...


SQL Server 2012 : SQL Server 2012 - T-SQL

Querying Postcodes gracefully - Recently I've been getting an influx of requests asking me if I can find clients on our system that have...


SQL Server 2008 : SQL Server 2008 - General

Getting error 18456, need help in figuring out what's wrong - We've got a test user we're using to test how our new app will work. I can't connect, while logged...


SQL Server 2008 : T-SQL (SS2K8)

Query for status - Hi guys, I am working on a requirement where I am not finding any efficient way to get the desired...


SQL Server 2008 : SQL Server 2008 Administration

Procedure Doing Only Select - I have a complex procedure having multiple case statements which only select data from multiple table. But when i ran...

DB Average Wait Time is too high - hi guys, i am currently working with setting up scom alerts for my sql 2008 r2 enterprise instance. There is...


Cloud Computing : Amazon AWS and other cloud vendors

SQL Backups in AWS not on RDS - I am doing native SQL backups on a windows 2012 server to an S3 bucket. The full's (40gb) never make...


Data Warehousing : Strategies and Ideas

No PKs on fact tables - I just inherited a data warehouse where none of the fact tables have a primary key (all fact tables are...


SQL Server 2005 : Business Intelligence

How to SetItemParameters for a report in SSRS 2008 using web services through SSIS package Script Task - Gettings Everyone !! :-) I'm new to SSRS and really need some help from you experts in this Forum -- I created a...


SQL Server 2005 : SQL Server 2005 General Discussion

Difference between SQL Server Standard edition - OEM version , retail and Promo version - I want to buy SQL server standard edition. When I looked at the prices online, there is a significant difference...

This email has been sent to [email protected]. To be removed from this list, please click here.
If you have any problems leaving the list, please contact the [email protected].
This newsletter was sent to you because you signed up at SQLServerCentral.com.
Feel free to forward this to any colleagues that you think might be interested.
If you have received this email from a colleague, you can register to receive it here.
This transmission is ©2017 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
Contact: [email protected]