Checkmssql2005

mssql2005  时间:2021-05-05  阅读:()
DELLPOWERSOLUTIONSReprintedfromDellPowerSolutions,February2006.
Copyright2006DellInc.
Allrightsreserved.
February200626DATABASES:SQLSERVER2005Enterprisedatacentersthathostbusiness-criticalappli-cationsanddatabasescanbeatriskfromfailuresanddisasters.
Availabilityandrecoverabilitybecomecrucialforbusinessoperations.
Currentdatabaseavailabilitytechnolo-giesvaryintheircomplexity,cost,levelofautomation,incurreddowntime,andsupporteddistance.
Amajorchal-lengeforanenterpriseisdeterminingthemostcost-effectiveandleastcomplexsolutiontohelpensuredatabaseavail-abilityandmeetbusinessneeds.
MicrosoftSQLServer2005introducesseveralhigh-availabilityfeaturesandfeatureenhancementsfortheSQLServerdatabaseplatform.
FailoverclusteringFailoverclusteringwithMicrosoftClusterService(MSCS)isapopularwaytoachievehighavailabilityforSQLServer.
WithMSCS,multipleserversornodesarelinkedtofunctionasasinglesystemandprovideanautomaticfailoversolution.
Enterprisesareconnectedtovirtualserv-ersandnotphysicalservers;eachactivephysicalservermayhostoneormorevirtualservers.
Ifoneofthephysicalserversfailsbecauseofeitherahardwareorsoftwareproblem,MSCSdetectsthefailureandmovesresourcesthatresideonthefailingserver—includingthevirtualserver(s)—tooneormoreremainingphysicalservers.
EndusersconnectedtothefailedserverobserveonlyamomentarydelayinaccessingitsresourceswhileMSCSrestartsSQLServerservicesontheremainingserver(s)andremapsthevirtualserverconnections.
Installingafailoverclusterrequiresthefollowing:MicrosoftWindows2000Server(AdvancedServerorDatacenterServer)orMicrosoftWindowsServer2003(EnterpriseEdition,DatacenterEdition,Enterprisex64Edition,orDatacenterx64Edition)MicrosoftSQLServer2005(StandardEditionorEnterpriseEdition)SharedstoragebasedonSCSI,FibreChannel,orSerialAttachedSCSIAllcomponents(server,hostbusadapter,andstor-agesystem)andtheclustersolutionlistedintheMicrosoftWindowsServerCatalogFigure1showstwotypicaltwo-nodefailoverclusterconfigurationsforSQLServer2005,oneinactive/passiveBYANANDASANKARAN,DATNGUYEN,ANDNAMNGUYENExploringHigh-AvailabilityFeaturesinMicrosoftSQLServer2005sMicrosoftSQLServer2005offersfailoverclustering,databasemirroring,logshipping,replication,anddatabasesnapshotfeaturesthatcanhelpsafeguardanenterprise'scriticaldataandoperations.
Thisarticlediscussesthesefeaturesandtheirassociatedtrade-offs.
RelatedCategories:ClusteringDatabaseHighavailability(HA)MicrosoftSQLServer2005Visitwww.
dell.
com/powersolutionsforthecompletecategoryindex.
DATABASES:SQLSERVER2005www.
dell.
com/powersolutionsReprintedfromDellPowerSolutions,February2006.
Copyright2006DellInc.
Allrightsreserved.
DELLPOWERSOLUTIONS27modeandoneinactive/activemode.
Inafailoverclusterenvi-ronment,SQLServer2005offersseveraladditionalfeaturesandimprovementscomparedtoSQLServer2000:Supportformultinodeclustering:StandardEditionallowsuptotwo-nodeclusteringandEnterpriseEditionuptoeight-nodeclustering.
SupportforSQLservices:AnalysisServicesfeatureoffersmulti-instancesupportandfull-textindexing.
Easierinstallation:SystemConfigurationCheckautomati-callydetectsandinstallsSQLServerasvirtualserversacrossthenodesinthecluster.
DatabasemirroringDatabasemirroringisdesignedtoaugmenttheavailabilityofSQLServer2005.
Withthisfeature,transactionstoadatabasehostedonaSQLServerinstance,referredtoastheprincipal,canbecon-tinuouslyduplicatedinrealtimeontoacopyhostedonanotherinstance,referredtoasthemirror.
Theprincipalandmirrorserversareconsideredpartnersinadatabasemirroringsession.
Transac-tions(suchasinsertions,updates,anddeletions)ontheprincipaldatabaseareduplicatedbycontinuouslysendingtransactionlogrecordstothemirroroverthenetwork(seeFigure2).
Themirrorreceivesthelogrecordscontinuouslyandrestoresthem.
Iftheprincipalormirrorserverincursafailure,themirror-ingsessionisdisconnected.
Beforestartingthemirroringsession,administratorsmustinitializethemirrordatabasefromaprincipaldatabasefull-restorewiththeNORECOVERYoption.
Besidestheprimaryandmirror,amirroringsessionmayincludeanoptionalthirdserver,referredtoasthewitness.
Thewitnessserverenablesautomaticfailoverafteraprincipalserverfailurebypromotingthemirrortofunctionastheprincipal.
Usingawitnessserverhelpsachieveaquorumandpreventsaccidentalpromotionofthemirrordatabasethatresultsfromcommunicationfailuresbetweentheprincipalandmirror.
Databasemirroringrequiresthefollowingconfiguration:Theprimaryandmirrordatabasesmustbehostedonsepa-rateSQLServer2005instances.
TheprincipaldatabasemustbesettotheFullRecoverymodel,nottheBulk-LoggedRecoveryorSimpleRecoverymodel.
Databasemirroringcanbeconfiguredinanyofthefollowingthreeoperatingmodesbasedontransactionsafetylevelandthepresenceofawitnessserver:High-availabilitymode:Inthismode,logrecordsaretrans-ferredsynchronouslyfromtheprincipaldatabasetothemirror.
Theprincipalwaitsforanacknowledgmentfromthemirrorbefore"hardening"logrecordstoitsdisk.
Inadditiontoprovidingsynchronoustransfer,thismodeusesawitnessservertoenableautomaticfailover.
High-protectionmode:Thismodeissimilartothehigh-availabilitymodeexceptthatitdoesnotsupportawitnessserver,andthusautomaticfailoverisnotpossible.
However,failovercanbeperformedmanuallytopromotethemirrordatabase.
Becausethelogrecordsaretransferredsynchro-nouslyinthismode,themirrordatabaseissynchronousandconsistentwiththeprincipal.
High-performancemode:Inthismode,logrecordsaretransferredasynchronouslyfromtheprincipaltothemirrordatabase.
Theprincipaldoesnotwaitforanacknowledg-mentfromthemirrorbefore"hardening"itslogstothedisk,Figure1.
FailoverclusterconfigurationsforSQLServer2005SQLServer2005db1db2SQLServer2005HeartbeatLANActivePassiveSQLServer2005db1SQLServer2005HeartbeatLANActiveActivedb2Figure2.
Databasemirroringfordatabasedb1inhigh-availabilitymodeLANPrincipalMirrordb1db2db3SQLServer2005db5db6SQLServer2005SQLServer2005db1TransactionlogrecordsLogrecoveryWitnessDATABASES:SQLSERVER2005DELLPOWERSOLUTIONSReprintedfromDellPowerSolutions,February2006.
Copyright2006DellInc.
Allrightsreserved.
February200628andthemirrorisnotguaranteedtobesynchronouswiththeprincipalatanypoint.
Thismodedoesnotsupportawit-nessserver,andthusneitherautomaticnormanualfailoverispossible.
However,aforcedfailovercanbeperformedtorecoverthemirror,withsomedatalossoccurringbecausemirroringisasynchronous.
Akeyadvantageofdatabasemirroringisthatitprovidesquickfailoverandhighavailabilitywithminimalhardwarecostandcomplexity.
Formerly,suchSQLServermirroringsolutionswereoftenfeasibleonlywithexpensive,proprietaryhardware-basedmechanisms.
Withacceptablelatenciesandbandwidth,mirroringcanbedeployedoveralong-distancewideareanetwork(WAN)aspartofadisasterrecoverysolution.
Duringthemirroringsession,themirrordata-baseisnotavailableforclientaccessbecauseitisinarecoverystate,butadatabasesnapshotcanbecreatedonthemirrorforlimitedreporting.
Onlyonemirrordatabasecanbeestablishedforaprinci-paldatabase.
However,theparticipatingSQLServerinstancescanassumediffer-entrolesfordifferentmirror-ingsessions.
Forexample,aSQLServerinstancecanserveasaprincipalforonedatabase,asamirrorforanotherdatabase,andasawitnessforyetanothermirroringsession.
Thenotionofavirtualserver,asisusedinfailoverclustering,doesnotexist.
However,MicrosoftADO.
NETprovidesanapplicationprogramminginterface(API)forclientstoautomaticallyreconnecttothemirrorserverduringfailures.
LogshippingLogshippingissimilartodatabasemirroring.
Itallowsadatabasehostedonaprimaryservertoautomaticallysendtransactionlogstoasecondarydatabaseforduplication.
Thelogrecordsarenottransferredcontinuouslyasindatabasemirroring,butratherinintervals.
Logshippingcomprisesbackingupthetransactionlogsontheprimaryserverinstance,copyingthebacked-uplogstothesecondaryserverinstance,andrestoringthecopiedlogsonthesecondaryserverinstanceperiodically.
TheprimarydatabaseshouldbeconfiguredfortheFullRecoveryorBulk-LoggedRecoverymodel.
ThesecondarydatabaseshouldbeinitializedbyafullrecoveryoftheprimarydatabasewiththeNORECOVERYorSTANDBYoption.
Logshippingcanoptionallyincludeathirdservernamed"mon-itor"torecordthehistoryoflog-shippingoperationsandtoraisealertsduringfailures.
Log-shippingoperationsarecarriedoutbyfourMicrosoftSQLServeragentjobs:backupjob,copyjob,restorejob,andalertjob.
Duringlogshipping,thesecondarydatabaseisnotcompletelysynchronizedwiththeprimarydatabase.
Also,logshippingdoesnotprovideautomaticfailovertothesecondaryserverduringafailure.
Logshippingsupportsmultiplesecondaryserversforaprimaryserver.
Inaddition,aSQLServerinstancecanfunctionasasecondaryormonitorserverformultipleprimaryservers.
Thesecondaryservercanbeuseddirectlyforlimitedqueryprocessing.
Logshippingcanbeusedinscenarioswheremultipledestina-tionserversareneededandwheredelaysinrestoringlogsontheduplicateareacceptable.
ReplicationReplicationisasetoftechnologiesfordistributingdataanddata-baseobjectsacrossMicrosoftSQLServerdatabasesoveranet-work.
Replicationinvolvesapublisherdatabaseinstancethatmakesdataavailableforcopying,adistributorinstanceforcopyingdataandmaintainingmetadata,andsubscriberinstancesthatcanreceivereplicateddata.
SQLServer2005providesthreetypesofreplicationtech-nologiessuitablefordifferentneeds:transactional,merge,andsnapshot.
SQLServer2005addsenhancementstotheserepli-cationmethodstohelpimprovescalability,performance,andmonitoringcapabilities.
Someoftheimprovementsincludeadditionalreplicationdatatypes,supportforpartitionedtablesandfull-textindex,directDataDefinitionLanguage(DDL)replicationforschemachanges,andreplicationfromOracledatabases.
Intransactionalreplication,SQLServer2005addsanimpor-tantfeaturecalledpeer-to-peerreplication,whichenhancestheexistingbidirectionalreplicationoption.
Advantagesofreplicateddatabasesincludedataloadbalancinganddisasterrecovery.
Withthepeer-to-peerreplicationfeature,administratorscansetupmultiplepeer-to-peertransactionalreplicationpairsamongdifferentdatacenters.
Thatway,ifonedatacenterisdown,itcanbefailedovertoitspeercenter(s).
Althoughthereisnolimittothenumberofnodesinapeer-to-peertopology,man-ageabilityofthepeer-to-peerrelationshipsbetweennodescanbecomeaconstraint.
SQLServer2005providesthreetypesofreplicationtechnologiessuitablefordifferentneeds:transactional,merge,andsnapshot.
SQLServer2005addsenhancementstothesereplicationmethodstohelpimprovescalability,performance,andmonitoringcapabilities.
DATABASES:SQLSERVER2005www.
dell.
com/powersolutionsReprintedfromDellPowerSolutions,February2006.
Copyright2006DellInc.
Allrightsreserved.
DELLPOWERSOLUTIONS29DatabasesnapshotsAdministrativeandapplicationerrorscanbeamajorcauseofdatabasedowntime.
SQLServer2005introducesafeaturecalledData-baseSnapshotstohelpprotectadatabasefromerroneoususeroperationsandtoaugmentdatabasebackupandrestoreoperations.
TheDatabaseSnapshotsfeatureallowsrecoveryfromusererrorsbyallowingthedatabasestatetoreverttoapointintimebeforetheerror(s)occurred.
Itworksinstand-alone,failoverclus-tering,anddatabasemirroringenvironments.
However,itdoesnotworkwithalog-shippingsecondarydatabase.
Adatabasesnapshotisasnapshotofanentiredatabaseatagiventime.
Thesnapshotiscreatedinstantlyandcanbeusedforread-onlytaskssuchasreporting.
Asnapshotmusthavebeencre-atedbeforetheerroroccurredforanadministratortorestorethedatabasetoaconsistentstate.
Snapshotcreationdoesnotimposerestrictionsonthebasedatabaseoperations.
Administratorscancreatemultiplesnapshotsfromadatabaseaswell.
TheSQLServer2005DatabaseSnapshotfeatureemploysacopy-on-writemechanism.
Onlychangestothebasedatabase—nottheentirebasedatabase—arerecordedafterthesnapshothasbeentaken.
Thesnapshotisapointerimagetothebasedatabase.
Itsharestheunchangedpagesofthebasedatabaseandrequiresonlyextrastorageforchangedpages.
TheDatabaseSnapshotmechanismisillustratedinFigure3.
TheDatabaseSnapshotfeatureisdesignedtobeextremelyspace-efficient.
Anymodificationsuchasawrite(step1inFigure3)tothebasedatabaseafterasnapshotistakenwillberecorded(step2inFigure3)aspartofthetargetsnapshot.
IfI/Oreadrequests(step3inFigure3)aretoblocksthathavenotchangedsincethesnapshotwascreated,thentherequestwillreadfromthebasedatabase.
IfI/Orequestsaretoblocksthathavechangedsincesnapshotcreation,thentherequestwillbereadfromthesnapshot.
Figure4summarizesthehigh-availabilityfeaturesandoptionsavailableinMicrosoftSQLServer2005.
Ahigh-availabilitydatabaseplatformMicrosoftSQLServer2005offersseveralfeaturesthataredesignedtohelpaugmentavailabilityofdata.
DellPowerEdgeservers,DellPowerVaultstorage,andDell/EMCstoragearealsodesignedwithabroadarrayofredundanthardwareandsoftwarefeaturestomaximizehardwareavailability.
ThefeaturesinDellhardwareandSQLServer2005provideanintegrated,industry-standardapproachtohighdatabaseavailability.
Acombinationofthesecomponentscangreatlybenefitenterpriseswithhigh-availabilitydatabaserequirements.
AnandaSankaranisasystemsengineerintheHigh-AvailabilityClusterDevelopmentGroupatDell.
Hiscurrentinterestsrelatedtohigh-availabilityclusteringincludestoragesystems,applicationperformance,businessconti-nuity,andclustermanagement.
Anandahasamaster'sdegreeinComputerSciencefromTexasA&MUniversity.
DatNguyenisasystemsengineerintheHigh-AvailabilityClusterDevelop-mentGroupatDell.
Hisresponsibilitiesincludedevelopingstorageareanetwork(SAN)–basedhigh-availabilityclusteringproducts.
Hiscurrentinterestsareinenterprisestorageproductsandtechnologies.
DathasaB.
S.
inElectricalEngineeringfromtheUniversityofHouston.
NamNguyenisaseniorconsultantintheHigh-AvailabilityClusterDevelop-mentGroupatDell,andtheleadengineerforDellFibreChannelPowerEdgeClusterproducts.
Hiscurrentinterestsincludebusinesscontinuity,cluster-ing,andstoragetechnologies.
HehasaB.
S.
andanM.
S.
inElectricalEngineeringfromTheUniversityofTexasatAustin.
FORMOREINFORMATIONMicrosoftSQLServer2005:www.
dell.
com/sqlwww.
microsoft.
com/sqlFigure3.
DatabaseSnapshotmechanisminSQLServer2005123456789101112123456789101112123SnapshotsPageBasedatabaseFigure4.
High-availabilityoptionsandfeaturesinSQLServer2005Solution-specicAutomaticcerticationGranularityDatalossfailoverDowntimerequirementsFailoverclusteringSystemandNoYesApproximatelyClustersolutionlisteddatabase20secondsplusinMicrosoftWindowsdatabaserecoverytimeServerCatalogDatabasemirroringDatabaseDependsonYesLessthan3secondsNooperatingmodePeer-to-peerreplicationTableorviewSomeOptionalVariable(littletonone)NoLogshippingDatabaseSomeNoVariableNoDatabasesnapshotsTableorviewSomeNoVariableNo

