21 December 2017
21 December 2017

Introducing database automation with the SQL Toolbelt

For many companies, particularly those in the financial sector, a key technology consideration is risk management because if systems go down, it can cost a lot of money very quickly.

Take ABSA Bank, a subsidiary of the Barclays Africa Group. Serving customers in South Africa and Namibia, it provides retail, business, corporate, and investment banking, as well as wealth management products and services. Thousands of high-value transactions from major customers pass through its payment processing systems every day, none of which can fail or be delayed.

A 40-strong development team supports the systems and, to enable them to work faster and more effectively, the bank wanted to introduce DevOps for both application and database development, and automate processes where possible.

The aim was to give the development team end-to-end responsibility for the solutions they were developing, so that they could improve accuracy, reduce the time between releases – and minimize risk.

Goodbye manual database deployments

One of the biggest issues for ABSA Bank was deploying database changes. While they already used Redgate tools like SQL Prompt to improve coding, and the industry standard database comparison tool, SQL Compare, deployments were holding them back.

The process was manual and involved the teams compiling deployment scripts, saving them to a directory, and then handing them over to operations for review at deployment time. This typically took each developer two or three hours a week, and occasionally caused problems with deployments.

To improve the process, the bank wanted to move towards database automation by introducing continuous integration and automated deployments to match the practices used in application development.

Hello automation

Redgate’s SQL Toolbelt was a natural choice because, as well as containing tools the team were already familiar with, it plugs into Team Foundation Server and Visual Studio Team Services, which were in use for the applications.

The bank rolled out the SQL Toolbelt over a period of three weeks and saw an immediate advantage in that its introduction standardized the tooling in use across development and operations as well as application and database development.

Database changes are now checked into version control alongside those for application code. This triggers a continuous integration process which builds the changes to test everything is working as it should. If not, the build fails and the team receive feedback about what went wrong. This catches any errors early on in the process and stops them reaching the production environment.

Once tests pass successfully, a NuGet package is created and is automatically promoted across environments all the way to production, saving everyone hours and hours of time. Perhaps as importantly, it has also reduced deployment errors and given the development team – and ABSA Bank – confidence that their systems are safe when changes are introduced.

If you’d like to find out more about how ABSA Bank introduced database DevOps, read the case study.

If you’d like to discover how the SQL Toolbelt works, download a fully-functional, 14-day trial version.

 

 

 

 

Tools in this post

SQL Toolbelt

The industry-standard tools for SQL Server development and deployment.

Find out more

Share this post.

Share on FacebookShare on Google+Share on LinkedInTweet about this on Twitter

Related posts

Also in Hub

How to monitor the impact of patching on SQL Server performance

In recent weeks, the IT industry has learned of two serious processor vulnerabilities, Meltdown and Spectre, which an attacker can exploit to obtain information to which they should not have access: s...

Also in Product learning

How to use the SQL Prompt snippet placeholders for selecting and copying text

There are four SQL Prompt snippet placeholders that are all about selection and copying of text:

$PASTE$
Inserts the contents of the clipboard at that position.

$SELECTEDTEXT$
Inserts the select...

Also in SQL Toolbelt

Unearthing Bad Deployments with SQL Monitor and Redgate's Database DevOps Tools

Sudden performance issues in SQL Server can have many causes, ranging all the way from malfunctioning hardware, through to simple misconfiguration, or perhaps just end users doing things they shouldn'...

Also about Database DevOps

NEW - Create, protect and manage non-production databases with SQL Provision

SQL Provision launches today. It allows users to create copies of SQL Server databases in seconds, using a fraction of disk space, and mask any sensitive data to help address data privacy and protect...

Also about SQL Toolbelt

Developing the Redgate SQL Toolbelt

There have been a few changes recently in the way Redgate develops software. In a deliberate move to address ongoing requests and requirements from users, the product teams who develop each of the pr...