Contact us

Sign up | United States |

Login

remember me

Go to my home page

Stay on current page

We will be undergoing scheduled maintenance on May 20th, 2013 at 02:00 GMT.

The Job of the DBA / Database Administration Overview

Loading the player ...
View Full Size

Subtitles of the Movie (MySQL 5 Administration-Part 1 / The Job of the DBA / Database Administration Overview)

This chapter is about the job of the database administrator and this lesson in particular is an overview of that job, you know what goes into it, what does the database administrator do? This is like answering the question that you might answer to your kid when you come home from work and they say, "Daddy, what do you do at work?" Maybe it's a little bit more detailed than that. But the job of the DBA is a very complex one, there are a lot of different aspects to it. So one of the first things is the DBA is in charge of the installation configuration and upgrading of the server. So that's not just installing the production server, that's installing the test server, the development server the backup and recovery server, all the replication slaves, all kinds of MySQL servers that are going to need to be set up at some point. And once we get those things basically installed on whatever operating system and whatever hardware their being installed upon, then we have to configure them. And part of that is setting up variables for how the server is going to operate but we also have to decide where is the data directory going to reside on each of these things to make sure the Configuration File reflects that. Where are the log files going to be? Where is the Configuration File supposed to be located? And all kinds of other things. So the DBA has to do that. And then every time there's a new revision of the server software and the decision is made that we need to upgrade, then the upgrade has to be performed. All of that comes under the preview of the database administrator and that's just for starters. Another thing the DBA is in charge of is backup and recovery, not just the physical backup and recovery of the data but also the policies for that. How often do we want to back up? How do we want it to back up? There are a number of different possible ways that the backups can be done. Where do we want the backup databases to be housed? And on a drive, on a shelf next to the host machine where the server is running is not the right answer. So we have to decide upon these things and then we have to decide what is the actual procedure? How do we not only perform the backup but whose job is it going to be and how is it going to be done to test the backup and make sure that it's viable. Because it's not a backup until we know that we can recover from it and things like that. So that's another part of the job of the DBA. A third part of the job is the idea that we are now in charge of this database and everything that happens to it including making it work better. So the best analogy for this if you're a Star Trek fan, I don't care whether your favorite engineer was Scotty or Geordie or Trip, you are now that engineer for the Enterprise where you work. This is the core system, this is the thing that makes your business go, the database and you are in charge of that. And you've noticed on those programs, those guys are constantly trying to find improvements to the system. They're monitoring everything, they're in charge of a whole group of people who do that and your job is database administrator is no different from that of your favorite Star Trek engineer. You also have to implement security policies, how do we want to deal with user accounts? Just all kinds of issues there. The database administrator's also in charge of monitoring the server, analyzing the results from that monitoring and then deciding whether there is some way in which the server has to be tweaked in order to run. So not only are we concerned about tweaking the database design so that the tables work better but tweaking the MySQL server so that the server works better. And then the database administrator is also in charge of setting up and maintaining documentation about the system. Now this is not user documentation, this is not how do you use an application. This is the documentation of what changes have we made when did we do the last backup? Who did the backup? Who tested the backup? Where do we put these things? Do we have verification that they got put where they were supposed to be. That kind of documentation, the more detailed the better. And then finally the database administrator is also part of the team that's planning for growth of the system. So the database administrator's the one that has all the information about how it has been growing and can do projections into the future as to when we're going to run out of disk space and we're going to need more space to store things. For years at database conferences I have had a little presentation that I make on what I call the seven P's of database administration. So if you'll indulge me I summarize these things in this little presentation. The first P is protection and that's what I was talking about before with all the security stuff and everything. So the database administrator is in charge of protection of the database. Preservation is the next one, making sure that the data continues to survive. That's backup and recovery besides other things. Permissions, that's the user accounts and who has access to what. Performance, that is the tuning of the database tables and the tuning of the database server itself, that's the job of the database administrator as well. Process is another thing, coming up with the processes and procedures and policies for managing all of this information. Okay. Very important part of the job of a database administrator. And then the other two are a little bit lighter but they're still very relevant. Paranoia is the penultimate P of the database administrator. We always have to think in terms of worse case scenarios and how can we recover from those. So how do we deal with people who are trying to attack or hack our system in some way? How do we deal with the fact that various disasters happened at three of our backup sites simultaneously? How do we deal with all of those kinds of issues so paranoia's a very important thing. And then finally the ultimate job of the database administrator is paperwork. It's documenting all of this stuff, not only for our own use but also for the hidden P or the phantom P and that is for posterity. For the person who comes after us. For the next shift when we're not working, for the people who are there working while we're on vacation so that we don't have our vacation interrupted. So paperwork is the ultimate thing that a database administrator has to do. It is after all an administrative job hence the name. Okay. If that sounds like a lot for one person you're right, it is and so what we're going to look at in the next lesson is how we can delegate some of this authority and how we set up teams of database administrators because it's too much for one person, especially at a large institution.