百纵科技:美国独立服务器租用/高配置;E52670/32G内存/512G SSD/4IP/50M带宽,999元/月

百纵科技怎么样?百纵科技国人商家,ISP ICP 电信增值许可证的正规公司,近期上线美国C3机房洛杉矶独立服务器,大带宽/高配置多ip站群服务器。百纵科技拥有专业技术售后团队,机器支持自动化,自助安装系统 重启,开机交付时间 30分钟内交付!美国洛杉矶高防服务器配置特点: 硬件配置高 线路稳定 洛杉矶C3机房等级T4 平价销售,支持免费测试,美国独服适合做站,满意付款。点击进入:百纵科技官方网站地...

Megalayer美国服务器CN2优化线路30M带宽3独立IP限时月299元

Megalayer 商家算是比较新晋的国内主机商,主要方向是美国、香港、菲律宾等机房的独立服务器为主,以及站群服务器和显卡服务器。同时也有新增价格并不是特别优惠的VPS云服务器。上午的时候有网友问问有没有CN2线路的美国独立服务器的,这里我推荐他选择Megalayer看看,目前也是有活动截止到月底的。Megalayer 商家创办2年左右时间,如果我们初次使用建议月付体验。目前在进行且可能截止到6月...

Sharktech$129/月,1Gbps不限流量,E5-2678v3(24核48线程)

