| A community of more than 1,600,000 database professionals and growing |
| | The Reliable DBA Many of us would consider ourselves to be reliable at work. Our employers count on us, co-workers may assume we're handling certain tasks, and it's human nature to think that we are meeting our obligations and responsibilities. Maybe not 100% of the time, but certainly I know my goal is to complete tasks I've committed to, on time, and to avoid dropping any balls that I'm juggling. I think I am mostly successful here, but certainly am late or forgetful about things at times. However, as a group, department, or even a set of services, does your organization think highly of the databases? Are your systems meeting their SLAs for performance and availability? If not, does your group respond in a timely manner? We sometimes think that we are, but without feedback and communication can we be sure? This certainly could be taken the other way, with other groups constantly complaining about your performance, even while you are meeting your commitments. I ran across a talk from Uber on reliability. It's more of a high level architecture talk about distributed systems and being able to detect and respond to issues. Certainly Uber works at a rate and scale that few of us will reach in our organizations. Add to the highly public nature and real time demands, and reliability is extremely important for their business. Mistakes can have dramatic hard dollar effects instantly, and there is a lot of pressure on their staff. For most of us, our databases do continue to become more important, and even when we are meeting our SLA commitments, are we providing reliable service from the entire staff? Is information being shared, with root cause analysis or retrospectives that help knowledge transfer among all of the individuals that might respond to an issue? Are you dependent on a superstar that must be called in to solve issues with the database, network, or storage? I've been the main person on call, the expert for a system that received calls on weekends, vacation, and other downtime. It's no fun to be in this position, and it certainly distorts work life balance, not to mention upsetting the rest of my family. My goal is to be there if necessary, but train others so that they can provide a consistent, similar level of service to customers and clients if need be. Becoming too dependent on any one person isn't much different than becoming too dependent on one server or disk drive or network cable. At some point you'll have a failure and that item will no longer be available. If you don't have a spare, you'll have regrets. Steve Jones from SQLServerCentral.comJoin the debate, and respond to today's editorial on the forums |
| The Voice of the DBA Podcast Listen to the MP3 Audio ( 4.1MB) podcast or subscribe to the feed at iTunes and Libsyn. 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 | | 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 |
| | Benchmark your Database DevOps maturity level Get a better understanding of how advanced your current processes are, receive recommendations for improvements, and see how your maturity level compares with that of your peers. Complete the Database DevOps Maturity Assessment |
|
|
|
| | | Additional Articles from SimpleTalk Changing a data type seems like a simple task unless the table is quite large and downtime must be kept to a minimum. Danny Kruge walks you through the process he created to change an INT to a BIGINT in a large table. More » |
| Narendra Bhogavalli from SQLServerCentral.com It is important to showcase how Artificial Intelligence is being used in various fields and industries with some facts More » |
| The query optimizer now treats EXISTS and IN the same way, whenever it can, so you’re unlikely to see any significant performance differences. Nevertheless, you need to be cautious when using the NOT IN operator if the subquery’s source data contains NULL values. If so, you should consider using a NOT EXISTS operator instead of NOT IN, or recast the statement as a left outer join. More » |
| Devin Knight from SQLServerCentral Blogs In this module you will learn how to use the KPI Indicator Custom Visual by MAQ Software. The KPI Ticker... More » |
| Andy Galbraith from SQLServerCentral Blogs One of the joys of working with SQL Server is the descriptive and meaningful error messages, right? https://vignette.wikia.nocookie.net/batmantheanimatedseries/images/a/a7/DiD_39_-_Joker_Vision.jpg/revision/latest?cb=20160610021326 Exhibit A - the 33206: Error:... More » |
|
|
| | Today's Question (by Evgeny Garaev): I have a T-SQL script like this: CREATE TABLE tst ( ProductID INT, ProductName VARCHAR(100), Quantity INT, Price MONEY ); INSERT INTO tst VALUES ( 1, 'SQL Server 2014', 20, 1234.55), ( 2, 'SQL Server 2016', 5, 1234.55); CREATE TABLE tst0 ( OrderID INT, ProductID INT, Quantity INT ); INSERT INTO tst0 VALUES ( 1, 1, 3), ( 2, 1, 1); SELECT [Product].ProductID, [Product].ProductName, [Order].OrderID, [Order].Quantity FROM tst [Product] LEFT JOIN tst0 [Order] ON [Order].ProductID = [Product].ProductID; --[Put the command here] DROP TABLE tst; DROP TABLE tst0; Which command do you need to put in place of the comment in order to get the following result: {"ProductID":1,"ProductName":"SQL Server 2014","Order":[{"OrderID":1,"Quantity":3},{"OrderID":2,"Quantity":1}]}, {"ProductID":2,"ProductName":"SQL Server 2016","Order":[{}]} |
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: SQL Server 2016. 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 capture data from sp_server_diagnostics for my Failover Clustered Instance (FCI). What code starts the logging process? Answer: ALTER SERVER CONFIGURATION SET DIAGNOSTICS LOG ON; Explanation: The ALTER SERVER CONFIGURATION command is used to turn logging on or off. Ref: View and Read FCI Diagnostics Log - 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. Upgrade SQL Server 2017 OS Question. - We are planning to upgrade our SQL server environment to 2017. So which will the best OS 2012 vs 2016? What are... Error Creating AlwaysOn Availability Group - Hi, We are new to SQL 2016 and I'm trying to setup AlwaysOn to replicate a read only database for reporting... Is Data Encrypted in Transit - All: I have a request from our security group to provide a list of all databases encrypted at rest or in... Upgrade edition of SQL Server 2016 SP1 from Developer to Standard - Hi all Having a strange issue. We have a production server which incorrectly got installed with Developer edition. The upgrade path... Must-have hands-on reports for SQL Server DBA - Hello! I'm fairly new to SQL Server and i have been wondering if you guys masters, professionals who have been in... ETL and data model design advice needed - I am often required to provide my organization with performance metrics (it is a health care organization so the metrics... What is faster? Creating calculated field within table or creating calculated fields within query? - Hi, what is faster? Best, Jacek how to open view on inserting values - Hello I am trying create view, when I run it it will ask for values, I enter and it will... SQL Server AUDIT for AD Group or sysadmin group - Hello, please I need to do sql audit for all group or for all sysadmin. I want to do dynamic, so its... Audti the Actions That Access the Audti Files - Hi, Does SQL Server provide functionality to audit the actions that access the audit file? For instance, if I run the following... Restrict "sysadmin" to access a particular database - Here is our organization I want to Restrict some particular sysadmin accounts to access a particular database. Is there any... Query not return any records although it give me result but in another database - Problem How to trace this query to know the reason of why it return null records . query below work in database... SQL server 2012 - Will data be lost if shrinked Log file - Hi, We are having production database and the log file size is reached to 120 GB, we are also taking transaction... Inserting Products into Order and Order Detail tables - Hello, This is a novice question, but looking to learn how to do this correctly. What I am looking to... Help with Dynamic SQL in Store Procedure - Hello SQL Experts,I am trying to create dynamic SQL in a store Procedure for a search form with many search... using fn_get_audit_file and execute as - I am trying to grant a teacher the ability to view database audits for his students, who each has a... Unable to filter Data - Hi, I have been working for quite sometimes on a report but I could not filter the data as I wanted. CREATE... Remote execution of SSIS package SQL 2016 - Hi, I'm debugging an issue with executing a ssis package. This package calls out to a HTTPS service to download data... Can i change the IP in connection manager (Maintanence plan) for 'Local Server connection'? - IP of SQL Server 2005 has changed. How can i change the IP in connection manager (Maintanence plan) for 'Local... Service Broker as a better alternative to linked servers? - Can Service Broker technology be used as an alternative to linked servers and what would be the pros/cons of that? Does... |
|
| 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 ©2018 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. Contact: [email protected] |
|
|