One of the more troubling issues – at least when it comes to staffing a DBA group – is how to determine the optimal number of DBAs required to keep an organization’s databases online and operating efficiently.
Many organizations try to operate with the minimal number of DBAs on staff; the idea being that fewer staff members lowers cost. However, that assumption may not be true. An overworked DBA staff can make mistakes that cause downtime and operational problems far in excess of the salary requirements of an additional DBA.
At any rate, I have yet to come across a shop that has a scientific approach to determine the optimal time to add a DBA. And let’s face it, even if we did, who actually believes that management would sign off on adding an open req even if you could back up the need?
Even so, determining how many DBAs you need is not a precise science. It depends on many factors:
- Number of databases. The more databases that need to be supported, the more complex the job of database administration becomes. Each database needs to be designed, implemented, monitored for availability and performance, backed up, and administered. There is a limit to the number of databases that an individual DBA can control.
- Size of the databases. The larger the databases that need to be supported, the more difficult the job of database administration. A larger database takes longer to create, maintain, and tune. In addition, more potential for confusion arises when SQL takes longer to execute — causing the DBA to spend more time working with developers to tune SQL.
- Number of users. As additional users are brought online, optimal database performance becomes more difficult to ensure. Additionally, as the number of users increases, the potential for increase in the volume of problems and calls increases, further complicating the DBA’s job.
- Number of applications. A single database can be utilized by numerous applications. Indeed, one of the primary benefits of the DBMS is that it enables the sharing of data across an organization. As more applications are brought online, additional pressure is exerted on the database in terms of performance, availability, and resources. As more applications are brought online, more DBAs may be required to support the same number of databases.
- Service-level agreements (SLAs). The more restrictive the SLA, the more difficult it becomes for the DBA to deliver the service. For example, a service-level agreement requiring a subsecond response time for transactions is more difficult to support than an agreement requiring a three-second response time.
- Availability requirements. Database administration becomes easier if databases have an allowable period of scheduled downtime. Some DBA tasks either require an outage, or are easier when an outage can be taken. Considerations such as supporting e-business transactions and the Web drive the need for 24×7 database availability. 24×7 availability is often incompatible with certain DBA tasks.
- Impact of downtime. The greater the financial impact of an unavailable database, the greater the pressure on the DBA to assure greater database availability.
- Performance requirements. As the requirements for database access become more performance oriented, database administration becomes more complicated.
- Type of applications. The type of applications supported has a direct bearing on the number of DBAs required. The DBMS and database needs of a mission-critical application differ from those of a non-mission-critical application. Mission-critical applications are more likely to require constant monitoring to ensure availability. Likewise, an OLTP application has different characteristics and administration requirements than an OLAP application. OLTP transactions are likely to be of shorter duration than OLAP queries; OLTP applications perform both read and write operations whereas OLAP applications are predominantly read-only. Each has administration challenges that require different DBA procedures.
- Volatility. The frequency of database change requests is an important factor in the need for additional DBAs. A static database environment requiring few changes will not require the same level of DBA effort as a volatile, frequently changing database environment. Unfortunately, the level of volatility for most databases and applications tends to change dramatically over time. It’s usually very difficult to ascertain how volatile an overall database environment will be over its lifetime.
- DBA staff experience. The skill of the existing DBA staff affects the need for additional DBAs. A highly skilled DBA staff will accomplish more than a novice team. Skills, more than experience, dictate DBA staffing requirements. A highly skilled DBA with two years of experience might easily outperform a ten-year veteran who is burned out and unmotivated.
- Programming staff experience. If the application developers are not highly skilled in database and SQL programming, the DBAs will need to be more involved in the development process. DBAs will be needed for tasks such as composing complex SQL, analyzing SQL and application code, debugging, tuning, and ensuring connectivity. As the experience of the programming staff increases, the complexity of DBA requirements decreases.
- End user experience. When end users access databases directly with ad hoc SQL, their skill level has a direct impact on the complexity of DBA. If the end user has few SQL skills, the DBA will need to initiate more performance monitoring and tuning.
- Variety of DBMSs. The more heterogeneous the environment, the more difficult it becomes to administer. For example, acquiring and maintaining expertise in both Oracle and DB2 is more difficult than gaining expertise in only one of them. Moreover, as multiple DBMSs of different types are installed, database administration becomes even more difficult. For example, a shop with DB2, IMS, and IDMS will have to possess relational (DB2), hierarchical (IMS), and network/CODASYL (IDMS) expertise.
- DBA tools. DBMS vendors and a number of independent software vendors (ISVs) offer tools that automate DBA tasks and make database administration easier. DBA tasks become less complex with the more tools available and the degree to which they are integrated. In past research, industry analysts have estimated that shops without DBA tools might require up to twice the number of DBAs to manage the same workload.
This list of issues notwithstanding, creating a formula that will dictate the optimal number of DBAs to employ is difficult. Back in 1998, industry analysts at the META Group (META Group, Open Computing & Server Strategies, File: 656, Date: 20-Mar-1998) tried to establish a loose formula for calculating DBA level of effort. The formula arrives at a level of effort by applying weights to six factors: system complexity, application immaturity, end-user sophistication, software functionality, system availability, and staff sophistication. After measuring each of these items, you plug in values to the formula to arrive at an estimate for the number of DBAs required.
Of course, this metric was anything but scientific. How do you rank complexity of systems on an unbiased scale? Same with levels of maturity and sophistication? But I suppose their formula was better than nothing… and probably better than just taking a wild guess, which is probably the methodology most companies employ.
What about you? How do you determine how many DBAs you need? Comments are open for your replies!
This blog was originally published on Craig Mullins’ blog at https://datatechnologytoday.wordpress.com/2011/02/21/how-many-dbas/
EPM applications help measure the business performance. This post will help you choose the best EPM solutions for your organization’s needs and objectives.
Which RAID should you use with SQL Server? Learn the differences between RAID 0, RAID 1, RAID 5, and RAID 10, along with best practices.