Sharktech最近洛杉矶和丹佛低价配置大部分都无货了,只有荷兰机房还有少量库存,商家又提供了两款洛杉矶特价独立服务器,价格不错,CPU/内存/硬盘都是高配,1-10Gbps带宽不限流量最低129美元/月起。鲨鱼机房(Sharktech)我们也叫它SK机房,是一家成立于2003年的老牌国外主机商,提供的产品包括独立服务器租用、VPS主机等,自营机房在美国洛杉矶、丹佛、芝加哥和荷兰阿姆斯特丹等,主...

mssql2005为你推荐
css加载失败网易邮箱登陆显示CSS加载失败,怎么办?急,在线等。aspweb服务器web服务器怎样才能支持.aspcentos6.5linux centos 6.5 怎么安装软件大飞资讯手机出现热点资讯怎么关闭滴滴估值500亿滴滴流水每天280元一个月下来能赚 多少35邮箱邮箱地址怎么写123456hd手机卡上出现符号hd怎么取消温州都市报招聘在温州哪里好找工作?联系我们代码如何查询统一社会信用代码zencart模板求zen-cart 模板结构
广西虚拟主机 yaokan永久域名经常更换 VPS之家 汉邦高科域名申请 中国域名交易中心 webhostingpad 云主机51web 免费网络电视 申请空间 合租空间 北京双线 idc是什么 免费全能主机 美国堪萨斯 安徽双线服务器 厦门电信 湖南idc photobucket atom处理器 lamp怎么读 更多