MSSQL教程之chapter4:Configuring the Network Env...
支持AIX、FreeBSD、HP-UX、Linux、MacOS、NovellNetware、OpenBSD、OS/2Wrap、Solaris、Windows等多种操作系统Chapter4:ConfiguringtheNetworkEnvironmentPurposeThischapterhelpsyoutoconfigureandmanageyournetworkenvironmentsothatuserscanaccessyourdatabase.
Topics
Thischapterdiscussesthefollowing:
UsingtheEnterpriseManagerNetServicesAdministrationPageStartingtheListenerUsingEnterpriseManagerStartingtheListenerUsingtheListenerControlUtilityConfiguringLocalNamingforConnectingtoOtherDatabasesViewingScreenshots
Moveyourmouseoverthisicontoshowallscreenshots.Youcanalsomoveyourmouseovereachindividualicontoseeonlythescreenshotassociatedwithit.
UsingtheEnterpriseManagerNetServicesAdministrationPage
BacktoTopicList
TheNetServicesAdministrationpagecanbeusedtomanageOracleNetservices.
FollowthestepsbelowtoaccesstheNetServicesAdministrationpage:
1.
LogintoEnterpriseManagerDatabaseConsolebyopeningyourbrowserandspecifyingtheSYSusernameandpassword.
ClickLogin.
2.ClicktheListenerlinkintheGeneralsectionoftheDatabaseHomepage.
3.TheListenerHomepageisdisplayed.Scrolldowntothebottomofthepage.
4.ClickNetServicesAdministrationintheRelatedLinkssection.
5.TheNetServicesAdministrationpageisdisplayed.Thispageprovidesameansofadministeringlisteners,directorynaming,localnaming,andspecifyingthefilelocation.
StartingtheListenerUsingEnterpriseManager
BacktoTopicList
InthissectionyoulearnhowtostartthelistenerusingEnterpriseManager.Note:YouwillnotbeabletoaccessEnterpriseManagerDatabaseControlinyourbrowserifthelistenerisdown.ThestepslistedinthissectionareonlyapplicableifyouhaveanEnterpriseManagerDatabaseControlwindowopen.Ifyoudonot,refertothenextsectionfordetailedinformationonstartingthelistenerusingthelistenercontrolutility.
PerformthestepslistedbelowtostartthelistenerusingEnterpriseManager:
1.ClicktheListenerlinkintheGeneralsectionoftheDatabaseHomepage.
2.TheListenerHomepageisdisplayed.ClickStarttostartthelistener.
3.TheStart/Stop:LISTENERpageisdisplayed.ClickOK.
4.TheProcessing:StartListenerpageisdisplayed.TheListenerhomepageisdisplayedafterthelistenerisstarted.
StartingtheListenerUsingtheListenerControlUtility
BacktoTopicList
Inthissectionyoulearnhowtostartthelistenerusingthelistenercontrolutility.ThesestepsareapplicablewhenyoucannotaccessEnterpriseManagerDatabaseControltostartyourlistener.
Performthestepslistedbelowtostartthelistenerusingthelistenercontrolutility:
1.
Logontotheoperatingsystemastheoracleuser.Issuethefollowingcommandtostartthelistener:
lsnrctlstart
2.
Youcancheckthestatusofthelistenerbyissuingthefollowingcommand:
lsnrctlstatus
ConfiguringLocalNamingforConnectingtoOtherDatabases
BacktoTopicList
Inthissectionyouconfigurelocalnamingtoconnecttoanotherdatabase.YoucanconfigurelocalnamingusingNetManageronaclientPCorusingEnterpriseManagerasdescribedinthefollowingsections:
ConfiguringLocalNamingUsingNetManagerConfiguringLocalNamingUsingEnterpriseManagerConfiguringLocalNamingUsingNetManager
BacktoTopicList
YoumustconfigureaclientmachinesoitcanconnecttoanOracledatabase.YoumustfirstinstallOracleDatabaseclientsoftware,whichincludesOracleNetsoftware.OnceyouhaveinstalledOracleNet,youcanuseOracleNetManagertoconfigureanetservicenameusingthelocalnamingmethodasfollows:
1.
OnWindows,startOracleNetManagerbyclicking:
Start->Programs->Oracle->ConfigurationandMigrationTools->NetManager
OnUNIXorLinux,invokeOracleNetManagerbyenteringnetmgratthecommandline.
TheWelcomepageappears.
2.
ExpandLocalandselectServiceNaming.Clickthe(plus)+onthelefthandsideofthepage.
3.
TheNetServiceNamewizardappears.Enteranetservicename.ClickNext.
4.
Selecttheprotocoltousetoconnecttoyourdatabase.YoucanacceptthedefaultTCP/IP(InternetProtocol).Thedatabaselistenermustbeconfiguredtousethesamenetworkprotocol.ClickNext.
5.
Enterthehostnameofthedatabasemachine.ClickNext.
6.
Enterthedatabaseservicename.Inaddition,selectaConnectionType,eitherSharedorDedicated.Ifyouareunsureorwouldliketousethedefaultdatabaseconnectiontype,selectDatabaseDefault.ClickNext.
7.
Thelastpageofthewizardenablesyoutotesttheconnectionusingtheinformationyouentered.
8.
YoucanchangethedefaultloginbyclickingChangeloginandenteringausernameandpassword.ClickTest.Thewizardtellsyouiftheconnectiontestsucceedornot.ClickCloseandthenclickFinish.
9.
ThenewserviceappearsundertheServiceNamingfolder.YoucanviewormodifytheconfigurationforthehighlightedserviceunderServiceIdentificationandAddressConfiguration.
ConfiguringLocalNamingUsingEnterpriseManager
BacktoTopicList
PerformthestepslistedbelowtoconfigureanetservicenameusingEnterpriseManagerasfollows:
1.ClicktheListenerlinkintheGeneralsectionoftheDatabaseHomepage.
2.TheListenerHomepageisdisplayed.Scrolldowntothebottomofthepage.ClickNetServicesAdministrationintheRelatedLinkssection.
3.TheNetServicesAdministrationpageisdisplayed.SelecttheappropriateConfigurationFileLocation.SelectLocalNamingfromtheAdministerpulldownmenu.ClickGo.
4.EnteryourhostusernameandpasswordandclickLogin.
5.TheLocalNamingpageisdisplayed.ClicktheCreatebuttonorselectanexistingNetServiceNameandclickCreateLike.
6.
TheCreateNetServiceNamegeneralpageisdisplayed.EnteranameintheNetServiceNamefield.IntheDatabaseInformationsection,configureservicesupportbyenteringadestinationserviceandselectingadatabaseconnectiontype.IfthedestinationserviceisanOracle8iorlaterreleasedatabase,thenselectUseServiceName,andenteraservicenameintheServiceNamefield.IfthedestinationserviceisanOraclerelease8.0database,thenselectUseSID,andenteranOracleSystemIdentifierforaninstanceintheSIDfield.Thenscrolldowntothebottomofthepage.IntheAddressessection,configureprotocolsupport.ClickAdd.
Note:IfyouareperformingthistaskonthesamemachinethatyouconfiguredlocalnamingusingNetManager,besuretoenteradifferentnameintheNetServiceNamefield.
7.TheAddAddresspageisdisplayed.FromtheProtocollist,selecttheprotocoluponwhichthelistenerisconfiguredtolisten.EnterthePortandHostfields.Thesemustmatchthelisteningaddress.ClickOK.
8.TheCreateNetServiceNamepageisdisplayedagain.ClickOK.AsuccessfulcreationmessageisdisplayedontheLocalNamingpage.
9.Selectthenetservicenameyoujustcreated.ClickTestConnection.
10.EnterthepasswordfordbsnmpandclickTest.
11.TheTestResultpageisdisplayed.ClickOK.
Moveyourmouseoverthisicontohideallscreenshots
支持多种存储引擎。 备份方面可能还是一个老大难的问题。不能单独备份几个表总是感觉不爽。灵活备份的问题不知道什么时候才能解决。 Mirror可以算是SQLServer的Dataguard了。但是能不能被大伙用起来就不知道了。 对于数据库来说,查询是数据库的灵魂,那么SQL查询效率究竟效率如何呢?下文将带对SQL查询的相关问题进行讨论,供您参考。 数据库物理框架没有变动undo和redo都放在数据库得transaction中,个人感觉是个败笔。如果说我们在设计数据库的时候考虑分多个数据库,可能能在一定程度上避免I/O效率问题。 记得在最开始使用2k的时候就要用到这个功能,可惜2k没有,现在有了作解决方案的朋友会很高兴吧。 原理很简单,对要求长时间计算某一时间点的报表生成和防用户操作错误很有帮助。但是比起Oracle10g的闪回技术还是细粒度不够。可惜! 理解了存储结构,再阅读下性能优化的章节基本上会对sqlserver有个清晰地认识 其实可以做一下类比,Oracle等数据库产品老早就支持了java编程,而且提供了java池参数作为用户配置接口。但是现在有哪些系统大批使用了java存储过程?!连Oracle自己的应用都不用为什么?!
页:
[1]