Azure and DevOps have become quite the rage in the information technology world. With the increasing desire for companies to build and deploy code faster, and the need for scalability the DevOps philosophy gets more focus as a path to accomplishing these goals. However, applying DevOps in a cloud environment means a shift in the way IT pros have been working over the years.
DevOps, as a concept, is easier if you look at it from a developer’s side. Concepts such as frequent (partial) software releases, treating assets and resources as disposable and continuous deployment, however will make any DBA shiver with fear. In their dictionary, these terms are synonyms to bad queriesand machines going berserk, resulting in potential data loss, instability, downtime and always bad performance driving the DBA in question into the dark side of administration, and so, demanding lack of sleep combined with huge caffeine intakes. It’s a database administrator’s goal to maintain stability in the environments by means of rigorous resource management, fine-tuning instances and cautiously examining code to prevent the ultimate disaster… data loss.
This makes database deployment automation an extremely difficult process, but, remember, the goal should be to reduce risk for new releases and achieve higher quality and fewer bugs. Faster deployment should be considered a side-product, not the goal. Also, it is primordial that application and database releases can be done independently. Of course there will be dependencies, but it should always be possible to make adjustments to both sides, when needed.
This gives the current DBA generation some serious challenges. DevOps teams are getting stuck in manual database delivery purgatory, because databases are a different beast altogether. DevOps for Database deployment have taken a back seat, leaving database automation as a horror scenario (for both parties). The main reason is that most DBAs don’t trust deployment automation like code developers do, and most of the time they have some very good reasons to do so.
DBAs, more than any other Ops member, know the value and the risks involved with handling data they are responsible for. DBAs are forged in the heat of the fire, created by fighting breakdowns or conflicts. This leads them to only trust deployment if they can take matters into their own hands to ensure the release is done right. One of the main reasons for this is that any rollback scenario can quickly become a nightmare, requiring a lot of resources and time.
It is my opinion that this needs to change. Otherwise database delivery and technology might get stuck in the past, forcing developers to take refuge in more flexible technologies or enforcing their methods to existing structures. This way they generate database structures and force DBAs to burn even more midnight oil trying to fix queries from hell.
A fitting solution is to start seeing databases as an application in their own right, not as a component of the business application, or even worse, a simple data store. Like any other application, the database application uses APIs to communicate with other applications. These APIs are an abstraction layer between the data and the business layer, enabling better integration in a continuous deployment scenario. For DBAs this makes sense, as the APIs are well known and advocated by them for years. They just call them differently, DBAs speak of stored procedures, functions and views. Code developers could start to see them as a way to enable DBAs to participate actively as a database developer. Together with the other code developers, this would facilitate the continuous deployment process. Ironically, this does mean that code developers should leave part of their work and give control to data developers, something that is looked upon with a lot of resistance. (Just google for reasons why not to use stored procedures, and you’ll see what I mean). This shouldn’t be the case, data developer are part of the development team and should take their place in development cycles, participate in scrum meetings and not be seen as a second asynchronous process fixing mayhem afterwards.
The underlying thought is that, just like a database application shouldn’t contain business logic, a DAL layer shouldn’t contain data logic. It’s the database application’s task to know what to store, where to store it and how to retrieve it when needed. These rigorous best practices, combined with version control, need to be enforced. After all, they can ensure safe continuous delivery of databases, either in the cloud or on premise, leading to better and easier deployment of databases.
© 2023 Kohera
Crafted by
© 2022 Kohera
Crafted by
Cookie | Duration | Description |
---|---|---|
ARRAffinity | session | ARRAffinity cookie is set by Azure app service, and allows the service to choose the right instance established by a user to deliver subsequent requests made by that user. |
ARRAffinitySameSite | session | This cookie is set by Windows Azure cloud, and is used for load balancing to make sure the visitor page requests are routed to the same server in any browsing session. |
cookielawinfo-checkbox-advertisement | 1 year | Set by the GDPR Cookie Consent plugin, this cookie records the user consent for the cookies in the "Advertisement" category. |
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
CookieLawInfoConsent | 1 year | CookieYes sets this cookie to record the default button state of the corresponding category and the status of CCPA. It works only in coordination with the primary cookie. |
elementor | never | The website's WordPress theme uses this cookie. It allows the website owner to implement or change the website's content in real-time. |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
Cookie | Duration | Description |
---|---|---|
__cf_bm | 30 minutes | Cloudflare set the cookie to support Cloudflare Bot Management. |
pll_language | 1 year | Polylang sets this cookie to remember the language the user selects when returning to the website and get the language information when unavailable in another way. |
Cookie | Duration | Description |
---|---|---|
_ga | 1 year 1 month 4 days | Google Analytics sets this cookie to calculate visitor, session and campaign data and track site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognise unique visitors. |
_ga_* | 1 year 1 month 4 days | Google Analytics sets this cookie to store and count page views. |
_gat_gtag_UA_* | 1 minute | Google Analytics sets this cookie to store a unique user ID. |
_gid | 1 day | Google Analytics sets this cookie to store information on how visitors use a website while also creating an analytics report of the website's performance. Some of the collected data includes the number of visitors, their source, and the pages they visit anonymously. |
ai_session | 30 minutes | This is a unique anonymous session identifier cookie set by Microsoft Application Insights software to gather statistical usage and telemetry data for apps built on the Azure cloud platform. |
CONSENT | 2 years | YouTube sets this cookie via embedded YouTube videos and registers anonymous statistical data. |
vuid | 1 year 1 month 4 days | Vimeo installs this cookie to collect tracking information by setting a unique ID to embed videos on the website. |
Cookie | Duration | Description |
---|---|---|
ai_user | 1 year | Microsoft Azure sets this cookie as a unique user identifier cookie, enabling counting of the number of users accessing the application over time. |
VISITOR_INFO1_LIVE | 5 months 27 days | YouTube sets this cookie to measure bandwidth, determining whether the user gets the new or old player interface. |
YSC | session | Youtube sets this cookie to track the views of embedded videos on Youtube pages. |
yt-remote-connected-devices | never | YouTube sets this cookie to store the user's video preferences using embedded YouTube videos. |
yt-remote-device-id | never | YouTube sets this cookie to store the user's video preferences using embedded YouTube videos. |
yt.innertube::nextId | never | YouTube sets this cookie to register a unique ID to store data on what videos from YouTube the user has seen. |
yt.innertube::requests | never | YouTube sets this cookie to register a unique ID to store data on what videos from YouTube the user has seen. |
Cookie | Duration | Description |
---|---|---|
WFESessionId | session | No description available. |