数据库管理系统外文翻译.docx

上传人:b****2 文档编号:24541132 上传时间:2023-05-28 格式:DOCX 页数:10 大小:24.09KB
下载 相关 举报
数据库管理系统外文翻译.docx_第1页
第1页 / 共10页
数据库管理系统外文翻译.docx_第2页
第2页 / 共10页
数据库管理系统外文翻译.docx_第3页
第3页 / 共10页
数据库管理系统外文翻译.docx_第4页
第4页 / 共10页
数据库管理系统外文翻译.docx_第5页
第5页 / 共10页
点击查看更多>>
下载资源
资源描述

数据库管理系统外文翻译.docx

《数据库管理系统外文翻译.docx》由会员分享,可在线阅读,更多相关《数据库管理系统外文翻译.docx(10页珍藏版)》请在冰豆网上搜索。

数据库管理系统外文翻译.docx

数据库管理系统外文翻译

数据库管理系统外文翻译

(文档含中英文对照即英文原文和中文翻译)

DatabaseManagementSystem

Source:

DatabaseandNetworkJournalAuthor:

DavidAnderson

Youknowthatadataisacollectionoflogicallyrelateddataelementsthatmaybestructuredinvariouswaystomeetthemultipleprocessingandretrievalneedsoforganizationsandindividuals.There’snothingnewaboutdatabase-earlyoneswerechiseledinstone,pennedonscrolls,andwrittenonindexcards.Butnowdatabasearecommonlyrecordedonmagneticallymedia,andcomputerprogramsarerequiredtoperformthenecessarystorageandretrievaloperations.

Thesystemsoftwarepackagethathandlesthedifficulttasksassociatedwithcreated,accessing,andmaintainingdatabaserecordsisinaDBMSpackageestablishaninterfacebetweenthedatabaseitselfandtheusersofthedatabase.(Theseusersmaybeapplicationsprogrammers,managersandotherswithinformationneeds,andvariousOSprogrammers.)

ADBMScanorganize,process,andpresentselecteddataelementsfromthedatabase.Thiscapabilityenablesdecisionmakerstosearch.Probe,andquerydatacontentsinordertoextractanswerstononrecurringandunplannedquestionsthataren’tavailableinregularreports.Thesequestionsmightinitiallybevagueand/orpoorlydefined,butpeoplecan“browse”throughthedatabaseuntiltheyhavetheneededinformation.Inshort,theDBMSwill“manage”thestoreddataitemsandassembletheneededitemsfromthecommondatabaseinresponsetothequeriesofthosewhoaren’tprogrammers.Inafile-orientedsystem,usersneedingspecialinformationmaycommunicatetheirneedstoaprogrammers,who,whentimepermits,willinformation.TheavailabilityofaDBMS,however,offersusersamuchfasteralternativecommunicationspatch(seefigure).

Special,direct,andotherfileprocessingapproachesateusedtoorganizeandstructuredatainsinglefiles.ButaDBMSisabletointegratedataelementsfromseveralfilestoanswerspecificuserinquiriesfirinformation.ThismeansthattheDBMSisabletostructureandtietogetherthelogicallyrelateddatafromseverallargefiles.

Logicalstructures.Identifyingtheselogicalrelationshipsisajobofthedataadministrator.Adatadefinitionlanguageisusedforthispurpose.TheDBMSmaythen

Employoneofthefollowinglogicalstructuringtechniquesduringstorageaccess,andretrievaloperation:

liststructures,hierarchical(tree)structures,andnetworkstructures,relationalstructures.

1.Liststructures.Inthislogicalapproach,recordsarelinkedtogetherbytheuseofpointers.Apointerisadataiteminonerecordthatidentifiesthestoragelocationofanotherlogicallyrelatedrecord.Recordsinacustomermasterfile,forexample,willcontainthenameandaddressofeachcustomer,andanaccountnumberidentifieseachrecordinthisfile.Duringanaccountingperiod,acustomermaymaintainaninvoicefiletoreflectthesetransactions.Aliststructurecouldbeusedinthissituationtoshowtheunpaidinvoicesatanygiventime.Eachinthecustomerfilewouldpointtotherecordlocationofthefirstinvoiceforthatcustomerintheinvoicefile.Thisinvoicerecord,inturnwouldbelinkedtolaterinvoiceforthecustomer.Thelastinvoiceinthechainwouldbeidentifiedbytheuseofaspecialcharacterasapointer.

2.Hierarchicalstructures.Inthislogicalapproach,dataunitsarestructuredinmultiplelevelsthatgraphicallyresemblean“upsidedown”treewiththerootatthetopandthebranchesformedbelow,there’sasuperior-subordinaterelationshipinahierarchicalstructure.Belowthesingle-rootdatacomponentaresubordinateelements(orone)hasonlyasingleowner.Thus,asweseeinfigure,acustomerownsaninvoice,andtheinvoicehassubordinateitems.Thebranchesinatreestructurearenotconnected.

3.Networkstructures.Unlikethetreeapproach,whichdosenotpermittheconnectionofbranches,thenetworkstructurepermitstheconnectionofthenodesinamultidirectionalmanner.Thus,eachnodemayhaveseveralownersandmay,inturn,ownanynumberofotherdataunits.Data,managementsoftwarepermitstheextractionoftheneededinformationfromsuchastructurebybeginningwithanyrecordinafile.

4.Relationalstructures.Arelationalstructureismadeupofmanytables.Thedataarestoredintheformof“relations”inthesetables.Forexample,relationtablescouldbeestablishedtolinkacollegecoursewiththeinstructorofthecourse,andwiththelocationoftheinordertofindthenameoftheinstructorandthelocationoftheEnglishclass,thecourse/instructorrelationissearchedtogetthename,andthecourse/locationrelationissearchedtogettheclasslocation.Manyotherrelationsareofcourse,possible.Thisisarelativelynewdatabasestructuringapproachthat’sexpectedtobewidelyimplementedinthefuture.

