Fastoracle数据库学习

oracle数据库学习  时间:2021-04-05  阅读:()
ORACLEDATABASEHIGHAVAILABILITYSTRATEGY,ARCHITECTUREANDSOLUTIONSDOAGNuremberg-17/09/2013KirillLoifmanOracleCertifiedProfessionalDBAwww:dadbm.
comTwitter:@loifmkir14/03/2012Footer2ELEMENTSOFHIGHAVAILABILITYHighavailability–Eliminatingsinglepointsoffailurethroughredundancy-Examples:redundantHW,SAN/ASM,RACdatabasesDisasterrecovery–Recoveringfromfailure-Examples:Extendedclusters,standbydatabasesOracleMaximumAvailabilityArchitecture(MAA)–CombiningHAandDRelementsDowntime–Howmuchtimeyoucantolerateyoursystembeingunavailable–Includesunexpectedaswellasplanneddowntime-99.
9%availability~8hoursand45minutesofdowntimeperyear14/03/2012Footer3CAUSESOFDOWNTIME2waysofdealingwiththepotentialfordisaster:a)expectandplanforitb)donothing,andhopeforthebest14/03/2012Footer4UNDERSTANDINGSERVICELEVELAGREEMENTS(SLA)1.
UnderstandingServiceLevelAgreements-customer'sservicerequirements2.
UnderstandingelementsofSLAs:-SystemAvailabilitye.
g.
Thedatabaseserversmustbeavailable7daysaweek,from6amtomidnight-AcceptableDataLosse.
g.
Nomorethan15minutesofdataentrycanbelost-RecoveryTimee.
g.
Intheeventofadisaster,thesystemsshouldbebackupandrunningwithinonehour.
-Performancee.
g.
Transactionresponsetimeshouldnotexceed2seconds.
3.
MapyourSLAstoappropriateHighAvailabilityLevels/Tiers4.
DesignsystemsandprocessestomeetSLAexpectations5.
Donotforgetaboutcost!
14/03/2012Footer5AVAILABILITYTARGETVSCOSTHowmany9sdoyouneed-Sharpdecreaseindowntimeforeachadditional9intheavailabilitytarget.
Whatwillitcost-CostcomparisonofoptionshelpsinachievingrealisticexpectationswhendevelopingSLAsAvailabilityTargetDowntimePerYear(Approx.
)90%36days98%7.
3days99.
7%26hours99.
99%52minutes99.
999%5minutesItemSANSnapshotbackupNativeDBbackupLicensing28,000Training14,000Storage45,00010,000TotalCost87,00010,000RecoveryTimeabout5minutesabout45minutesBenefitsNear-instantrecoveryReducedcomprexity14/03/2012Footer6LEVELSOFHIGHAVAILABILITY-EXAMPLELevel0:Out-of-the-box(nospecifichigh-availabilityelements)Level1:Storage-levelprotection(databaseinstancewithprotectedstorage)Level2:CFCor/andStandby(ColdFailoverClusteror/andStandbyDBatthesamephysicallocation)Level3:Recoveryviaredundantcomponents(HotFailoverwithmulti-nodeRACatthesamephysicallocation)Level4:Activeandpassiverecovery(2siteconcept,MAA,RAC,StandbyDB,Storagemirroring)Note:HALevelcombinationspossible;*percentagesshownareforillustrativepurposesonly.
14/03/2012Footer7ORACLE'SSOLUTIONTODOWNTIMEOracleCluster-ware&ASMRAC,RAC1NodeOracleRestartFlashbackTechnologyRecoveryManager(RMAN)DataGuardStreamsandGoldenGateFast-StartFaultRecoveryDataRecoveryAdvisorOnlinereorganization&redefinitionPatchinginrollingfashionOnlinepatchingDynamicdatabasereconfigurationAutomaticDiagnosticRepository(ADR)HARD-OracleHardwareAssistedResilientData…14/03/2012Footer8ORACLEDATABASEHIGHAVAILABILITY:BESTPRACTICES14/03/2012Footer9STORAGE-LEVELPROTECTIONCONSIDERATION2filesystems(DATA&FRA)areenoughtosharestoragebetweenmultipleDBsWhichRAIDConfigurationforHAtouse-basedonbusinessrequirements,costs,etc.
a)ASMmirroring(bestchoiceforlowcoststorage;enablesextendedclusteringsolutions)b)HardwareRAID1(mirroring;bestperformance;bestchoiceformodernSAN)c)RAID5(parityprotection,moreeconomicalsolution,notforwriteintensiveworkloads)d)BothASMmirroringandHardwaremirroringWhatTypeofStripingWorksBesta)ASMonlystriping-manyLUNstomanageatthestoragelevel-LUNsshouldbeequalandlimitedinsizeb)RAID0andASMstriping(stripe-on-stripe)DiskI/OdesingbestpracticesUseexternalRAIDprotectionwhenpossibleUseLUNswiththesameperformancecharacteristicsUseLUNswiththesamecapacityMaximizethenumberofspindlesinyourASMdiskgroup-painforSANadmin14/03/2012Footer10ASMSTRIPINGONLY14/03/2012Footer11HARDWARERAID–STRIPEDLUNS14/03/2012Footer12SINGLE-NODE,NON-CLUSTEREDORACLEDATABASEHALevel1~95-98%AvailabilitySingle-instance,standalone(noncluster)databaseProtectedstorageviaSAN/ASMOracleRestarttoenhanceHAOtherHAfeatureslike:FlashbackDatabase,OnlineRedefinition,RecoveryManager,andOracleSecureBackup,etc.
2filesystems/ASMdatagroups14/03/2012Footer13ORACLEDATABASEWITHCLUSTERWARE(COLDFAILOVER)HALevel2~98-99%Availability2ormultiple-nodesclusterSingleDBinstanceincoldfailovermodeOracleGRIDInfrastructureOracleRACOneNodeasOraclerecommendedcoldfailoversolutionSharedstorageonASM,OCFS2,NFS,…OracleRAConeNodeprosandcons:+betterDBavailabilitythantheothers+Onlinemigration&patching+Singlevendorsolution+ReadytoscaletofullRAC+SupportsDataGuard+Host-basedmirroringwithASM-Worksonlyfrom11gR2-Licensedseparately(+25%onCPU)14/03/2012Footer14ORACLEDATABASECOLDFAILOVER-OTHEROPTIONSOracleGridInfrastructurewithOracleclusterwarescripts+NotlicensedseparatelyincaseyouclusteranOraclelicensedproduct(database)+WorksforOracleClusterwareandDatabasebefore11gR2+Host-basedmirroringwithASMpossible-NoonlinerelocationpossibleaswithRACOneNode-Oracledoesnotdirectlysupportactionscriptsascustomcodefragments.
RedHatFailoverCluster+Inexpensive+MakesenseusingLinuxRedHat+Simpletomanagebutamajorupgradecanbeapain-Storagenotsharedbutmountedtoactivenode-Host-basedmirroringinastretchedclusterrequiresdifferentLinuxLVMwithmoreoverheadHPServiceguard+Complexbutstable+AvailableonHP-UXandLinux+Host-basedmirroringwithHP-UXLVMpossible-Expansive14/03/2012Footer15ORACLERACDATABASEHALevel3~99,5%Availability2ormultiple-nodesclusterOracleGRIDInfrastructure+OracleRACDBOracleRACprosandcons:+Hotfailoverfunctionality+Scalabilityacrossdatabaseinstances+Abilityofincreasingcapacitywithoutdowntime+Optimalcomputerresourceusage+Rollingupgradesandpatching+DBconnectionload-balancing-MightaffectDMLintensiveperformance-Licensedseparately(~50%ontopofCPUlicense)-Strictrequirementsfortheclusterinterconnect14/03/2012Footer16ORACLERACDATABASEONEXTENDEDCLUSTERSHALevel4~99,7%AvailabilitySameconfigurationaslocalOracleRAC2DataCenterlocationsDistancesovertenkilometersrequiredarkfiberRedundantstorageThirdvotingdiskonaninexpensiveNFSProsandCons:+GreateravailabilitythanlocalOracleRACcluster+Disasterrecoverypossibilitiesforsomedisasters+Extremelyrapidrecoveryifonesitefails-Cannotprotectagainstalldatacorruptionsorcomprehensivedisasters14/03/2012Footer17EXTENDEDRACDISKMIRRORINGNeedcopyofdataateachlocationTwooptions:1)Host-basedmirroring+WorkswithOracleASM,LRHHA-LVM,HP-UXLVM,…+Nodowntimeincaseofstoragefailure-Extraoverheadonserverresources-Morecomprexityforclustermaintenance2)Remotearray-basedmirroring+WorkswithHPCLX,EMCSRDF,HITACHIHAM,…+Doneonhardwarelevel+Nooverheadonserver-Outageincaseofprimarystoragefailureforsome(HPCLX)-StorageHAsoftwarelicenserequiredDiskmirroringisvendorspecificRedHat:Whenusingastretchedclustersolution,notallstorageconfigurationsaresupportedbyRedHat,i.
e.
clvmandcmirrorarenotsupported,butHA-LVM(withoutclvmd)maybeused14/03/2012Footer18ACHIEVINGQUORUMWITHEXTENDEDRACEveryClusternodemustaccessmorethanhalfofthevotingdisksatanytimeorthatnodewillbeevictedfromthecluster*Thesitethathousesthemajorityofthevotingdisksisapotentialsinglepointoffailurefortheentirecluster.
14/03/2012Footer19ORACLERACANDDATAGUARDCOMPLEMENTARITYRACaddressessystemfailuresbyprovidingrapidandautomaticrecoveryfromfailures,suchasnodefailuresandinstancecrashes.
DataGuardaddressessitefailuresanddataprotectionthroughtransactionalconsistentprimaryandstandbydatabasesthatdonotsharedisks,enablingrecoveryfromsitedisastersanddatacorruption.
14/03/2012Footer20ORACLEMAXIMUMAVAILABILITYARCHITECTURE(MAA)MAAisasetofbestpracticeblueprintsfortheintegrateduseofOracleHAtechnologiesMAAprovidesguidanceonoptimalHAarchitecturesdesignedtoachievethedifferentservicelevelobjectivesMAAresources:oracle.
com/goto/maa14/03/2012Footer21ORACLEMAAEXAMPLE–RAC&DATAGUARDHALevel4~99.
9%availabilityMAAprovidesthemostcomprehensivearchitectureforreducingdowntimeforscheduledandunscheduledoutagesTwoidenticalsitesPrimarysitecontainstheRACdatabaseSecondarysitecontainsPhysicalStandbydatabaseorbothPhysicalandLogicaloneonRACActiveDataGuardcanbeuseforonlinereporting(extralicensed)DataGuardswitchoverandfailoverfunctionsallowtherolestobetradedbetweensites14/03/2012Footer22ACTIVE-ACTIVEHAANDZERO-DOWNTIMEUPGRADES:GOLDENGATE14/03/2012Footer23DATABASEHASOLUTIONS–ANOTHEREXAMPLEStretchedRHCSwith2NodesSingleDBinstance(s)incoldfailovermode1OraclebinarysetperDBinstanceStoragemirroringwithDRBDHALevel3-99.
7%14/03/2012Footer2414/03/2012Footer24ORACLEEXADATAVERSION3ExadataX3DatabaseforHighAvailabilitySamearchitectureandpriceasX24xlargerflashmemory->22TBPCIflashmemoryperrack20xmorewriteperformance->ExadataSmartFlashWriteCaching33%moredatathroughput->100GB/secrunningSQL33%fasterDBCPUs->8-CoreXeonSandyBridgeE5-269075%morememory->2-4TBDRAMFull10GbEthernettoDataCentre10-30%lowerpower->Upto3KilowattReductionperRackNewlowercost1/8racksolutionNewOraclePlatinumServicesonX3AppliedtoOracleEngineeredSystemsDeliveredatnoadditionalcostsforPremierSupportcustomers24/7oraclemonitoringandremotediagnostics5MinuteFaultNotification15MinuteRestorationorEscalationtoDevelopment30MinuteJointDebuggingwithDevelopmentQuarterlysystemupdatesExadatalimitations-Cannotinstallothersoftware-Cannotspreadclusternodes-Cannotmirrorstorage-…14/03/2012Footer25ORACLE12CHIGHAVAILABILITYFEATURESOracleMultitenantarchitectureApplicationContinuity-improveapplicationrecovery(formerTAF)GlobalDataServices-supportglobaldatabaseservicesActiveDataGuardFarSync-extendzero-data-lossprotectionFlexASM-enableinter-nodestoragefailoverandreduceASM-relatedresourceconsumptionSYSDG,SYSBACKUP–newprivilegestoavoidgrantingSYSDBAActiveDuplicateCloning–rmanfeatureMoreonlineoperations:datafilemove,partitionmoveDatabaseRollingUpgradesusingActiveDataGuardOEM12cCloudControl:-OracleSiteGuard–extendsautomationofdisasterrecoverytotherestoftheOraclestack-HighAvailabilityConsole-integratesmonitoringofvariousHAareas-MAAConfigurationAdvisor-AutomationofmigrationadatabasetoASMandRAC….
THANKYOU!
KirillLoifmanwww.
dadbm.
com

