仓酷云

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1249|回复: 8
打印 上一主题 下一主题

[学习教程] MSSQL教程之chapter4:Configuring the Network Env...

[复制链接]
老尸 该用户已被删除
跳转到指定楼层
楼主
发表于 2015-1-16 22:33:01 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
支持AIX、FreeBSD、HP-UX、Linux、MacOS、NovellNetware、OpenBSD、OS/2Wrap、Solaris、Windows等多种操作系统Chapter4:ConfiguringtheNetworkEnvironmentPurpose
Thischapterhelpsyoutoconfigureandmanageyournetworkenvironmentsothatuserscanaccessyourdatabase.
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
支持多种存储引擎。
莫相离 该用户已被删除
沙发
发表于 2015-1-19 16:25:29 | 只看该作者
备份方面可能还是一个老大难的问题。不能单独备份几个表总是感觉不爽。灵活备份的问题不知道什么时候才能解决。
因胸联盟 该用户已被删除
板凳
发表于 2015-1-28 08:28:39 | 只看该作者
Mirror可以算是SQLServer的Dataguard了。但是能不能被大伙用起来就不知道了。
乐观 该用户已被删除
地板
发表于 2015-2-5 20:14:12 | 只看该作者
对于数据库来说,查询是数据库的灵魂,那么SQL查询效率究竟效率如何呢?下文将带对SQL查询的相关问题进行讨论,供您参考。
飘灵儿 该用户已被删除
5#
发表于 2015-2-13 11:49:06 | 只看该作者
数据库物理框架没有变动undo和redo都放在数据库得transaction中,个人感觉是个败笔。如果说我们在设计数据库的时候考虑分多个数据库,可能能在一定程度上避免I/O效率问题。
若天明 该用户已被删除
6#
发表于 2015-3-3 21:03:48 | 只看该作者
记得在最开始使用2k的时候就要用到这个功能,可惜2k没有,现在有了作解决方案的朋友会很高兴吧。
愤怒的大鸟 该用户已被删除
7#
发表于 2015-3-11 13:46:11 | 只看该作者
原理很简单,对要求长时间计算某一时间点的报表生成和防用户操作错误很有帮助。但是比起Oracle10g的闪回技术还是细粒度不够。可惜!
爱飞 该用户已被删除
8#
发表于 2015-3-18 21:23:10 | 只看该作者
理解了存储结构,再阅读下性能优化的章节基本上会对sqlserver有个清晰地认识
飘飘悠悠 该用户已被删除
9#
发表于 2015-3-26 18:45:21 | 只看该作者
其实可以做一下类比,Oracle等数据库产品老早就支持了java编程,而且提供了java池参数作为用户配置接口。但是现在有哪些系统大批使用了java存储过程?!连Oracle自己的应用都不用为什么?!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|仓酷云 鄂ICP备14007578号-2

GMT+8, 2024-5-21 09:59

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表