5.Physicalstructure.Peoplevisualizeorstructuredatainlogicalwaysforthere

Ownpurposes.Thus,recordsR1andR2mayalwaysbelogicallylinkedandprocessedinsequenceinoneparticularapplication.However,inacomputersystemit’squitepossiblethattheserecordsthatarelogicallycontiguousinoneapplicationarenotphysicallystoredtogether.Rather,thephysicalstructureoftheI/Oandstoragedevicestechniquesused,butalsoonthedifferentlogicalrelationshipsthatusersmayassigntothedatafoundonR1andR2.Forexample,R1andR2mayberecordsofcreditcustomerswhohaveshipmentssendtothesameblockinthesamecityeverytwoweeks.Fromtheshippingdepartmentmanager’sperspective,then,R1andR2aresequentialentriesonageographicallyorganizedshippingreport.Butmaybeidentified,andtheiraccountsmaybeprocessed,accordingtotheiraccountnumberswhicharewidelyseparated.Inshort,thenthephysicallocationofthestoredrecordsinmanycomputer-basedinformationsystemsisinvisibletousers.

Duringthepastfiveyears,MicrosofthaspromotedDataAccessObjects(DAO),andthenRemoteDataObjects(RDO),andnowActiveXDataObjects(ADO)astheprimarydataaccesstechnologyforVisualBasicdevelopers.ItseemsthatMicrosofthasbeenpushingadifferentdataaccesstechnologywitheachsuccessiveversionofMicrosoftVisualStudio.Today,newversionsofADOareavailableonMicrosoft'sWebsiteandshipwithotherproductsandtechnologies,suchasMicrosoftWindows2000,MicrosoftWindowsNT4ServicePacks,MicrosoftInternetExplorerversions3andlater,MicrosoftSQLServer6.5ServicePack5andSQLServer7,MicrosoftOffice2000,andevenMicrosoftExpediaStreets&Trips2000.

OneofthegoalsofADOistosimplifydataaccess.ADOisbuiltuponsomefairlycomplextechnologies—OLEDBandODBC(opendatabaseconnectivity)—andisdesignedtoallowyoutoprogrammaticallyaccessandmodifydatastoredinawidevarietyofdatabases.Thisbroadreachisadeparturefrompreviousdataaccesstechnologies.Forthesakeofcomparison,let'stakeaquickglanceatADO'spredecessors:

DAOandRDO.

DataAccessObjects

DAOwasoriginallydesignedtointeractwithMicrosoftAccessdatabases.AlthoughyoucanuseDAOtoaccessSQLServerandOracledatabases,manydeveloperscomplainaboutDAO'sperformancewiththeselargedatabasesystems.OtherscomplainthatDAOdoesn'tpermitprogrammerstoaccesssomeofthericher,morepowerfulfeaturesofSQLServerandOracle,suchasoutputandreturnparametersonstoredprocedures.

OneofmycoworkerslikestosaythatusingDAOtoworkwithanOracledatabaseislikeperformingbrainsurgeryonyou…withoutanesthetics…whilewearingovenmitts.Extreme?

Yes—buthedoeshaveapoint.DAOistunedtoworkwithdesktopdatabases,notclient/serverdatabases.FrustratedbyDAO'sperformanceandaccesslimitations,developerswhowantedtoworkwithSQLServerandOracledatabasesgenerallysoughtotheroptions.

RemoteDataObjects

MicrosoftprovidedanotheroptioninRDO,whichoriginallyreleasedwithVisualBasic4EnterpriseEdition.RDO'sobjectmodelcloselyresemblesthehierarchyofstructuresintheODBCAPI.ProgrammersfoundthatRDOprovidedmuchfasteraccesstoclient/serverdatabasesystems,suchasSQLServerandOracle,thanDAOdid.AlthoughthosefamiliarwiththeODBCAPIquicklylearnedhowtoworkwiththeRDOobjectmodel,developerslackingexperiencewiththatAPI,suchasthosewhohadbeenusingDAO,foundtheRDOtechnologydifficulttouse.

Theobjectmodelitselfwasn'ttheproblemformostprogrammerslearningRDO:

thenuancesinheritedfromtheODBCAPIposedthegreatestobstacles.Suddenly,programmershadtoboneuponcursorsandbookmarks.Theyhadtolearnmanyoftheinsandoutsofspecificdatabasesystems.Doestheerrormessage"Theconnectionisbusywithresultsfromanotherhstmt"ringanybellsoutthere?

IfyoutrytodotheimpossibleonanODBCconnectiontoyourdatabase,RDOwon'tsaveyou.Instead,you'llgetthaterror.DAOhidtheproblemfromyoubyautomaticallycreatinganotherconnectiontoyourdatabasetoperformtheactionyourequested.

AnotherchallengethatRDOposedforprogrammersaccustomedtowritingDAOcodewasthatRDOlackedmanyofDAO'sfeatures,suchassorting,searching,andfiltering.OtherDAOfunctionalityunavailableintheRDOworldincludesdatadefinitionlanguage(DDL)interfacestoODBCAPIfunctionssuchasCreateTableandCreateField.

BestofBothWorlds:

ActiveXDataObjects

ProgrammersclamoredforadataaccesstechnologythatcombinedthesimplicityandrelativeeaseofuseofDAOwiththespeed,power,andcontrolofRDO.InitiallyintroducedaspartoftheMicrosoftInternetInformationServer3package,ADOwasintendedtobeallthingstoallpeople.Ofcourse,suchloftygoalsarerarelyfulfilled.

Whilet

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 求职职场 > 自我管理与提升

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1