SQLServerCentral - www.sqlservercentral.com

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

Featured Contents

The Voice of the DBA

Naming Conventions for the Cloud

There are plenty of controversial topics in technology to write about. Today I want to combine two of them into one piece: the cloud and naming standards. I'll leave tabs v spaces and language choices for another day.

I like the cloud, and I especially like Azure. I'm not sure that it fits with most applications and organizations and at times I question the value for some parts of the platform, but overall, the ideas are great. I tend to work more in Azure because I'm an MS stack person, but I suspect AWS and the Google Cloud Platform are similar. Many of the cloud platforms, or even the various services from vendors like Rackspace offer lots of opportunity and an amazing set of platform services.

However, as there are more and more options, tracking the various items and services that you are using becomes an issue. This isn't a new problem, and I've faced the same issue in large Fortune companies. Inventory and management of any technology at scale is hard. This brings me to naming standards. Many of you have probably dealt with naming standards in development and perhaps argued about the choices that your team uses.

There are also issues for infrastructure, which can be more complex and problematic in the cloud. Because we don't have complete control over devices, we are limited to managing our objects through interfaces. At least in my data center I can fall back on labeling or connecting to a physical box to determine what services are running. Or even turning a system off to see who complains, something I've had to do in the past.

In the cloud, the world gets confusing quickly because we have many more types of services. Not only items like VMs and databases, but we can have network interfaces, disks, storage accounts, load balancers, and more. In fact, the list in Azure has gotten extremely long. The addition of things like Azure Functions and Azure Logic Apps have me worried that we'll start to lose control of our infrastructure. The one thing that I appreciate is Resource Groups, which allow me to put groups of items together.

However, even with these tools, I sometimes find myself confused over what's running. When I ran across John Paul Cook's post on naming standards, I realized that I needed to get better organized with my resources. Having some sort of naming standard might help me quickly identify items and keep my portal organized. Even with the various icons, sometimes I get them confused because there are so many different possible icons and services. With a prefix and a resource group, maybe I'll be better able to track which items I need to keep and which I don't.

As you grow the number of anything, the overhead for organization and management grows. It becomes more important to track what you have and use, especially when you're being charged by the resource. I expect that many of us will be answering questions and reporting on not only usage and performance, but also cost for some part of our jobs as more applications move to the cloud.

Steve Jones from SQLServerCentral.com

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


The Voice of the DBA Podcast

Listen to the MP3 Audio ( 5MB) podcast or subscribe to the feed at iTunes and Libsyn. feed

The Voice of the DBA podcast features music by Everyday Jones. No relation, but I stumbled on to them and really like the music.

ADVERTISEMENT
SQL Clone

NEW SQL Clone - version 1 available now!

Create copies of production databases and SQL backups in seconds and save up to 99% of disk space using SQL Clone. Redgate’s new tool removes much of the time and resource needed to create and manage database copies, allowing teams to work on local environments to develop, test and diagnose issues faster. Try it free.

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.

Featured Contents

 

Yet another SSIS XML Destination

Adán Bucio from SQLServerCentral.com

See a simple script to generate an XML file in SSIS. More »


 

Azure Networking for SQL Server DBAs

Additional Articles from SimpleTalk

The network is important to any DBA because so much performance is dependent on I/O, because of the importance of security, and ensuring that everyone get the right access. DBAs generally need not become experts in Azure networks, but it helps to understand the concepts and language. If you are running a SQL Server Virtual Machine in Azure, then VNets, Subnets, Network Security Groups, VNet peering and VPN gateways are all worth knowing about in order to to keep SQL Servers running smoothly. More »


 

How to document multiple SQL Server databases using SQL Doc and PowerShell

Additional Articles from Redgate

You can use SQL Doc’s command-line parameters to automate database documentation, but when you try with a group of databases on a server, they sometimes don’t give you enough control over the job. Phil Factor provides a solution that allows both automation and flexibility. More »


 

From the SQLServerCentral Blogs - Copy-SqlJob, a handy dbatools cmdlet

Steve Jones from SQLServerCentral Blogs

One of the things I’ve often needed to do is move jobs around between instances of SQL Server. I’ll often... More »


 

From the SQLServerCentral Blogs - Power BI Custom Visuals Class (Module 50 – Narratives)

Devin Knight from SQLServerCentral Blogs

In this module you will learn how to use the Narrative Power BI Custom Visual.  The Narrative visual is developed... More »

