| A community of more than 1,600,000 database professionals and growing |
| | Big Power Issues Recently British Airways had a massive computer failure and had to cancel hundreds of flights across a couple days. This was a large disruption for travel as tens of thousands of passengers were stranded around the world. In addition to the concerns many of us have about security, I also worry about large scale systems that continue to grow in scale, with more users depending on them, and not necessarily getting updated with modern technologies. While I know many of the customer facing systems have been enhanced for companies like airlines, I'm not sure the core infrastructure that backs these systems has changed. British Airways has blamed the cause of the outage on a power failure, with some finger pointing between the airline and their outsourcing company. BA appears to say a power surge caused problems with it's UPS's and batteries, which resulted in a situation where "the controlled contingency migration to other facilities could not be applied." I'm sure some of the information being published is carefully vetted by lawyers and doesn't necessarily reflect the actual technical issue, but it doesn't matter. A well designed HA solution shouldn't care if a primary system drops off line, falters, or anything else. In the worst case, any IT system failover can be forced, understanding a potential loss of data. In the SQL world, we could always remove a primary and just go with whatever data is on the secondary. Certainly within a few hours we could be up and running. I suspect that the architecture of the BA system is not well designed for large failures. I know that dealing with power is tricky. While working for a large company (10k+ employees), our data center went down one day, which affected our public presence, customer support, and plenty of internal systems. We had UPS service underway, which had disconnected main power for some reason and we couldn't quickly switch to the public grid when a system failed. It took a few hours to reroute power, during which our CTO paced the data center floor in an irate manner. Certainly that didn't speed things along. As noted in the piece I've linked, there are some strange inconsistencies with the explanation. It's entirely likely that a data quality issue caused problems that took hours to rectify. I've been on the wrong side of those, working through queries and attempting to piece together some version of the correct data from various sources. If that's the case, then I'd really like to know what the faliure of their systems allowed bad data to disrupt operations. There are learning opportunities here for us data professionals. I do hope that some of the details of how BA architected their system gets shared among technical staff. At the least, I'd like to have large companies like UPS, Wal-Mart, British Airways, and other companies publish and share information about technical details and architectures. Some of the tech companies do this already (Amazon, Google, etc.), but it's good for other industries to share their information as well. We owe it to the industry to learn what works well and what fails as we grow systems to larger scales and more complex interactions. Certainly I'm proud that many SQL Server experts share their experiences, helping others learn and make fewer mistakes in the future. 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 ( 5.4MB) 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 | | How to track every change to your SQL Server database See who’s changing your database, alongside affected objects, date, time, and reason for the change with SQL Source Control. Get a full change history in your source control system. Learn more |
| | Masking your on-premises database with SQL Data Mask Redgate's latest prototype tool is rapidly developing. Using SQL Data Mask, you can now mask on-premise SQL Server and Azure SQL databases. This blog post explains how it works, and how you can try it out for free. Find out more |
|
|
|
| | | Darko Martinovic from SQLServerCentral.com This article shows a few techniques with SQLCLR to to transform a query result into HTML. More » |
| Additional Articles from Database Journal If you are running Windows 8 and above, you might have found out that you can’t find SQL Server Configuration Manager in the list of installed applications. Read on to learn how to locate it. More » |
| SQL Census is the latest piece of technology to be developed within Redgate Foundry. Still early in its development, it’s a product that’s designed to help you explain to an auditor which of your colleagues are able to access business-critical SQL Server databases. Here's how it works, and how you can get involved with the early access program. More » |
| dustinryan from SQLServerCentral Blogs Last week on May 17th the Power BI team announced the release of the Power BI Report Server preview. Power... More » |
| SQLRUs from SQLServerCentral Blogs M.A.S.H 4077. Mobile Army Surgical Hospital. One of my all time favorite TV shows that I still watch to this... More » |
|
|
| | Today's Question (by Steve Jones): When using native backups in SQL Server 2016, and choosing to encrypt these backups, what options do I have for the encryption algorithm used for the data? |
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: Backup. We'd love to give you credit for your own question and answer. To submit a QOTD, simply log in to the Contribution Center. |
|
|
| Yesterday's Question of the Day |
| Yesterday's Question (by Steve Jones): What is an assertion in computer science? (choose 2) Answer: is a Boolean expression is expected to be true Explanation: Assertions are boolean expressions that should evaluate to true and are expected to be true. If an assertion is false, the program usually fails. The ASSERT statement will usually end a program in many languages if the expression is not true. Ref: Assertion - click here Assertion - click here » Discuss this question and answer on the forums |
|
|
| | Christian Møller from SQLServerCentral.com This script takes path and dbname, prints the command (default 0, 1 executes the command). It loops through to get number of files of the actual database. Then it builds the restore script based on number of files. It has some limitations. It can only be one backup of a database in the directory. Since it doesn’t check for the date on the files. But it can be several files of the backup. How to use Use your_config_db go EXEC Restore_Database @backupPath = N'Put_your_backup_path_her', @DBName = N'Put_your_dbname_her', @Print_or_Run Default in @Print_or_Run is to print the command. If you put in 1 then it runs the restore command 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. How Does Preferred Owner Effect Availability Groups - Evening All, I know the rule of thumb is don't touch the Preferred Owner settings (apart from the Priority Order) but... SQL Server 2016 Inplace Upgrade - I wanted opinions from my fellow SQL Server DBA's with regards to SQL Server Inplace Upgrade versus a side by... user unable to see all running queries - Hello, We have SQL user created with with DBO permissions for a specific db created for them. according to them they... How to get date from JSON in correct format? - Say, I have the following JSON and query: declare @json nvarchar(max) = ' [ { "JDate": "01.04.2017", "JName": "John" } ] '; select datepart(day, JDate) , datepart(month, JDate)... Why do some DBAs avoid DATETIME2? - I've been considering using DATETIME2(3) over DATETIME for new work due to the 1-byte saving of equivalent values (DATETIME2(3) vs... Index fragmentation - I have a table with two indexes. It has showing 60% fragmented. So tried rebuild the indexes. Still indexes are showing... SQL server 2014 is very slow - Based on this report(performance monitor) can any one tell why the Sql server is running slow. many application have slow... TempBD space issue - The initial size of a TempDB was set to 30GB. Now when I check the properties, it says almost 30GB... selecting columns and rows from pivot table - I have this table previously saved to the db from a pivot result baseyear__year1__count1__year2__count2__year3__count3__year4__count4__year5__count5 2012_____2012______10___2013______9___2014______7___2015_____5___2016______4 2013________0_______0___2013_____20___2014_____18___2015____15___2016_____10 2014________0_______0______0______0___2014_____25___2015____23___2016_____20 Find user connections to SQL server tables - I want to check, how many users are connected to any particular SQL Table and cube (SSAS). This will be... Need some help with some "XML Hell" please. - I'm working on an expansion of an incredible idea by Fabiano Amorimthat (https://blogfabiano.com/2012/07/03/statistics-used-in-a-cached-query-plan/) which uses Trace Flag 8666 to add... Things to consider while creating new table for an application - Hi All, I am going to design a new table for one functionality which we are going to add in our... Devide ' n' Conquer techniques in t-sql query writing - Hi Folks, It would be a great help for me if you suggest some best ideas or blogs where we can improve our... Comparing Tables with Not Exist and Multiple Conditions - Hi, I'm trying to compare two tables, find results from T2 not in T1 with conditions. Below is what I have: --create table-- create... Headers Using List and Grouped Tablix - I have a "City" dataset with a cityname column and other detail columns. I also have a "State" dataset with... ssrs 2008 final report totals - In an existing ssrs 2008 report, I want to add final report totals. I want the total line to be... SSAS Tabular 2016: One Table or Many? - We are trying to create a Tabular model for a client. The client has created a single, de-normalized table in... Get Last Name, First name and Middle Name from Full Name - We have a need to break out the first, middle and last names from a full name string. I've got... |
|
| 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] |
|
|