Tutorial Information

Course: MySQL 5 Administration-Part 1
Author: David Swain
SKU: 34307
ISBN: 978-1-61866-086-2
Release Date: 2012-12-31
Duration: 16 hrs / 171 lessons
Work Files: Yes
Captions: No
Compatibility: Vista/XP/2000, OS X, Linux
QuickTime 7, Flash 8

VTC Sign up & Benefits

  • Unlimited Access
  • 81,350 Video Tutorials (14,200 free)
  • Video Available as Flash or QuickTime
  • Over 715 Courses
  • $30 for One Month Access
  • Multi-User Discounts Available

VTC Terms and Conditions

TERMS & CONDITIONS OF USE

BY SUBSCRIBING TO THIS SERVICE, YOU ARE CONSENTING TO BE BOUND BY AND ARE BECOMING A PARTY TO THIS AGREEMENT, THE TERMS AND CONDITIONS OF WHICH SHALL PREVAIL IN GOVERNING YOUR RIGHTS OF USE. BY CLICKING THE "BECOME A MEMBER" BUTTON, THE INDIVIDUAL OR ENTITY LICENSING THE PRODUCT ("YOU") IS CONSENTING TO BE BOUND BY AND IS BECOMING A PARTY TO THIS AGREEMENT. IF LICENSEE DOES NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, THE BUTTON INDICATING "BECOME A MEMBER" MUST NOT BE SELECTED, AND LICENSEE MUST NOT INSTALL OR USE THE SOFTWARE.

1. DEFINITIONS

"VTC" refers to Virtual Training Company, Inc.
"You" refers to the user or subscriber.
"Software" refers to the VTC training content and software.

2. LICENSE: VTC hereby grants to You a worldwide, non-royalty bearing, non-exclusive license to use the Software according to the provisions contained herein and subject to payment of the applicable subscription fees.

3. RESTRICTIONS: You may not do any of the following:

Save the Software to Your hard disk or other storage medium; permit others to use the Software except as specified by addendum; modify, reverse engineer, decompile, or disassemble the Software; make derivative works based on the Software; publish or otherwise disseminate the Software. VTC, Inc., VTC Online University, and the Virtual Training Company site is owned and operated by VTC, Inc. as a corporation of record.
All materials on this site are the property of VTC unless otherwise specified. No material from these pages may be copied, reproduced, republished, downloaded, uploaded, posted, transmitted, or distributed in any way. Modification of the materials or use of the materials for any other purpose is a violation of U.S. copyright law and other proprietary rights. For purposes of this Agreement, the use of any such material on any other web site or networked computer environment is prohibited.

4. FEES: The rights granted under this Agreement are effective only upon payment of the subscription fees, which are strictly non-refundable other than as expressly provided herein. The term "monthly subscription" is defined as any 30 day period. The term "yearly subscription" is defined as one 365 day period. A yearly subscription ends on the same numerical date as it began (example July 28, 2004 to July 28, 2005).

The VTC Online University is access to every VTC training tutorial in our library. You pay a flat fee for access to these titles. You are billed according to your renewal selection below, and can renew monthly, yearly, or in any other increment offered. If you choose to be billed monthly, you will be billed every 30 days for the subscription until you request the subscription be cancelled. Our terms of service state that you must cancel a monthly subscription at least two business days before your renewal date. These two days give us enough time to ensure that you will not be charged again.

5. LIMITED WARRANTY: VTC warrants that the Software, if operated as directed, will substantially achieve the functionality described. VTC does not warrant, however, that Your use of the Software will be uninterrupted or that the operation of the Software will be error-free or secure. In addition, the security mechanisms implemented by the Software have inherent limitations, and You must determine that the Software sufficiently meets Your requirements. VTC also warrants that the media containing the Software, if provided by VTC, is free from defects in material from the date You acquired the Software. VTC's sole liability for any breach of this warranty shall be, in VTC's sole discretion: (i) to replace Your defective media or Software; or (ii) to advise You how to achieve substantially the same functionality with the Software as described; or (iii) if the above remedies are impracticable, to refund the subscription fee You paid for the Software. Only if You inform VTC of Your problem with the Software during the applicable subscription period will VTC be obligated to honor this warranty. VTC will use reasonable commercial efforts to repair, replace, advise, or refund pursuant to the foregoing warranty within thirty (30) days of being so notified. If any modifications are made to the Software by You during the warranty period; if the medium is subjected to accident, abuse, or improper use; or if You violate the terms of this Agreement, then this warranty shall immediately terminate. This warranty shall not apply if the Software is used on or in conjunction with hardware or software other than the unmodified version of hardware and software with which the Software was designed to be used as described.

