| A community of more than 1,600,000 database professionals and growing |
| | Do you have DBA syndrome? Okay, you caught me, I just came up with the term "DBA Syndrome", but in my experience it really does exist. You have probably heard the saying, “absolute power corrupts absolutely.” This describes nicely what can happen to some DBAs. They are given all the power and it goes to their head. I call it DBA syndrome. It seems to start off the same way. A perfectly normal, nice individual enters into a DBA position. Their goal is to keep production systems up and running while reducing unscheduled downtime. They have been given the keys to the kingdom; they are the gatekeepers. Don’t get me wrong. It is extremely important to keep production systems running and to not introduce new things that will cause issues or downtime. Still, that doesn’t mean one should not be open to new ideas or better ways of doing things, properly tested and proven, of course. It seems over time, DBAs can become resistant to any change no matter the reasons for the change. I have heard of a situation when a DBA was resistant to change, and the developers took things into their own hands. The DBA didn’t want to introduce new stored procedures into the database. So, the developers just started using in-line SQL in their apps. I can’t imagine how this was a better situation for anyone. So, why does DBA syndrome happen? I believe it starts as the DBA works hard to make the production system solid. When things are working well, they tend to be resistant to change, since change might cause issues. I understand the stress the DBA feels. It is your team, or even just your responsibility, to keep systems running. Why would you endanger that? Why would you open yourself up to late night support calls when things have been running so smoothly? This is where I think the DBA can lose sight of their full purpose. I believe their role isn’t just to keep production up and running, but also to make sure the systems are serving the needs of the customers. It is great if the servers have no downtime, but if the systems don’t really meet the needs of the customer, there is a problem. It is kind of like The Lord of the Rings. You may have seen the movies or read the books. Gollum has been corrupted by the power of the one ring to rule them all. He pets the ring and calls it, “precious.” Or when Gandalf asks Bilbo to put the ring on the mantel, Bilbo has difficultly letting go of all that power. Or Frodo standing above the lava of Mount Doom, he can’t bring himself to destroy the ring. Yet I believe for a DBA to do their job, sometimes they need to set their power aside, remove their ring of power, and think about the situation from a different perspective. They need to think about what is best for the customer, even if it means disturbing a system that is running well. Now all that being said, I am not condoning just throwing anything into production. Code must always be properly tested and proven in test and staging systems before it goes live. Still, it would be helpful for DBAs with DBA syndrome to not have their first answer always be, “No" or "that won’t work.” It would be great for them to be generally helpful and amiable to changes that cause systems to better meet the needs of their customers. Does DBA Syndrome really exist? Share your experience, or resistance to taking off the ring of power. Ben Kubicek from SQLServerCentral.comJoin the debate, and respond to today's editorial on the forums |
|
| ADVERTISEMENT | | SQL Clone – Create database copies fast! 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. Download the technical preview. |
| | New Redgate SQL Compare 12 has landed! SQL Compare 12 has landed with a brand new user interface, support for SQL Server 2016, and a wealth of fixes and improvements. Check out this blog post from Redgate's Carly Meichen to hear more about what’s new, why the team have built it, and how. Read now. |
| | Track schema changes for free DLM Dashboard tracks SQL Server databases to show you exactly what schema changes have been made, by who, and when. You get a full history, with line-by-line differences, and a clear audit trail of your database moving from development to production. Download free tool. |
|
|
|
| | | Mike McQuillan from SQLServerCentral.com Learn how U-SQL views can hide complexity and use C# expressions, providing powerful ways to format and return your data. More » |
| Press Release from Redgate When you can’t get to your data because another application has it locked, a thorough knowledge of SQL Server concurrency will give you the confidence to decide what to do. More » |
| Additional Articles from SQLPerformance.com Aaron Bertrand runs some tests to challenge an assertion that CHARINDEX is always faster at pattern matching than LEFT and LIKE. More » |
| Do you have a need to audit your database? Do you have compliance pressures? Redgate would like to build better tools in this area but need your help to understand the pain points. If you think you can help, please fill in their short survey. More » |
| Tim Mitchell from SQLServerCentral Blogs Over the weekend, I went to the local theater to watch Sully, the movie about the US Airways pilot who... More » |
|
|
| | Today's Question (by Steve Jones): What is returned from this statement? SELECT ROUND(2305.6664, 1, 10000) |
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: ROUND(). 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 | The Definitive Guide to DAX: Business intelligence with Microsoft Excel, SQL Server Analysis Services, and Power BI - This comprehensive and authoritative guide will teach you the DAX language for business intelligence, data modeling, and analytics. Leading Microsoft BI consultants Marco Russo and Alberto Ferrari help you master everything from table functions through advanced code and model optimization. Get your copy from Amazon today. | | |
|
|
|
|
|
| Yesterday's Question of the Day |
| Yesterday's Question (by Steve Jones): In my Excel 2016 sheet, I use this formula put strings from a few cells together. =CONCATENATE(I4, J4, K4) I want to use the same type of forumula in a DAX calculation that gathers data from three columns together. How should I do this? Answer: Use the concatenate operator (&) to join the three columns. Explanation: The CONCATENATE operator in Excel can take up to 255 parameters. However, in DAX, you are limited to two parameters. You can, however, use the & operator to concatenate more than two items. Ref: CONCATENATE - https://msdn.microsoft.com/en-us/library/ee634811.aspx Stairway to DAX and Power BI - Level 11: Function / Iterator Function Pairs: The DAX Concatenate() and ConcatenateX() Functions - http://www.sqlservercentral.com/articles/DAX/146049/ » Discuss this question and answer on the forums |
|
|
| | Sheraz Mirza from SQLServerCentral.com Getting probelm creating sessions or queries is a routine job for a DBA , Here is more efficient way of resolving this issue without using any third party tool. For demo purpose, we are creating our own table and inserting some data, and then we will create different sessions , and then blocking sessions . All code is in code section here i'll use image of commands and results for better understanding. Create Employee table Insert dummy data in table Now our dummy table Employee has 12 rows, open another query in SSMS (which will create another session) Write some insert command in new query window here you can see we start transaction with BEGIN TRAN keyword but without END TRAN, so it makes transaction state open now run script to see currently open running session which are in open state, here you can see its showing two sessions 54 and 53 one is where we are running the query and other one is which is in open state, the session where we issue command but did not make it complete. DBA can contact the session owner to complete that transaction or can take any other transaction. Now lets create another session which is updating the record which is not commited , i mean the open session query. so in new query window we wite statement and execute here you can see system is in running state without completing the statement. now come to any other query window and run the query below to check whcih are blocking sessions Result is showing that blocked session is 58 in which we use update query and blocking session is 54 in which we insert some record which is not committed. now we can clear blocked session by committing 54 session or any other option. More » |
|
|
| Database Pros Who Need Your Help |
| Here's a few of the new posts today on the forums. To see more, visit the forums. Maximum number of CROSS APPLY functions - I can't find a maximum number for CROSS APPLY lines in a single query. I know this has to be... Assign result of dynamic sql to variable - Hello Everyone, I have a problem This is the result what i get from my function ufn_GetHcmDesignFields ISNULL(cast( ExtTotalExperienceUS as nvarchar) + ',' , '') + ISNULL(cast(... Log Data Being Read/Queried - Morning All, I want to analyse the datetime on a particular table as I want to identify an date range of... Looping through rows and applying a count - Hi, I was hoping I could get some help for the below that I'm trying to return. I'm a SQL... SQL Server license requirements - My query is whether SQL server license is required for the WEB server & for the application server ? Or is it... One to Many relations - Hi, I've a few different entities that need to hold photos (one or many), let's name them A, B and C.... How to use sp_msforeachdb to create multiple table in multiple databases - Experts, Is is possible to create multiple tables with same tablename and column in multiple databases without selecting each database from... How to get the previous weeks data based on week ending - I need to get a weekly count of records with Friday being the end of the week. So, the report... High lob logical reads on a query with just 2 simple tables - [code="sql"] /* Table1: NotificationType (NotificationTypeID INT PK Clustered, NotificationCriteria xml, TypeName Varchar(200), Deleted char(1)) Table1 has 25 rows Table2: Subscription (SubscriptionID INT PK Clustered,... Backup database only if changes happen - I have SQL2008 database with some 100s of tables. Every 2 hours transaction log backup to tape is triggered. Just... Log Shipping Restore Job Failing - Hi , I am fairly new to sql server so any help would be greatly appreciated, I set-up log shipping from... Calculate time difference between two related visitors without using cursor - I have a table (see attached) listing visitors IDs, listed more than once, and Arrival DateTime. I need to find... Index guidance needed - Hi everyone. I recently came across a dev database in our organization that had no clustered indexes and circa 100 million... Report to pull UserID field and Date field from 5 tables and display a List? - Hi, Please can anyone help, I have 5 SQL tables (T1, T2, T3, T4, T5) which contain just 2 fields: UserID... T-SQL Code Analysis Tools - I am researching T-SQL Code Analysis tools, like the equivalent of an FxCop for T-SQL that will scan thousands of... How to force column explicitly to string type before we export to excel - I have a package which laods data to excel ,but my manger wants to force column explicitly to string type... Modelling grain and fact table key - Hi, I'm new to datawarehousing and am really working through a lot of concepts with no guidance or mentor. I have... Msg 102, Level 15, State 1, Line 1 Incorrect syntax near '-'. - If I have connected a linked server whose name is: cic-nic-2 When I running query : select * from cic-nic-2.Arrow.dbo.circle it is giving... interview questions - any info on really good interview questions for a sql server dba? How to get date?? - Hello , I would like to find right date. Example: year = 2016 week = 40 day = 3 (tuesday) How can I get date? Thank you. |
|
| 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 ©2015 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. Contact: [email protected] |
|
|