11.07.2015 Views

Encyclopedia of Computer Science and Technology

Encyclopedia of Computer Science and Technology

Encyclopedia of Computer Science and Technology

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

database management system 131mentation <strong>of</strong> onsite <strong>and</strong> <strong>of</strong>fsite backups <strong>and</strong> procedures forrestoring data (see backup <strong>and</strong> archive systems).System DevelopmentAn enterprise database is not a static entity. The dem<strong>and</strong> fornew views or applications <strong>of</strong> data requires the development<strong>and</strong> testing <strong>of</strong> new queries <strong>and</strong> reports. While this is normallydone by the database programmers, the administratormay need to consider its impact on the operation <strong>of</strong> thesystem. The administrator also helps plan for the needs <strong>of</strong> agrowing, changing, organization by designing or evaluatingproposals for exp<strong>and</strong>ing the system, possibly moving it tonew hardware or a new operating system or migrating thedatabase applications to a new database management system(DBMS).Because <strong>of</strong> the importance <strong>of</strong> database management tocorporations, government, <strong>and</strong> other organizations, databaseadministration became a “hot” employment area inthe 1990s. Most database administrators specialize in aparticular database platform, such as Oracle or Micros<strong>of</strong>tAccess. The growing need to make databases accessible viathe Internet has added a new range <strong>of</strong> challenges to thedatabase administrator, including the management <strong>of</strong> servers,remote authentication <strong>of</strong> users, <strong>and</strong> the mastery <strong>of</strong> Java,Common Gateway Interface (CGI), <strong>and</strong> scripting languagesin order to tie the database to the server <strong>and</strong> user (see Java,cgi, Perl, <strong>and</strong> xml).Further ReadingAbout.com. Database Administration [links]. Available online. URL:http://databases.about.com/od/administration/Database_Administration.htm. Accessed July 8, 2007.Alapati, Sam R. Expert Oracle Database 10g Administration. Berkeley,Calif.: Apress, 2005.Mannino, Michael A. Database Design, Application Development,<strong>and</strong> Administration. 3rd ed. New York: McGraw-Hill, 2005.Mullins, Craig S. Database Administration: The Complete Guide toPractices <strong>and</strong> Procedures. Reading, Mass: Addison-Wesley Pr<strong>of</strong>essional,2002.MySQL AB. MySQL Administrator’s Guide <strong>and</strong> Language Reference.Indianapolis: MySQL Press, 2005.Wood, Dan, Chris Leiter, <strong>and</strong> Paul Turley. Beginning SQL Server2005 Administration. Indianapolis: Wrox, 2006.database management system (DBMS)A database management system consists <strong>of</strong> a database (acollection <strong>of</strong> information, usually organized into recordswith component fields) <strong>and</strong> facilities for adding, updating,retrieving, manipulating, <strong>and</strong> reporting on data.Database StructureIn the early days <strong>of</strong> computing, a database generally consisted<strong>of</strong> a single file that was divided into data blocks thatin turn consisted <strong>of</strong> records <strong>and</strong> fields within records. TheCOBOL language was (<strong>and</strong> is) particularly suited to reading,processing, <strong>and</strong> writing data in such files. This flatfile database model is still used for many simple applicationsincluding “home data managers.” However, for morecomplex applications where there are many files containinginterrelated data, the flat file model proves inadequate.Because both the Customer Record <strong>and</strong> the Transaction Recordinclude the Customer Number field, it is easy to pull informationfrom both databases into a single report, such as a summary <strong>of</strong> purchasesfor each customer.In 1970, computer scientist E. F. Codd proposed a relationalmodel for data organization. In the relational model,data is not viewed as files containing records, but as a set<strong>of</strong> tables, where the columns represent fields <strong>and</strong> the rowsindividual entities (such as customers or transactions).A field (column) that two tables have in common (calledthe key) can be used to link the two. For example, considera table <strong>of</strong> customer information (name, customer number,address, current balance, <strong>and</strong> so on) <strong>and</strong> a table <strong>of</strong> transactioninformation (product number, quantity, customernumber <strong>of</strong> purchaser, <strong>and</strong> so on).To find all the items purchased by a particular customer,the relational database uses the common field (the customeraccount number) to join the two tables. A query can thenselect all records in the transaction file whose customernumber field matches the current customer in the customerfile. (Notice that the validity <strong>of</strong> a key field depends on itsbeing unique: If each customer doesn’t have one [<strong>and</strong> onlyone] customer number, any report <strong>of</strong> purchases will not bedependable.)A procedure called normalization is <strong>of</strong>ten used to createa set <strong>of</strong> tables from a set <strong>of</strong> data files <strong>and</strong> records, such thatno fields contain duplicate information. This is necessary inorder to ensure that a piece <strong>of</strong> information can be updated<strong>and</strong> the update “propagated” to the entire database withoutmissing any instances.Relational databases usually also enforce referential integrity.This means preventing changes to the database fromcausing inconsistencies. For example, if table A <strong>and</strong> table Bare linked <strong>and</strong> a record is deleted from table A, any links tothat record from records in table B must be removed. Similarly,if a change is made in a linked field in a table, recordsin a linked table must be updated to reflect the change.During the 1980s, the dBase relational database programbecame the most popular DBMS on personal computers.Micros<strong>of</strong>t Access is now popular on Windows systems,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!