Back in July this year, I wrote a blog describing the challenges many organisations are facing as they try to embrace DevOps as a way to help increase their business agility through higher operational efficiency by enabling their IT departments to shorten their application release cycles, increase quality through fewer defects with lower the risk of application outages.

Last year, Quest surveyed many of our Toad users in order to gather intelligence about what companies are trying to accomplish when it comes to DevOps, what some of their challenges are and specifically, how they plan to bring their database operations into their implementation plans – typically the major bottleneck. The survey focussed on People, Processes and Technologies since all have their part to play in successfully implementing DevOps initiatives.

We have also been working with many customers over the last 2 years to better understand the unique challenges around bringing Oracle database operations into their DevOps infrastructure and I am pleased to announce that we will soon be releasing a new product from the Toad stable – called Toad DevOps Toolkit.

Diagram-ToadDevOpsToolkit-MJ-30386-v3.png-1280x960

Toad DevOps Toolkit and its place in the DevOps infrastructure

Toad DevOps Toolkit reduces the database bottleneck by making it easy to execute key database development functions within your DevOps workflow — without compromising quality, performance or reliability.

This unique Windows application exposes key Toad for Oracle functionality as programmable objects. For example, you can test PL/SQL code to ensure functional correctness; review it to make sure it meets standards for quality and maintainability; perform database, schema and data compare and sync to ensure integrity and mitigate risks; and implement scripts to physically deploy database changes throughout the release pipeline.

Toad DevOps Toolkit can be installed on a Windows laptop, desktop, server or VM either on-premise or cloud (provided it can connect to the build automation server) to maximise flexibility.

DevOps automation tools such as Jenkins and Bamboo can include database-related steps as part of their continuous integration processes via scripts, such as PowerShell and VB, speeding project completion while ensuring code quality.

Jenkins.png-1280x960

Calling a Code Analysis function from Toad DevOps Toolkit using Jenkins via a PowerShell script

As function calls are made into Toad DevOps Toolkit to perform static code reviews, unit tests, etc on the database objects in the build, output such as reports, JSON content, logs, etc which can be specified in the build console, are viewable in the build console.

The build console remains the dashboard by which DevOps operations are orchestrated.

TDT_Bamboo.jpg-1280x960

A static code review HTML report, generated by a Toad DevOps Toolkit Code Analysis call, being viewed in a Bamboo build console

In this first release of Toad DevOps Toolkit, we are focusing on the primary elements necessary to bring Oracle development functions into the build and deploy process.

  • PL/SQL unit testing — ensure the functional correctness for all PL/SQL code in your build by running unit tests and reviewing pass/fail status.
  • Static code reviews — improve the quality and maintainability of your PL/SQL code by performing static code reviews based on a defined Toad Code Analysis rule set, and assess quality levels based on pre-defined thresholds.
  • Database, schema and data compare — compare Oracle database configurations, schema objects and table data between source and target databases (such as dev and test) and generate sync scripts.
  • Script execution — promote your build artifacts into your target environment and review success or failure status.

What if I’m an Oracle database developer and I’m not doing any functional testing or code reviews?

That’s a common question I’ve gotten from customers over the last 2 years. The straight answer is – you really need to if you want to bring database development into an automated build process.

The good news, however, is it isn’t as hard as you might think. Using Toad for Oracle; the Edition I recommend is the Toad for Oracle Developer Edition (used to be called Toad Development Suite for Oracle) includes everything you and your developers need to build high quality, robust code which performs and scales in production.

Toad for Oracle Developer Edition is the perfect complement to Toad DevOps Toolkit and will enable your development teams to quickly create and maintain their PL/SQL unit tests, perform consistent code reviews, optimize their SQL and PL/SQL code without relying on a DBA and performance test the production scalability of key programs before they reach production.

So to summarize, Toad DevOps Toolkit:

  • Integrates database development, testing and deployment tasks into the DevOps workflow
  • Provides static and dynamic code quality statistics in continuous integration and continuous delivery environments
  • Facilitates code quality
  • Ensures project deadlines can be met across application and database deployment
  • Boosts productivity with minimal disruption to current DevOps processes

Integrates into virtually any continuous integration and continuous delivery tool, including Jenkins, TFS and Bamboo 

About the Author

John Pocknell

John Pocknell is a senior market strategist at Quest Software and part of the Information Management business unit. Based at the European headquarters in the U.K., John is responsible for synthesising analyst data and customer interviews in order to create and evangelise solutions-based stories and messaging which relate to major IT initiatives for our extensive portfolio of database products, worldwide. He has been with Quest Software since 2000, working in the database design, development and deployment product areas and spent over 10 years as product manager for the Toad product line. John has been successfully evangelising Toad and other database solutions at various conferences and user groups around the world for the last 19 years as well as writing blogs and technical papers both internally and for the media. John has worked in IT for more than 30 years, most of that time in Oracle application design and development. He is a qualified aeronautical engineer with more than 10 years of experience in provisioning IT consultancy services and implementing quality assurance systems to ISO 9001.

Start the discussion at forums.toadworld.com