提速啦香港独立物理服务器E3 16G 20M 5IP 299元

提速啦(www.tisula.com)是赣州王成璟网络科技有限公司旗下云服务器品牌,目前拥有在籍员工40人左右,社保在籍员工30人+,是正规的国内拥有IDC ICP ISP CDN 云牌照资质商家,2018-2021年连续4年获得CTG机房顶级金牌代理商荣誉 2021年赣州市于都县创业大赛三等奖,2020年于都电子商务示范企业,2021年于都县电子商务融合推广大使。资源优势介绍:Ceranetwo...

易探云美国云服务器评测,主机低至33元/月,336元/年

美国服务器哪家平台好?美国服务器无需备案,即开即用,上线快。美国服务器多数带防御,且有时候项目运营的时候,防御能力是用户考虑的重点,特别是网站容易受到攻击的行业。现在有那么多美国一年服务器,哪家的美国云服务器好呢?美国服务器用哪家好?这里推荐易探云,有美国BGP、美国CN2、美国高防、美国GIA等云服务器,线路优化的不错。易探云刚好就是做香港及美国云服务器的主要商家之一,我们来看一下易探云美国云服...

趣米云(18元/月)香港三网CN2云服器低至;1核1G/30G系统盘+20G数据盘/10M带宽

趣米云怎么样?趣米云是创建于2021年的国人IDC商家,虽然刚刚成立,但站长早期为3家IDC提供技术服务,已从业2年之久,目前主要从事出售香港vps、香港独立服务器、香港站群服务器等,目前在售VPS线路有三网CN2、CN2 GIA,该公司旗下产品均采用KVM虚拟化架构。由于内存资源大部分已售,而IP大量闲置,因此我们本月新增1c1g优惠套餐。点击进入:趣米云官方网站地址香港三网CN2云服务器机型活...

oracle数据库学习为你推荐
地图应用什么地图导航最好用最准确巨星prince去世Whitney Houston因什么去世的?18comic.fun有什么好玩的网站比肩工场比肩成局 什么意思原代码什么是原代码冯媛甑尸城女主角叫什么名字www.haole012.com012qq.com真的假的www.5ff.comhttp://www.940777.com/网站,是不是真的网投六合lcoc.topoffsettop和scrolltop的区别baqizi.cc徐悲鸿到其中一张很美的女人体画
服务器租赁 双线主机租用 budgetvm 国外永久服务器 wdcp 好看的留言 万网优惠券 云图标 工信部icp备案号 免费phpmysql空间 hktv 根服务器 国内域名 杭州电信宽带优惠 网页加速 后门 nnt symantec pptpvpn 卡巴斯基免费版 更多