Search

Home > voiceofthedba's podcast > Practice Those Scripts
Podcast: voiceofthedba's podcast
Episode:

Practice Those Scripts

Category: Technology
Duration: 00:02:27
Publish Date: 2019-06-20 17:00:00
Description:

I've written lots of scripts that were deployed to production. I've often had another set of eyes look them over, and still, we made mistakes. In fact, a recent Salesforce outage was blamed on a poorly written database script that gave users more rights than they should have gotten. There wasn't an actual outage caused by the script, but since customers might have been able to see data and change from other customers, Salesforce took its own service down to prevent anyone from doing so.

I'm a big fan of DevOps, and certainly including the database in a DevOps process to build a better software development flow. Part of that is ensuring that you can deploy by practicing the act multiple times. In a database world, this would mean that we run a script not just on a development server, but on a QA server, on a staging server, on any other environment we can find to practice and test the deployment. At that point, we should be confident of execution on the production system without issues.

Read the rest of Practice Those Scripts

Total Play: 0