Question of the Day

Today's Question (by Devendra Thakur):

Suppose you are running the following MDX script against Sample cube provided by Microsoft.

 SELECT FROM [Adventure Works]

It returns a numeric value (in my case $80,450,596.98). What it represents?

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: MDX.

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 Steve Jones):

I want to allow a fellow employee to recycle the error log every week or two for a SQL Server 2016 instance, without restarting the instance. What are the minimal rights I need to give them?

Answer: sysadmin

Explanation:

Recycling the error log without restarting the server is done with sp_cycle_errorlog, which requires sysadmin rights.

Ref: sp_cycle_errorlog - click here


» 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

Which command to reduce log fle ? - Hello Everybody, I have a question concerning Log File : I have to reduce Log file because it's Growing, I'm thinking, this...

The target database, '', is participating in an availability group and is currently not accessible for queries. - Hi, I keep seeing this error in secondary node of the server. We dont have readable secondary. But the error only...

Linked Servers & Windows 10 Credential Guard - Hello, Does anybody know to configure Linked Servers to work with Windows 10 Credential Guard? I get Login failed for user...

SQL Server 2016 Failover Cluster - Installing SP1 CU3 Error - I installed SP1 CU3 on the non-active node which was successful.  When I attempted to fail over SQL Server, the...

SQL Server 2016 Install - VS Shell Installation Failure - I was running through the install with the final release of SQL Server 2016 and during the "Installation Progress" portion,...


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

SQL 2016 Upgrade - One user has a different datefirst value to everyone else. - Hmmmm... This is strange - I have one user in SQL 2016 which is consistently evaluating the following query as if...


SQL Server 2014 : Administration - SQL Server 2014

backup after a restore. - I am using SQL server native tool to do the full, differential, transaction backup.   A question, every time if we do...

Ability to CREATE JOBS run by a service account WITHOUT being SYSADMIN - Hi SSC, We have a major PITA happening. Our company leadership in their infinite wisdom has determined that NO ONE except Database...

tempdb: filegroup is full while space is available both in filegroup & transaction log - SqlServer 2014 sp2cu2: having troubles with tempdb (350Gb full size: 8x25Gb primary group + 150 Gb log). Error is Msg 1105, Level...


SQL Server 2014 : Development - SQL Server 2014

User-friendly names for constraints - I just noticed that when you create a column with a default value, a constraint is added to the table....


SQL Server 2012 : SQL 2012 - General

Struggling with bcp on a particular file... - I have a "few" files in text format. Fields are separated by 0x01 (Ctrl A?) characters while rows are delimited by...

To Delete / Truncate / Drop & Create - Good Morning All, Can I Have some opinions please. Have 2 large tables I need to 'clean', 1 with 265263333 rows and one...


SQL Server 2012 : SQL Server 2012 - T-SQL

t-sql 2012 parse out multiple values in one field that is varchar(1200) - In a t-sql 2012 database, I am suppose to count the number of times each 'canned' message is used for Elementary...

Creating a temp table with dynamic SQL - This is a weird one. We were sure we had it working before we changed the sizes of the data...

Heap vs Clustered Wildcard Search - I am working on converting a heap table to a clustered table by adding a primary key to the identity...


SQL Server vNext : SQL Server 14 - Development

BEFORE TRIGGER Idea Posted to Microsoft Connect - I have wished for SQL Server BEFORE TRIGGERs for a long time. I have posted to Microsoft Connect (their feedback...


SQL Server 2008 : T-SQL (SS2K8)

Looking for best approach - I have two tables. I am looking for an approach where 1)I need to display the data from Table1 if table...


Cloud Computing : SQL Azure - Administration

Azure data warehouse - Index maintenance - Hello Folks, How do you perform/schedule index maintenance on Azure Data warehouse. Is there an option to view index fragmentation details...


Data Warehousing : Integration Services

Grief importing date from Excel 2010 to SQL Server 2012, SSIS, Derived column task. - Hello, First of all, I'm an SSIS Noob, and not great with Excel either, someone else created and imported the data...


Data Warehousing : Analysis Services

Issue with deploying cubes - Hi all We're trying to deploy cubes to a DEV server (and from there to PROD after testing) but we're having...

This email has been sent to newsletter@newslettercollector.com. To be removed from this list, please click here.
If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com.
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: webmaster@sqlservercentral.com