THIS IS A LIMITED WARRANTY, AND IT IS THE ONLY WARRANTY MADE BY VTC OR ITS SUPPLIERS. VTC MAKES NO OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT OF THIRD PARTIES' RIGHTS. YOU MAY HAVE OTHER STATUTORY RIGHTS. HOWEVER, TO THE FULL EXTENT PERMITTED BY LAW, THE DURATION OF STATUTORILY REQUIRED WARRANTIES, IF ANY, SHALL BE LIMITED TO THE ABOVE LIMITED WARRANTY PERIOD. MOREOVER, IN NO EVENT WILL WARRANTIES PROVIDED BY LAW, IF ANY, APPLY UNLESS THEY ARE REQUIRED TO APPLY BY STATUTE NOTWITHSTANDING THEIR EXCLUSION BY CONTRACT. NO DEALER, AGENT, OR EMPLOYEE OF VTC IS AUTHORIZED TO MAKE ANY MODIFICATIONS, EXTENSIONS, OR ADDITIONS TO THIS LIMITED WARRANTY.

6. PROPRIETARY RIGHTS: VTC reserves all proprietary rights in and to the Software, is protected by copyright and other intellectual property laws and by international treaties. VTC, Inc.

Trademark Notice: VTC, Virtual Training Company, Inc., The VTC Logo, and VTC Online University, are trademarks of VTC, Inc. All other company and product names may be trademarks of their respective owners.
The information contained herein is subject to change without notice. Copyright © 1995 - 2005 VTC, Inc. All rights reserved.

7. TERMINATION: This Agreement shall automatically terminate if You fail to comply with the restrictions described herein. Your obligations to pay outstanding subscription fees shall survive any termination of this Agreement.

8. LIMITATION OF LIABILITY: UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, TORT, CONTRACT, OR OTHERWISE, SHALL VTC OR ITS SUPPLIERS OR RESELLERS BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER, INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES. IN NO EVENT WILL VTC BE LIABLE FOR ANY DAMAGES IN EXCESS OF THE AMOUNT VTC RECEIVED FROM YOU FOR A LICENSE TO THE SOFTWARE, EVEN IF VTC SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH
DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM VTC'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.

9. Links To Other Materials: Linked sites found at the VTC site are not under the control of VTC, and we are not responsible for the content of any linked site or any link contained in a linked site. VTC may change links based solely on our discretion, and we reserve the right to terminate any link or linking program at any time. VTC does not, by linking to sites, endorse companies or products to which it links and reserves the right to note as such on its web pages. If you decide to access any of the third party sites linked to this site, you do this entirely at your own risk.

Forums, and Chat are not always screened by VTC, and we are not responsible for the content of any public or open forum content at the site. VTC may change these public forums based solely on our discretion, and we reserve the right to terminate any forum at any time. VTC does not, by allowing these forums, endorse companies or products which may be mentioned in these forums, and reserves the right to note as such on its web pages. If you decide to access any of the public forums in this site, or linked to this site, you do this entirely at your own risk.

9. GOVERNING LAW & DISPUTE RESOLUTION: This Agreement is governed by Virginia law. All disputes between You and VTC shall be finally resolved through arbitration in Winchester, Virginia. This site is controlled by VTC from its offices within the United States of America. VTC makes no representation that materials in the site are appropriate or available for use in other locations, and access to them from territories where their content is illegal is prohibited. Those who choose to access this site from other locations do so on their own initiative and are responsible for compliance with applicable local laws. You may not use or export the Materials in violation of U.S. export laws and regulations. Any claim relating to the Materials shall be governed by the internal substantive laws of the Commonwealth of Virginia, USA.

VTC may revise these Terms at any time by updating this posting. You should visit this page from time to time to review the then-current Terms because they are binding on you. Certain provisions of these Terms may be superseded by expressly designated legal notices or terms located on particular pages at this Site.

If you have any questions regarding this policy, or your information specifically,
you may email us at:
admin@vtc.com.