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

Avoid use of the MONEY and SMALLMONEY datatypes

The MONEY data type confuses the storage of data values with their display, though its name clearly suggests the sort of data it holds. It is proprietary to SQL Server and allows you to specify moneta...

Also in Product learning

A strategy for implementing database source control

Much has been written on the benefits of having a database under source control though many articles are clear on "why" but conspicuously vague on "how". Prior to our organization's decision to embrac...

Also in SQL Toolbelt

Effective Database Testing with SQL Test and SQL Cover

A well-established technique for improving application code quality, during software development, is to run unit tests, in conjunction with a code coverage tool. The aim is not only to test that your ...

Also about Database DevOps

The future of database DevOps

Foundry is Redgate’s R&D division. Part of our remit is to look further into the future. We do that by keeping an eye on things that might indicate a change in what you need from our products (e...

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