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

上传人:b****2 文档编号:211417 上传时间:2023-04-28 格式:DOCX 页数:10 大小:23.93KB
下载 相关 举报
外文翻译数据库管理系统.docx_第1页
第1页 / 共10页
外文翻译数据库管理系统.docx_第2页
第2页 / 共10页
外文翻译数据库管理系统.docx_第3页
第3页 / 共10页
外文翻译数据库管理系统.docx_第4页
第4页 / 共10页
外文翻译数据库管理系统.docx_第5页
第5页 / 共10页
外文翻译数据库管理系统.docx_第6页
第6页 / 共10页
外文翻译数据库管理系统.docx_第7页
第7页 / 共10页
外文翻译数据库管理系统.docx_第8页
第8页 / 共10页
外文翻译数据库管理系统.docx_第9页
第9页 / 共10页
外文翻译数据库管理系统.docx_第10页
第10页 / 共10页
亲,该文档总共10页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

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

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

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

外文翻译数据库管理系统

DatabaseManagementSystem

Source:

DatabaseandNetworkJournal

Author:

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.

WhiletheinitialreleaseofADOlackedmany

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

当前位置:首页 > 法律文书 > 调解书

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2